You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/07/26 09:08:02 UTC

[Bug 62571] New: InputStream of class class org.apache.commons.compress.archivers.zip.ZipFile$1 is not implementing InputStreamStatistics

https://bz.apache.org/bugzilla/show_bug.cgi?id=62571

            Bug ID: 62571
           Summary: InputStream of class class
                    org.apache.commons.compress.archivers.zip.ZipFile$1 is
                    not implementing InputStreamStatistics
           Product: POI
           Version: 4.0-dev
          Hardware: Macintosh
                OS: Mac OS X 10.1
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: prampec+apache@gmail.com
  Target Milestone: ---

It seams, we have runtime issues after commons-compress was introduced (because
of Java10 reasons).
Might be in connection with issue
[https://bz.apache.org/bugzilla/show_bug.cgi?id=62187],
and fix [https://svn.apache.org/viewvc?view=revision&revision=1832789]

Running with with Java 10.0.2

Stack trace:
java.lang.IllegalArgumentException: InputStream of class class
org.apache.commons.compress.archivers.zip.ZipFile$1 is not implementing
InputStreamStatistics.
     [java]     at
org.apache.poi.openxml4j.util.ZipArchiveThresholdInputStream.<init>(ZipArchiveThresholdInputStream.java:63)
     [java]     at
org.apache.poi.openxml4j.util.ZipSecureFile.getInputStream(ZipSecureFile.java:147)
     [java]     at
org.apache.poi.openxml4j.util.ZipSecureFile.getInputStream(ZipSecureFile.java:34)
     [java]     at
org.apache.poi.openxml4j.util.ZipFileZipEntrySource.getInputStream(ZipFileZipEntrySource.java:66)
     [java]     at
org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:255)
     [java]     at
org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:725)
     [java]     at
org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:238)
...

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62571] InputStream of class class org.apache.commons.compress.archivers.zip.ZipFile$1 is not implementing InputStreamStatistics

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62571

--- Comment #2 from prampec+apache@gmail.com ---
commons-compress 1.17 was used.
Currently this is part of a huge application, but I might try to synthesize the
problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62571] InputStream of class class org.apache.commons.compress.archivers.zip.ZipFile$1 is not implementing InputStreamStatistics

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62571

prampec+apache@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEEDINFO                    |RESOLVED

--- Comment #3 from prampec+apache@gmail.com ---
Sorry my bad. I have missed something. Please ignore this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 62571] InputStream of class class org.apache.commons.compress.archivers.zip.ZipFile$1 is not implementing InputStreamStatistics

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62571

Andreas Beeker <ki...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
My first idea was, there's an older commons-compress in the classpath.

Please help us reproduce this issue, as we also do build-checks with Java 10
[1]
Is this invocation from a small standalone programm?
Please provide it + the dependencies.

[1] https://builds.apache.org/view/P/view/POI/job/POI-DSL-1.10/

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org