See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/192/display/redirect?page=changes>
Changes:
[Marius Volkhart] Deprecate functions that duplicate functionality
DrawingGroupRecord#processChildRecords and
AbstractEscherHolderRecord#convertRawBytesToEscherRecords duplicate the
functionality of AbstractEscherHolderRecord#decode. This makes the code harder
to follow, as it is not clear when certain access patterns repeat. Accordingly,
these functions are deprecated and flagged for removal.
[Marius Volkhart] Review EscherContainerRecord#getChildRecords() call sites for
unnecessary work
This started off as wanting to add the EscherContainerRecord#getChildCount()
function in order to do an efficient check for how many children the container
has. This was desirable in new code for editing HSSF pictures. The existing
option of calling getChildRecords().size() was undesirable as this requires a
list copy first.
In the process of finding call sites that would benefit from replacing
getChildRecords().size(), I realized that several other patterns would benefit
from eliminating a copy, such as iterating over the children in a for-each
loop, and indexed access to specific children.
[Marius Volkhart] Add the ability to edit HSLFPictureData contents
Pictures can now be edited by calling HSLFPictureData#setData(byte[]). The
byte[] should contain the image data as an image viewer might read it.
To enable this functionality, a tighter coupling between the EscherBSERecords
of the slideshow and the HSLFPictureData was required. This ensures that
changes in image data size are accurately recorded in the records.
In the course of coupling the records and the HSLFPictureData, various
scenarios arose where a mapping of records to pictures was non-trivial.
Accordingly, the HSLFSlideShowImpl#matchPicturesAndRecords(...) function was
added to perform a more sophisticated matching pass. This function is heavily
exercised by org.apache.poi.hslf.usermodel.TestBugs.testFile[5] and
PPTX2PNG.render[2], as well as the new
TestPictures#testSlideshowWithIncorrectOffsets().
Closes #225
[Marius Volkhart] Make picture loading in HWPF PicturesTable easier to
understand
The recursion is no longer necessary due to the more defined structure of
OfficeArtContent.
[Marius Volkhart] Add documentation to PICFAndOfficeArtData
Adjust call sites based on defined behavior.
------------------------------------------
[...truncated 806.76 KB...]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
~[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
~[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
~[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
[surefire-junit-platform-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
[surefire-junit-platform-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
[surefire-junit-platform-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
[surefire-booter-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
[surefire-booter-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
[surefire-booter-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
[surefire-booter-3.0.0-M5.jar:3.0.0-M5]
00:36:45.570 [main] ERROR org.apache.poi.hdgf.chunks.Chunk - Unexpected error
processing command, ignoring and continuing. Command:
org.apache.poi.hdgf.chunks.Chunk$Command@755826fa
java.lang.ArrayIndexOutOfBoundsException: 57
at org.apache.poi.util.LittleEndian.getLong(LittleEndian.java:157)
~[poi-main-5.0.1-SNAPSHOT.jar:?]
at org.apache.poi.util.LittleEndian.getDouble(LittleEndian.java:76)
~[poi-main-5.0.1-SNAPSHOT.jar:?]
at org.apache.poi.hdgf.chunks.Chunk.processCommands(Chunk.java:199)
~[classes/:?]
at
org.apache.poi.hdgf.chunks.ChunkFactory.createChunk(ChunkFactory.java:193)
~[classes/:?]
at
org.apache.poi.hdgf.streams.ChunkStream.findChunks(ChunkStream.java:66)
~[classes/:?]
at
org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:70)
~[classes/:?]
at org.apache.poi.hdgf.HDGFDiagram.<init>(HDGFDiagram.java:89)
~[classes/:?]
at org.apache.poi.hdgf.HDGFDiagram.<init>(HDGFDiagram.java:53)
~[classes/:?]
at org.apache.poi.hdgf.TestHDGFCore.testAIOOB(TestHDGFCore.java:98)
~[test-classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[?:1.8.0_281]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[?:1.8.0_281]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_281]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_281]
at
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
~[junit-platform-commons-1.7.0.jar:1.7.0]
at
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65)
~[junit-jupiter-engine-5.7.0.jar:5.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_281]
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_281]
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
~[junit-platform-engine-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
~[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
~[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
~[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
[junit-platform-launcher-1.7.0.jar:1.7.0]
at
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
[surefire-junit-platform-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
[surefire-junit-platform-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
[surefire-junit-platform-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
[surefire-booter-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
[surefire-booter-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
[surefire-booter-3.0.0-M5.jar:3.0.0-M5]
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
[surefire-booter-3.0.0-M5.jar:3.0.0-M5]
Extracting...
Extraction completed
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.6:report (report) @ poi-scratchpad ---
[INFO] Loading execution data file
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/scratchpad/target/jacoco.exec>
[INFO] Analyzed bundle 'Apache POI Scratchpad package' with 882 classes
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ poi-scratchpad ---
[INFO] Building jar:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/scratchpad/target/poi-scratchpad-5.0.1-SNAPSHOT.jar>
[INFO]
[INFO] -------------------< org.apache.poi:poi-ooxml-lite >--------------------
[INFO] Building Apache POI - Openxmlformats Schema package 5.0.1-SNAPSHOT [4/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.6:prepare-agent (default) @ poi-ooxml-lite
---
[INFO] argLine set to
-javaagent:<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/org/jacoco/org.jacoco.agent/0.8.6/org.jacoco.agent-0.8.6-runtime.jar=destfile=/home/jenkins/workspace/POI/POI-DSL-Maven/sonar/ooxml-full/target/jacoco.exec>
-Xmx1024m
[INFO]
[INFO] --- maven-antrun-plugin:3.0.0:run (copy-xmltype-and-xsdconfig) @
poi-ooxml-lite ---
[INFO] Executing tasks
[INFO] [copy] Copying 8 files to
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-full/target/schemas>
[INFO] [copy] Copying 28 resources to
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-full/target/schemas>
[INFO] Executed tasks
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:add-source (add-source) @
poi-ooxml-lite ---
[INFO] Source directory:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-full/target/generated-sources>
added.
[INFO]
[INFO] --- exec-maven-plugin:3.0.0:exec (default) @ poi-ooxml-lite ---
SchemaCompiler Metadata LOAD:org/apache/xmlbeans/metadata
GEN:org/apache/poi/schemas/ooxml
Time to build schema type system: 2.319 seconds
Time to generate code: 4.907 seconds
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:add-resource (add-source) @
poi-ooxml-lite ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
poi-ooxml-lite ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-full/src/main/resources>
[INFO] Copying 8223 resources
[INFO] Copying 1 resource to META-INF/versions/9
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @
poi-ooxml-lite ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5064 source files to
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-full/target/classes>
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @
poi-ooxml-lite ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-full/src/test/resources>
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @
poi-ooxml-lite ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ poi-ooxml-lite
---
[INFO] No tests to run.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.6:report (report) @ poi-ooxml-lite ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ poi-ooxml-lite ---
[INFO] Building jar:
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml-full/target/poi-ooxml-lite-5.0.1-SNAPSHOT.jar>
[INFO]
[INFO] ----------------------< org.apache.poi:poi-ooxml >----------------------
[INFO] Building Apache POI OOXML package 5.0.1-SNAPSHOT [5/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.6:prepare-agent (default) @ poi-ooxml ---
[INFO] argLine set to
-javaagent:<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/.repository/org/jacoco/org.jacoco.agent/0.8.6/org.jacoco.agent-0.8.6-runtime.jar=destfile=/home/jenkins/workspace/POI/POI-DSL-Maven/sonar/ooxml/target/jacoco.exec>
-Xmx1024m
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-sources) @
poi-ooxml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 620 resources
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-resources) @
poi-ooxml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 7 resources
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @
poi-ooxml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 7 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ poi-ooxml ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 620 source files to
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/target/classes>
[INFO]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:
Some input files use or override a deprecated API.
[INFO]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:
Recompile with -Xlint:deprecation for details.
[INFO]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:
Some input files use unchecked or unsafe operations.
[INFO]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java>:
Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-tests) @ poi-ooxml
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 272 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @
poi-ooxml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/test/resources>
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @
poi-ooxml ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 272 source files to
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/target/test-classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/test/java/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:[23,39]
cannot find symbol
symbol: class DocumentFactory
location: package org.apache.xmlbeans.impl.schema
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache POI - the Java API for Microsoft Documents
5.0.1-SNAPSHOT:
[INFO]
[INFO] Apache POI - the Java API for Microsoft Documents .. SUCCESS [ 0.776 s]
[INFO] Apache POI Main package ............................ SUCCESS [03:39 min]
[INFO] Apache POI Scratchpad package ...................... SUCCESS [ 27.585 s]
[INFO] Apache POI - Openxmlformats Schema package ......... SUCCESS [01:07 min]
[INFO] Apache POI OOXML package ........................... FAILURE [ 5.957 s]
[INFO] Apache POI ExcelAnt package ........................ SKIPPED
[INFO] Apache POI Examples package ........................ SKIPPED
[INFO] Apache POI integration test ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:21 min
[INFO] Finished at: 2021-03-01T00:38:02Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile
(default-testCompile) on project poi-ooxml: Compilation failure
[ERROR]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Maven/ws/sonar/ooxml/src/test/java/org/apache/poi/ooxml/TestNecessaryOOXMLClasses.java>:[23,39]
cannot find symbol
[ERROR] symbol: class DocumentFactory
[ERROR] location: package org.apache.xmlbeans.impl.schema
[ERROR]
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :poi-ooxml
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]