See <https://builds.apache.org/job/PDFBox-sonar/382/display/redirect?page=changes>
Changes: [msahyoun] PDFBOX-4107: avoid potential NPE; avoid potential ClassCastException [msahyoun] PDFBOX-4071: use try-with for resource handling [msahyoun] PDFBOX-3111: add ability to switch between merge modes; adjust method naming; TODO implement new merge mode [msahyoun] PDFBOX-3111: refactor to move AcroForm merge outside the 'main' processing [tilman] PDFBOX-4071: move constructor to beginning [tilman] PDFBOX-4071: use of the relational operators < and > in compareTo methods is verbose and error-prone and no longer recommended (Effective Java 2018, p69); remove super() [tilman] PDFBOX-4071: simplify code (Effective Java 2018, p46) [tilman] PDFBOX-3353: fix typo [msahyoun] PDFBOX-3111: add test case to validate the legacy merge of AcroForms ------------------------------------------ [...truncated 518 B...] Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/parent/target> Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/debugger-app/target> Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/debugger/target> Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/xmpbox/target> Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/tools/target> Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/preflight/target> Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/target> Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/examples/target> Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/fontbox/target> Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/pdfbox/target> Deleting <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/preflight-app/target> Updating http://svn.apache.org/repos/asf/pdfbox/trunk at revision '2018-02-13T03:27:10.138 +0000' U pdfbox/src/test/java/org/apache/pdfbox/multipdf/MergeAcroFormsTest.java U pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/TestOptionalContentGroups.java A pdfbox/src/test/resources/org/apache/pdfbox/multipdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcrobatMerge-SameMerged.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcroFormForMerge-DifferentExportValues.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcrobatMerge-DifferentExportValues-WasMaster.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcrobatMerge-DifferentFieldType.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcrobatMerge-SameNameNode.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcroFormForMerge-DifferentFieldType.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcroFormForMerge-SameNameNode.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcrobatMerge-DifferentFieldType-WasMaster.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcrobatMerge-DifferentOptions.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/PDFBoxLegacyMerge-SameMerged.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcroFormForMerge-DifferentOptions.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcroFormForMerge.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcrobatMerge-DifferentOptions-WasMaster.pdf AU pdfbox/src/test/resources/org/apache/pdfbox/multipdf/AcrobatMerge-DifferentExportValues.pdf U pdfbox/src/main/java/org/apache/pdfbox/rendering/TilingPaintFactory.java U pdfbox/src/main/java/org/apache/pdfbox/cos/COSObjectKey.java U pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java U pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java U pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/handlers/PDLineAppearanceHandler.java U pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriterXRefEntry.java At revision 1824089 Injecting SonarQube environment variables using the configuration: ASF Sonar Analysis Parsing POMs Established TCP socket on 35249 maven3-agent.jar already up to date maven3-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [trunk] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx1g -XX:MaxPermSize=300m -cp /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/tools/maven/apache-maven-3.0.4 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven3-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 35249 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=300m; support was removed in 8.0 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 compile sonar:sonar -Dsonar.host.url=https://builds.apache.org/analysis -Dskip-bavaria=false [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] PDFBox parent [INFO] Apache FontBox [INFO] Apache XmpBox [INFO] Apache PDFBox [INFO] Apache Preflight [INFO] Apache Preflight application [INFO] Apache PDFBox Debugger [INFO] Apache PDFBox tools [INFO] Apache PDFBox application [INFO] Apache PDFBox Debugger application [INFO] Apache PDFBox examples [INFO] Apache PDFBox [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building PDFBox parent 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ pdfbox-parent --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache FontBox 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ fontbox --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fontbox --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 91 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fontbox --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 98 source files to <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/fontbox/target/classes> [WARNING] bootstrap class path not set in conjunction with -source 1.7 [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFFont.java>: Some input files use unchecked or unsafe operations. [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/fontbox/src/main/java/org/apache/fontbox/cff/CFFFont.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache XmpBox 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ xmpbox --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ xmpbox --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/xmpbox/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ xmpbox --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 72 source files to <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/xmpbox/target/classes> [WARNING] bootstrap class path not set in conjunction with -source 1.7 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache PDFBox 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ pdfbox --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pdfbox --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 21 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ pdfbox --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 587 source files to <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/pdfbox/target/classes> [WARNING] bootstrap class path not set in conjunction with -source 1.7 [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFont.java>:[310,27] getHeight(int) in org.apache.pdfbox.pdmodel.font.PDFontLike has been deprecated [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java>:[291,27] getHeight(int) in org.apache.pdfbox.pdmodel.font.PDFontLike has been deprecated [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDStream.java>: Some input files use unchecked or unsafe operations. [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDStream.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Preflight 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ preflight --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ preflight --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 117 source files to <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/preflight/target/classes> [WARNING] bootstrap class path not set in conjunction with -source 1.7 [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/descriptor/FontDescriptorHelper.java>: <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/descriptor/FontDescriptorHelper.java> uses unchecked or unsafe operations. [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/descriptor/FontDescriptorHelper.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Preflight application 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ preflight-app --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ preflight-app --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/preflight-app/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight-app --- [INFO] No sources to compile [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache PDFBox Debugger 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ pdfbox-debugger --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pdfbox-debugger --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 13 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ pdfbox-debugger --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 81 source files to <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/debugger/target/classes> [WARNING] bootstrap class path not set in conjunction with -source 1.7 [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/fontencodingpane/Type3Font.java>:[166,19] appendRawCommands(byte[]) in org.apache.pdfbox.pdmodel.PDPageContentStream has been deprecated [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java>: Some input files use unchecked or unsafe operations. [WARNING] <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache PDFBox tools 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ pdfbox-tools --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pdfbox-tools --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/tools/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ pdfbox-tools --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 23 source files to <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/tools/target/classes> [WARNING] bootstrap class path not set in conjunction with -source 1.7 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache PDFBox application 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ pdfbox-app --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Apache PDFBox [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] PDFBox parent ..................................... SUCCESS [4.479s] [INFO] Apache FontBox .................................... SUCCESS [3.483s] [INFO] Apache XmpBox ..................................... SUCCESS [1.514s] [INFO] Apache PDFBox ..................................... SUCCESS [4.756s] [INFO] Apache Preflight .................................. SUCCESS [1.607s] [INFO] Apache Preflight application ...................... SUCCESS [0.962s] [INFO] Apache PDFBox Debugger ............................ SUCCESS [1.518s] [INFO] Apache PDFBox tools ............................... SUCCESS [1.412s] [INFO] Apache PDFBox application ......................... FAILURE [0.546s] [INFO] Apache PDFBox Debugger application ................ SKIPPED [INFO] Apache PDFBox examples ............................ SKIPPED [INFO] Apache PDFBox ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 37.161s [INFO] Finished at: Tue Feb 13 03:28:21 UTC 2018 [INFO] Final Memory: 40M/607M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) on project pdfbox-app: Error finding remote resources manifests: <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/app/target/maven-shared-archive-resources/META-INF/NOTICE> (No such file or directory) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :pdfbox-app [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/xmpbox/pom.xml> to org.apache.pdfbox/xmpbox/3.0.0-SNAPSHOT/xmpbox-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/tools/pom.xml> to org.apache.pdfbox/pdfbox-tools/3.0.0-SNAPSHOT/pdfbox-tools-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/debugger/pom.xml> to org.apache.pdfbox/pdfbox-debugger/3.0.0-SNAPSHOT/pdfbox-debugger-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/preflight-app/pom.xml> to org.apache.pdfbox/preflight-app/3.0.0-SNAPSHOT/preflight-app-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/app/pom.xml> to org.apache.pdfbox/pdfbox-app/3.0.0-SNAPSHOT/pdfbox-app-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/examples/pom.xml> to org.apache.pdfbox/pdfbox-examples/3.0.0-SNAPSHOT/pdfbox-examples-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/preflight/pom.xml> to org.apache.pdfbox/preflight/3.0.0-SNAPSHOT/preflight-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/pom.xml> to org.apache.pdfbox/pdfbox-reactor/3.0.0-SNAPSHOT/pdfbox-reactor-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/parent/pom.xml> to org.apache.pdfbox/pdfbox-parent/3.0.0-SNAPSHOT/pdfbox-parent-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/pdfbox/pom.xml> to org.apache.pdfbox/pdfbox/3.0.0-SNAPSHOT/pdfbox-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/debugger-app/pom.xml> to org.apache.pdfbox/debugger-app/3.0.0-SNAPSHOT/debugger-app-3.0.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/PDFBox-sonar/ws/trunk/fontbox/pom.xml> to org.apache.pdfbox/fontbox/3.0.0-SNAPSHOT/fontbox-3.0.0-SNAPSHOT.pom Sending e-mails to: dev@pdfbox.apache.org channel stopped --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org