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) ...
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/
commons-compress 1.17 was used. Currently this is part of a huge application, but I might try to synthesize the problem.
Sorry my bad. I have missed something. Please ignore this.