See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/6/display/redirect?page=changes>
Changes: [PJ Fanning] bin file download details [PJ Fanning] add site doc [Dominik Stadler] Add Note about removal of binary packages [PJ Fanning] prep v5.2.4 [PJ Fanning] update changes [Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62548 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62564 [PJ Fanning] [bug-67396] add tests for standalone flag [Tim Allison] Bug47950 -- make stream/directory name lookup in OLE2 case insensitive [Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62530 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62491 [Dominik Stadler] Test without scratchpad: Do not fail reading data for integrationtests It seems the XLS now has missing cells which cause an NPE while checking for scratchpad-handlers [Dominik Stadler] Set one file to IGNORE as IBM JDK throws a different Exception [Dominik Stadler] Set one test-file to "IGNORED" in poi-integration It was processing fine on some JVM versions, but failed with an error on others. Seems there is a difference in XmlParsers across versions of the JVM. [Dominik Stadler] Adjust max recursion nesting Otherwise this still triggered StackOverflow on some version of JDK [Dominik Stadler] Bug 66425: Avoid exceptions found via poi-fuzz We try to avoid throwing NullPointerException, ClassCastExceptions and StackOverflowException, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61562 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62068 [PJ Fanning] update changes [PJ Fanning] update changes [PJ Fanning] use files nio APIs in more places [PJ Fanning] [bug-67442] add test [Dominik Stadler] Bug 66425: Avoid NullPointerExceptions and ClassCastExceptions found via poi-fuzz We try to avoid throwing NullPointerException and ClassCastExceptions, but it was possible to trigger them Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62414 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62442 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62450 ------------------------------------------ [...truncated 7.38 KB...] U poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/TestSlideIdListing.java U poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/TestSlideShowDumper.java U poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/TestSlideShowRecordDumper.java U poi-scratchpad/src/test/java/org/apache/poi/hslf/dev/TestUserEditAndPersistListing.java U poi-scratchpad/src/test/java/org/apache/poi/hslf/TestReWrite.java U poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java U poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestTextRunReWrite.java U poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestCurrentUserAtom.java U poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExOleObjStg.java U poi-scratchpad/src/test/java/org/apache/poi/hsmf/parsers/TestPOIFSChunkParser.java U poi-scratchpad/src/test/java/org/apache/poi/hwpf/HWPFDocFixture.java U poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java U poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java U poi-scratchpad/src/main/java/org/apache/poi/hpbf/dev/HPBFDumper.java U poi-scratchpad/src/main/java/org/apache/poi/hpbf/dev/PLCDumper.java U poi-scratchpad/src/main/java/org/apache/poi/hpbf/model/HPBFPart.java U poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/PPTXMLDump.java U poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowDumper.java U poi-scratchpad/src/main/java/org/apache/poi/hslf/record/CurrentUserAtom.java U poi-scratchpad/src/main/java/org/apache/poi/hslf/record/DocumentEncryptionAtom.java U poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java U poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java U poi-scratchpad/src/main/java/org/apache/poi/hslf/extractor/ImageExtractor.java U poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocument.java U poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java U poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java U poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/AbstractWordUtils.java U poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/ObjectPoolImpl.java U poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/HWPFLister.java U poi-scratchpad/src/main/java/org/apache/poi/hmef/dev/HMEFDumper.java U poi-scratchpad/src/main/java/org/apache/poi/hmef/extractor/HMEFContentsExtractor.java U poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java AU test-data/slideshow/clusterfuzz-testcase-minimized-POIFuzzer-6411649193738240.ppt AU test-data/slideshow/clusterfuzz-testcase-minimized-POIXSLFFuzzer-5471515212382208.pptx AU test-data/slideshow/clusterfuzz-testcase-minimized-POIHSLFFuzzer-5231088823566336.ppt AU test-data/slideshow/clusterfuzz-testcase-minimized-POIHSLFFuzzer-5962760801091584.ppt AU test-data/slideshow/clusterfuzz-testcase-minimized-POIFuzzer-5681320547975168.ppt AU test-data/slideshow/clusterfuzz-testcase-minimized-POIHSLFFuzzer-6360479850954752.ppt U test-data/spreadsheet/stress.xls AU test-data/spreadsheet/clusterfuzz-testcase-minimized-POIHSSFFuzzer-5786329142919168.xls AU test-data/spreadsheet/clusterfuzz-testcase-minimized-XLSX2CSVFuzzer-6594557414080512.xlsx AU test-data/spreadsheet/testSharedFormulasRangeSetBlankBug.xlsx A test-data/document/47950_lower.doc A test-data/document/47950_normal.doc A test-data/document/47950_upper.doc AU test-data/document/clusterfuzz-testcase-minimized-POIHWPFFuzzer-5074346559012864.doc AU test-data/document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-6733884933668864.docx AU test-data/document/clusterfuzz-testcase-minimized-POIXWPFFuzzer-5313273089884160.docx U poi-examples/src/main/java/org/apache/poi/examples/hpsf/CopyCompare.java U poi-examples/src/main/java/org/apache/poi/examples/hpsf/WriteAuthorAndTitle.java U poi-examples/src/main/java/org/apache/poi/examples/ss/ConditionalFormats.java U poi-integration/src/test/java/org/apache/poi/stress/HPSFFileHandler.java U poi-integration/src/test/java/org/apache/poi/stress/POIXMLDocumentHandler.java U poi-integration/src/test/java/org/apache/poi/stress/StressMap.java <-- Got one external: forrest.properties, svn url: https://svn.apache.org/repos/asf/poi/site/forrest.properties --> Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/forrest.properties'> At revision 1912498 <-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation --> Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/src/documentation'> U src/documentation/content/xdocs/download.xml U src/documentation/content/xdocs/changes.xml A src/documentation/publish-poi-site.txt At revision 1912498 At revision 1912498 No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. [POI-DSL-1.22] $ /bin/sh -xe /tmp/jenkins7534315435029799202.sh + rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml + svn status X forrest.properties X src/documentation Performing status on external item at 'src/documentation': + svn revert poi-examples/src/main/java9/module-info.java poi-excelant/src/main/java9/module-info.java poi-excelant/src/test/java9/module-info.java poi-integration/src/test/java9/module-info.java poi-ooxml-full/src/main/java9/module-info.java poi-ooxml-lite-agent/src/main/java9/module-info.java poi-ooxml-lite/src/main/java9/module-info.java poi-ooxml/src/main/java9/module-info.java poi-ooxml/src/test/java9/module-info.java poi-scratchpad/src/main/java9/module-info.java poi-scratchpad/src/test/java9/module-info.java poi/src/main/java9/module-info.java poi/src/test/java9/module-info.java + svn revert src/resources/ooxml-lite-report.clazz src/resources/ooxml-lite-report.xsb + echo Java-Home: /home/jenkins/tools/java/latest22 Java-Home: /home/jenkins/tools/java/latest22 + ls -al /home/jenkins/tools/java/latest22/ total 36 drwxr-xr-x 8 root root 4096 Jun 14 05:58 . drwxr-xr-x 35 root root 4096 Jul 19 19:10 .. drwxr-xr-x 2 root root 4096 Jun 14 05:58 bin drwxr-xr-x 5 root root 4096 Jun 14 05:58 conf drwxr-xr-x 3 root root 4096 Jun 14 05:58 include drwxr-xr-x 2 root root 4096 Jun 14 05:58 jmods drwxr-xr-x 71 root root 4096 Jun 14 05:58 legal drwxr-xr-x 5 root root 4096 Jun 14 05:58 lib -rw-r--r-- 1 root root 1216 Jun 8 22:33 release + ls -al /home/jenkins/tools/java/latest22/bin total 472 drwxr-xr-x 2 root root 4096 Jun 14 05:58 . drwxr-xr-x 8 root root 4096 Jun 14 05:58 .. -rwxr-xr-x 1 root root 12384 Jun 8 22:33 jar -rwxr-xr-x 1 root root 12392 Jun 8 22:33 jarsigner -rwxr-xr-x 1 root root 12328 Jun 8 22:33 java -rwxr-xr-x 1 root root 12416 Jun 8 22:33 javac -rwxr-xr-x 1 root root 12424 Jun 8 22:33 javadoc -rwxr-xr-x 1 root root 12384 Jun 8 22:33 javap -rwxr-xr-x 1 root root 12384 Jun 8 22:33 jcmd -rwxr-xr-x 1 root root 12456 Jun 8 22:33 jconsole -rwxr-xr-x 1 root root 12384 Jun 8 22:33 jdb -rwxr-xr-x 1 root root 12392 Jun 8 22:33 jdeprscan -rwxr-xr-x 1 root root 12384 Jun 8 22:33 jdeps -rwxr-xr-x 1 root root 12384 Jun 8 22:33 jfr -rwxr-xr-x 1 root root 12384 Jun 8 22:33 jhsdb -rwxr-xr-x 1 root root 12392 Jun 8 22:33 jimage -rwxr-xr-x 1 root root 12416 Jun 8 22:33 jinfo -rwxr-xr-x 1 root root 12416 Jun 8 22:33 jlink -rwxr-xr-x 1 root root 12416 Jun 8 22:33 jmap -rwxr-xr-x 1 root root 12384 Jun 8 22:33 jmod -rwxr-xr-x 1 root root 12392 Jun 8 22:33 jpackage -rwxr-xr-x 1 root root 12384 Jun 8 22:33 jps -rwxr-xr-x 1 root root 12424 Jun 8 22:33 jrunscript -rwxr-xr-x 1 root root 12392 Jun 8 22:33 jshell -rwxr-xr-x 1 root root 12424 Jun 8 22:33 jstack -rwxr-xr-x 1 root root 12384 Jun 8 22:33 jstat -rwxr-xr-x 1 root root 12392 Jun 8 22:33 jstatd -rwxr-xr-x 1 root root 12392 Jun 8 22:33 jwebserver -rwxr-xr-x 1 root root 12392 Jun 8 22:33 keytool -rwxr-xr-x 1 root root 12416 Jun 8 22:33 rmiregistry -rwxr-xr-x 1 root root 12392 Jun 8 22:33 serialver + /home/jenkins/tools/java/latest22/bin/java -version openjdk version "22-ea" 2024-03-19 OpenJDK Runtime Environment (build 22-ea+1-7) OpenJDK 64-Bit Server VM (build 22-ea+1-7, mixed mode, sharing) + echo which java which java + which java /home/jenkins/tools/java/latest22/bin/java + java -version openjdk version "22-ea" 2024-03-19 OpenJDK Runtime Environment (build 22-ea+1-7) OpenJDK 64-Bit Server VM (build 22-ea+1-7, mixed mode, sharing) + echo which javac which javac + which javac /home/jenkins/tools/java/latest22/bin/javac + javac -version javac 22-ea + echo Ant-Home: Ant-Home: + ls -al total 528 drwxr-xr-x 21 jenkins jenkins 4096 Sep 24 03:39 . drwxr-xr-x 3 jenkins jenkins 4096 Sep 8 18:59 .. -rw-r--r-- 1 jenkins jenkins 520 Aug 13 03:36 .asf.yaml -rw-r--r-- 1 jenkins jenkins 30532 Sep 24 03:38 build.gradle -rw-r--r-- 1 jenkins jenkins 168659 Sep 24 03:38 build.xml -rw-r--r-- 1 jenkins jenkins 7190 Aug 13 03:36 doap_POI.rdf -rw-r--r-- 1 jenkins jenkins 3261 Aug 13 03:36 file-leak-detector.exclude -rw-r--r-- 1 jenkins jenkins 6229 Aug 13 03:36 forrest.properties -rw-r--r-- 1 jenkins jenkins 53 Aug 13 03:36 .gitattributes drwxr-xr-x 3 jenkins jenkins 4096 Aug 13 03:36 .github -rw-r--r-- 1 jenkins jenkins 396 Aug 13 03:36 .gitignore drwxr-xr-x 3 jenkins jenkins 4096 Aug 13 03:36 gradle drwxr-xr-x 5 jenkins jenkins 4096 Aug 27 03:39 .gradle -rw-r--r-- 1 jenkins jenkins 599 Aug 13 03:36 gradle.properties -rwxr-xr-x 1 jenkins jenkins 9123 Aug 20 03:36 gradlew -rw-r--r-- 1 jenkins jenkins 2868 Aug 13 03:36 gradlew.bat drwxr-xr-x 2 jenkins jenkins 4096 Aug 13 03:36 jenkins -rw-r--r-- 1 jenkins jenkins 167516 Aug 13 03:36 KEYS drwxr-xr-x 2 jenkins jenkins 4096 Aug 13 03:36 legal drwxr-xr-x 2 jenkins jenkins 4096 Aug 13 03:36 lib.stored drwxr-xr-x 3 jenkins jenkins 4096 Sep 24 03:38 osgi -rw-r--r-- 1 jenkins jenkins 4813 Aug 13 03:36 patch.xml drwxr-xr-x 4 jenkins jenkins 4096 Sep 17 03:36 poi drwxr-xr-x 3 jenkins jenkins 4096 Aug 13 03:36 poi-examples drwxr-xr-x 3 jenkins jenkins 4096 Sep 17 03:36 poi-excelant drwxr-xr-x 3 jenkins jenkins 4096 Sep 17 03:36 poi-integration drwxr-xr-x 3 jenkins jenkins 4096 Sep 17 03:36 poi-ooxml drwxr-xr-x 3 jenkins jenkins 4096 Aug 13 03:36 poi-ooxml-full drwxr-xr-x 3 jenkins jenkins 4096 Aug 13 03:36 poi-ooxml-lite drwxr-xr-x 3 jenkins jenkins 4096 Sep 17 03:36 poi-ooxml-lite-agent drwxr-xr-x 4 jenkins jenkins 4096 Aug 13 03:36 poi-scratchpad -rw-r--r-- 1 jenkins jenkins 4351 Aug 13 03:36 README.rst -rw-r--r-- 1 jenkins jenkins 232 Aug 13 03:36 SECURITY.md -rw-r--r-- 1 jenkins jenkins 190 Aug 13 03:36 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Aug 13 03:37 src drwxr-xr-x 4 jenkins jenkins 4096 Sep 24 03:39 .svn drwxr-xr-x 15 jenkins jenkins 4096 Aug 13 03:36 test-data -rw-r--r-- 1 jenkins jenkins 3803 Aug 13 03:36 wrapper.gradle + echo which ant which ant + which ant /usr/bin/ant + ant -version Apache Ant(TM) version 1.10.5 compiled on March 28 2019 + echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project> + ant -f build.javacheck.xml -v Apache Ant(TM) version 1.10.5 compiled on March 28 2019 Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/build.javacheck.xml> Detected Java version: 22 in: /usr/local/asfpackages/java/openjdk-22-ea+1 Detected OS: Linux parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/build.javacheck.xml> Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/> Build sequence for target(s) `test' is [test] Complete build sequence is [test, ] test: parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file [echo] Java 22/22-ea [exec] Current OS is Linux [exec] Executing 'javac' with arguments: [exec] '-version' [exec] [exec] The ' characters around the executable and arguments are [exec] not part of the command. [exec] javac 22-ea BUILD SUCCESSFUL Total time: 1 second + exit 0 ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. [POI-DSL-1.22] $ /bin/sh -xe /tmp/jenkins3857323686333277796.sh + touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml [Gradle] - Launching build. ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. [POI-DSL-1.22] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.22/ws/gradlew> -PjdkVersion=22 --refresh-dependencies clean jenkins To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.3/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation. Daemon will be stopped at the end of the build Configuration on demand is an incubating feature. FAILURE: Build failed with an exception. * What went wrong: Could not open cp_init generic class cache for initialization script '/home/jenkins/.gradle/init.d/init-build-scan.gradle' (/home/jenkins/.gradle/caches/8.3/scripts/mqlrlipysayqgfk5d0d4d5em). > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' > Unsupported class file major version 66 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 11s Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. Archiving artifacts ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. Recording test results ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error? ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org