Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32926

Upgrade commons-io

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2021.50, 2023.11, 2023.14
    • Fix Version/s: 2021.x, 2023.x
    • Component/s: Core
    • Release Notes Summary:
      commons-compress was downgraded to 1.21
    • Backlog priority:
      850
    • Sprint:
      nxplatform #124
    • Story Points:
      2

      Description

      In HF50, the commons-compress library was updated to version 1.26.0.  This version has a dependency on commons-io-2.15.1.  We currently deploy commons-io-2.8.0.  Request to update commons-io to version 2.15.1 or greater.  For reference, the following error was seen

      java.lang.NoClassDefFoundError: org/apache/commons/io/build/AbstractStreamBuilder
       at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:858) ~[commons-compress-1.26.0.jar:1.26.0]
       at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:930) ~[commons-compress-1.26.0.jar:1.26.0]
       at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:818) ~[commons-compress-1.26.0.jar:1.26.0]
       at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:794) ~[commons-compress-1.26.0.jar:1.26.0]
       at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:714) ~[commons-compress-1.26.0.jar:1.26.0]
       at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:701) ~[commons-compress-1.26.0.jar:1.26.0]
       at org.apache.poi.openxml4j.util.ZipSecureFile.<init>(ZipSecureFile.java:122) ~[poi-ooxml-4.1.2.jar:4.1.2]
       at org.apache.poi.xssf.streaming.SXSSFWorkbook.write(SXSSFWorkbook.java:957) ~[poi-ooxml-4.1.2.jar:4.1.2]
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: