You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2022/10/29 00:29:33 UTC
Build failed in Jenkins: POI » POI-DSL-1.8 #778
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/778/display/redirect?page=changes>
Changes:
[PJ Fanning] jdk19 build issue
[PJ Fanning] try to disable jacoco for latest JDKs
[PJ Fanning] try to disable spotbugs for latest JDKs
[PJ Fanning] upgrade asm
[PJ Fanning] try Gradle 7.6 RC1
[PJ Fanning] latest sonarqube
------------------------------------------
[...truncated 8.20 KB...]
Ant-Home:
+ ls -al
total 528
drwxr-xr-x 22 jenkins jenkins 4096 Oct 29 00:26 .
drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 17:37 ..
-rw-r--r-- 1 jenkins jenkins 520 Dec 20 2021 .asf.yaml
drwxr-xr-x 7 jenkins jenkins 4096 Oct 26 00:34 build
-rw-r--r-- 1 jenkins jenkins 33108 Oct 29 00:26 build.gradle
-rw-r--r-- 1 jenkins jenkins 168997 Oct 29 00:26 build.xml
-rw-r--r-- 1 jenkins jenkins 7190 Sep 17 00:26 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 3114 Jul 30 12:26 file-leak-detector.exclude
-rw-r--r-- 1 jenkins jenkins 6229 Dec 20 2021 forrest.properties
-rw-r--r-- 1 jenkins jenkins 53 Dec 20 2021 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 May 23 12:33 .github
-rw-r--r-- 1 jenkins jenkins 334 Dec 20 2021 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 2021 gradle
drwxr-xr-x 5 jenkins jenkins 4096 Sep 2 00:43 .gradle
-rw-r--r-- 1 jenkins jenkins 599 Dec 20 2021 gradle.properties
-rwxr-xr-x 1 jenkins jenkins 8188 Jul 22 00:26 gradlew
-rw-r--r-- 1 jenkins jenkins 2838 Jul 22 00:26 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Oct 29 00:26 jenkins
-rw-r--r-- 1 jenkins jenkins 167516 Jun 5 13:57 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 2021 legal
drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 2021 lib.stored
drwxr-xr-x 3 jenkins jenkins 4096 Sep 14 00:26 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Dec 20 2021 patch.xml
drwxr-xr-x 5 jenkins jenkins 4096 Oct 29 00:26 poi
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:26 poi-examples
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:26 poi-excelant
drwxr-xr-x 4 jenkins jenkins 4096 Oct 26 00:27 poi-integration
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:26 poi-ooxml
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:26 poi-ooxml-full
drwxr-xr-x 4 jenkins jenkins 4096 Oct 26 00:28 poi-ooxml-lite
drwxr-xr-x 4 jenkins jenkins 4096 Oct 26 00:27 poi-ooxml-lite-agent
drwxr-xr-x 5 jenkins jenkins 4096 Oct 26 00:27 poi-scratchpad
-rw-r--r-- 1 jenkins jenkins 4351 Dec 21 2021 README.rst
-rw-r--r-- 1 jenkins jenkins 232 Dec 20 2021 SECURITY.md
-rw-r--r-- 1 jenkins jenkins 190 Dec 20 2021 settings.gradle
drwxr-xr-x 4 jenkins jenkins 4096 Dec 20 2021 src
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:26 .svn
drwxr-xr-x 15 jenkins jenkins 4096 Dec 20 2021 test-data
+ 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.8/ws/build.javacheck.xml>
Detected Java version: 1.8 in: /usr/local/asfpackages/java/oraclejdk-1.8.0-291/jre
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/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 1.8/1.8.0_291
[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 1.8.0_291
BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-1.8] $ /bin/sh -xe /tmp/jenkins15499355508199104554.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.8] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/gradlew> -PjdkVersion=8 -PjdkVendor=oracle --refresh-dependencies clean jenkins
Downloading https://services.gradle.org/distributions/gradle-7.6-rc-1-bin.zip
...........10%............20%...........30%............40%............50%...........60%............70%............80%...........90%............100%
Welcome to Gradle 7.6-rc-1!
Here are the highlights of this release:
- Added support for Java 19.
- Introduced `--rerun` flag for individual task rerun.
- Improved dependency block for test suites to be strongly typed.
- Added a service provider interface for Java toolchains provisioning.
For more details see https://docs.gradle.org/7.6-rc-1/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.6-rc-1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
Configuration on demand is an incubating feature.
> Configure project :
Trying to override old definition of datatype junit
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
> Configure project :poi
Invalid Java installation found at '/usr/lib/jvm/openjdk-11' (Common Linux Locations). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.
> Task :poi-ooxml-lite-agent:clean
> Task :poi-excelant:clean
> Task :poi-examples:clean
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-integration:clean
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi-integration:javadoc SKIPPED
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-excelant:processResources
> Task :poi-integration:processTestResources
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-integration:getDeps NO-SOURCE
> Task :poi-excelant:processTestResources
> Task :poi-scratchpad:clean
> Task :poi-ooxml:clean
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-ooxml:fixBatik
> Task :poi:clean
> Task :clean
> Task :poi:generateVersionJava
> Task :poi-ooxml:processResources
> Task :poi-ooxml:processTestResources
> Task :poi-integration:jar
> Task :poi-integration:javadocJar
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-excelant:sourcesJar
> Task :poi-ooxml-full:clean
> Task :replaceVersion
> Task :poi-ooxml-lite:clean
> Task :poi-examples:sourcesJar
> Task :poi-ooxml-lite:generateModuleInfo
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-scratchpad:sourcesJar
> Task :poi-ooxml:sourcesJar
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml-full:generate_beans
[ant:xmlbean] ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:jar
> Task :poi-ooxml-lite-agent:compileJava9 SKIPPED
> Task :poi-ooxml-lite-agent:cacheJava9 NO-SOURCE
> Task :poi-ooxml-lite-agent:javadoc SKIPPED
> Task :poi-ooxml-lite-agent:javadocJar SKIPPED
> Task :poi-ooxml-lite-agent:sourcesJar
> Task :poi-ooxml-lite-agent:assemble
> Task :poi-ooxml-lite-agent:forbiddenApisMain
> Task :poi-ooxml-lite-agent:compileTestJava NO-SOURCE
> Task :poi-ooxml-lite-agent:processTestResources NO-SOURCE
> Task :poi-ooxml-lite-agent:testClasses UP-TO-DATE
> Task :poi-ooxml-lite-agent:forbiddenApisTest NO-SOURCE
> Task :poi-ooxml-lite-agent:forbiddenApis
> Task :poi-ooxml-lite-agent:spotbugsMain SKIPPED
> Task :poi-ooxml-lite-agent:spotbugsTest NO-SOURCE
> Task :poi-ooxml-lite-agent:test NO-SOURCE
> Task :poi-ooxml-lite-agent:check
> Task :poi-ooxml-lite-agent:build
> Task :poi-ooxml-lite-agent:getDeps
> Task :poi-ooxml-lite-agent:jacocoTestReport SKIPPED
> Task :poi:compileJava
[ant:xmlbean] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132: warning: [unchecked] unchecked cast
[ant:xmlbean] m.putAll((Map<String,Supplier<?>>)baseMap);
[ant:xmlbean] ^
[ant:xmlbean] required: java.util.Map<java.lang.String,java.util.function.Supplier<?>>
[ant:xmlbean] found: java.lang.Object
[ant:xmlbean] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(org.apache.poi.ss.usermodel.CellType) in org.apache.poi.ss.usermodel.Cell has been deprecated
[ant:xmlbean] public final void setCellType(CellType cellType) {
[ant:xmlbean] ^
[ant:xmlbean] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(org.apache.poi.ss.usermodel.CellType) in org.apache.poi.ss.usermodel.Cell has been deprecated
[ant:xmlbean] cell.setCellType(cellType);
[ant:xmlbean] ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in org.apache.poi.hssf.record.RecordInputStream has been deprecated
byte[] remainder = ris.readAllContinuedRemainder();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in org.apache.poi.hssf.record.RecordInputStream has been deprecated
byte[] data = in.readAllContinuedRemainder();
^
> Task :poi-ooxml-full:generate_beans
Time to generate code: 6.303 seconds
> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in org.apache.poi.hssf.record.DrawingRecord has been deprecated
_lastDrawingRecord.processContinueRecord(contRec.getData());
^
6 warnings
> Task :poi-ooxml-lite:compileOoxmlLite
Execution optimizations have been disabled for task ':poi-ooxml-lite:compileOoxmlLite' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml-full/build'.> Reason: Task ':poi-ooxml-lite:compileOoxmlLite' uses this output of task ':poi-ooxml-full:compileJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.6-rc-1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
> Task :poi:compileJava9 FAILED
> Task :poi-ooxml-full:compileJava
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi:compileJava9'.
> invalid flag: --module-path
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6-rc-1/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 2m 15s
37 actionable tasks: 37 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is '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.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Jenkins build is back to normal : POI » POI-DSL-1.8 #781
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/781/display/redirect?page=changes>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Build failed in Jenkins: POI » POI-DSL-1.8 #780
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/780/display/redirect?page=changes>
Changes:
[PJ Fanning] jdk8 build issue
------------------------------------------
[...truncated 277.60 KB...]
M V EI: org.apache.poi.hssf.usermodel.HSSFDataValidation.getValidationConstraint() may expose internal representation by returning HSSFDataValidation._constraint At HSSFDataValidation.java:[line 63]
M V EI: org.apache.poi.hssf.usermodel.HSSFDataValidation.getRegions() may expose internal representation by returning HSSFDataValidation._regions At HSSFDataValidation.java:[line 71]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFComment(EscherContainerRecord, ObjRecord, TextObjectRecord, NoteRecord) may expose internal representation by storing an externally mutable object into HSSFComment._note At HSSFComment.java:[line 63]
M V EI2: new org.apache.poi.hssf.usermodel.HSSFObjectData(EscherContainerRecord, ObjRecord, DirectoryEntry) may expose internal representation by storing an externally mutable object into HSSFObjectData._root At HSSFObjectData.java:[line 44]
M V EI: org.apache.poi.hssf.usermodel.HSSFPatriarch.getBoundAggregate() may expose internal representation by returning HSSFPatriarch._boundAggregate At HSSFPatriarch.java:[line 502]
M V EI: org.apache.poi.hssf.usermodel.HSSFCell.getCellComment() may expose internal representation by returning HSSFCell._comment At HSSFCell.java:[line 1090]
M V EI2: org.apache.poi.hssf.usermodel.HSSFCell.setCellComment(Comment) may expose internal representation by storing an externally mutable object into HSSFCell._comment At HSSFCell.java:[line 1077]
M V EI: org.apache.poi.hssf.usermodel.HSSFCell.getRichStringCellValue() may expose internal representation by returning HSSFCell._stringValue At HSSFCell.java:[line 749]
M V EI: org.apache.poi.hssf.usermodel.HSSFCell.getSheet() may expose internal representation by returning HSSFCell._sheet At HSSFCell.java:[line 132]
M D SF: Switch statement found in org.apache.poi.hssf.usermodel.HSSFCell.setCellValueImpl(double) where one case falls through to the next case At HSSFCell.java:[lines 431-438]
M D SF: Switch statement found in org.apache.poi.hssf.usermodel.HSSFCell.setCellValue(boolean) where one case falls through to the next case At HSSFCell.java:[lines 777-780]
M D SF: Switch statement found in org.apache.poi.hssf.usermodel.HSSFCell.setCellErrorValue(FormulaError) where one case falls through to the next case At HSSFCell.java:[lines 819-822]
M D NP: Load of known null value in org.apache.poi.ss.formula.FormulaParser.parseStructuredReference(String) At FormulaParser.java:[line 815]
M D SF: Switch statement found in org.apache.poi.ss.formula.FormulaParser.parseSheetName(boolean) where default case is missing At FormulaParser.java:[lines 1179-1190]
> Task :poi-examples:compileJava
> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFFont.java>:20: warning: [deprecation] org.apache.poi.ss.usermodel.FontCharset in org.apache.poi.ss.usermodel has been deprecated
import static org.apache.poi.ss.usermodel.FontCharset.*;
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFSheet.java>:288: warning: [deprecation] createSplitPane(int,int,int,int,int) in org.apache.poi.xssf.usermodel.XSSFSheet has been deprecated
sheet.createSplitPane(4, 8, 12, 12, PaneInformation.PANE_LOWER_RIGHT + 1);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java>:1362: warning: [deprecation] getCTExternalLink() in org.apache.poi.xssf.model.ExternalLinksTable has been deprecated
CTExternalLink link = workbook2.getExternalLinksTable().get(0).getCTExternalLink();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java>:126: warning: [deprecation] getSeries() in org.apache.poi.xddf.usermodel.chart.XDDFChartData has been deprecated
assertThrows(UnsupportedOperationException.class, () -> chartData.getSeries().remove(0));
^
> Task :poi-ooxml-full:forbiddenApisMain
> Task :poi:spotbugsMain
M V EI2: new org.apache.poi.sl.draw.DrawPaint(PlaceableShape) may expose internal representation by storing an externally mutable object into DrawPaint.shape At DrawPaint.java:[line 81]
M D SF: Switch statement found in org.apache.poi.sl.draw.DrawPaint.getTexturePaint(PaintStyle$TexturePaint, Graphics2D) where default case is missing At DrawPaint.java:[lines 301-310]
M V EI2: new org.apache.poi.sl.draw.DrawTextParagraph(TextParagraph) may expose internal representation by storing an externally mutable object into DrawTextParagraph.paragraph At DrawTextParagraph.java:[line 111]
M V EI: org.apache.poi.ss.formula.OperationEvaluationContext.getWorkbook() may expose internal representation by returning OperationEvaluationContext._workbook At OperationEvaluationContext.java:[line 89]
M V EI2: new org.apache.poi.ss.formula.OperationEvaluationContext(WorkbookEvaluator, EvaluationWorkbook, int, int, int, EvaluationTracker, boolean) may expose internal representation by storing an externally mutable object into OperationEvaluationContext._workbook At OperationEvaluationContext.java:[line 72]
M V EI2: new org.apache.poi.ss.formula.OperationEvaluationContext(WorkbookEvaluator, EvaluationWorkbook, int, int, int, EvaluationTracker, boolean) may expose internal representation by storing an externally mutable object into OperationEvaluationContext._bookEvaluator At OperationEvaluationContext.java:[line 71]
M V EI: org.apache.poi.poifs.crypt.agile.EncryptionDocument.getKeyData() may expose internal representation by returning EncryptionDocument.keyData At EncryptionDocument.java:[line 98]
M V EI2: org.apache.poi.poifs.crypt.agile.EncryptionDocument.setDataIntegrity(DataIntegrity) may expose internal representation by storing an externally mutable object into EncryptionDocument.dataIntegrity At EncryptionDocument.java:[line 110]
M V EI2: org.apache.poi.poifs.crypt.agile.EncryptionDocument.setKeyData(KeyData) may expose internal representation by storing an externally mutable object into EncryptionDocument.keyData At EncryptionDocument.java:[line 102]
M V EI: org.apache.poi.poifs.crypt.agile.EncryptionDocument.getKeyEncryptors() may expose internal representation by returning EncryptionDocument.keyEncryptors At EncryptionDocument.java:[line 114]
M V EI: org.apache.poi.poifs.crypt.agile.EncryptionDocument.getDataIntegrity() may expose internal representation by returning EncryptionDocument.dataIntegrity At EncryptionDocument.java:[line 106]
M V EI2: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.setEncryptedKeyValue(byte[]) may expose internal representation by storing an externally mutable object into CertificateKeyEncryptor.encryptedKeyValue At CertificateKeyEncryptor.java:[line 76]
M V EI: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.getEncryptedKeyValue() may expose internal representation by returning CertificateKeyEncryptor.encryptedKeyValue At CertificateKeyEncryptor.java:[line 72]
M V EI: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.getX509Certificate() may expose internal representation by returning CertificateKeyEncryptor.x509Certificate At CertificateKeyEncryptor.java:[line 80]
M V EI2: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.setCertVerifier(byte[]) may expose internal representation by storing an externally mutable object into CertificateKeyEncryptor.certVerifier At CertificateKeyEncryptor.java:[line 92]
M V EI2: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.setX509Certificate(byte[]) may expose internal representation by storing an externally mutable object into CertificateKeyEncryptor.x509Certificate At CertificateKeyEncryptor.java:[line 84]
M V EI: org.apache.poi.poifs.crypt.agile.CertificateKeyEncryptor.getCertVerifier() may expose internal representation by returning CertificateKeyEncryptor.certVerifier At CertificateKeyEncryptor.java:[line 88]
M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setEncryptedVerifierHashInput(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.encryptedVerifierHashInput At PasswordKeyEncryptor.java:[line 220]
M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getSaltValue() may expose internal representation by returning PasswordKeyEncryptor.saltValue At PasswordKeyEncryptor.java:[line 200]
M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setSaltValue(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.saltValue At PasswordKeyEncryptor.java:[line 204]
M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setEncryptedVerifierHashValue(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.encryptedVerifierHashValue At PasswordKeyEncryptor.java:[line 228]
M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getEncryptedVerifierHashInput() may expose internal representation by returning PasswordKeyEncryptor.encryptedVerifierHashInput At PasswordKeyEncryptor.java:[line 216]
M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getEncryptedKeyValue() may expose internal representation by returning PasswordKeyEncryptor.encryptedKeyValue At PasswordKeyEncryptor.java:[line 232]
M V EI: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.getEncryptedVerifierHashValue() may expose internal representation by returning PasswordKeyEncryptor.encryptedVerifierHashValue At PasswordKeyEncryptor.java:[line 224]
M V EI2: org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor.setEncryptedKeyValue(byte[]) may expose internal representation by storing an externally mutable object into PasswordKeyEncryptor.encryptedKeyValue At PasswordKeyEncryptor.java:[line 236]
M V EI: org.apache.poi.ss.usermodel.DataFormatter.getLocaleChangedObservable() may expose internal representation by returning DataFormatter.pcs At DataFormatter.java:[line 1227]
M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator(Workbook, WorkbookEvaluatorProvider) may expose internal representation by storing an externally mutable object into DataValidationEvaluator.workbook At DataValidationEvaluator.java:[line 79]
M D DLS: Dead store to sheet in org.apache.poi.hssf.usermodel.helpers.HSSFRowColShifter.updateRowFormulas(HSSFRow, FormulaShifter) At HSSFRowColShifter.java:[line 71]
M V EI: org.apache.poi.hssf.usermodel.HSSFRow.getSheet() may expose internal representation by returning HSSFRow.sheet At HSSFRow.java:[line 273]
M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.formatting At EvaluationConditionalFormatRule.java:[line 116]
M V EI: org.apache.poi.ss.formula.EvaluationConditionalFormatRule.getRegions() may expose internal representation by returning EvaluationConditionalFormatRule.regions At EvaluationConditionalFormatRule.java:[line 194]
M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.workbookEvaluator At EvaluationConditionalFormatRule.java:[line 114]
M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.sheet At EvaluationConditionalFormatRule.java:[line 115]
M V EI: org.apache.poi.ss.formula.EvaluationConditionalFormatRule.getSheet() may expose internal representation by returning EvaluationConditionalFormatRule.sheet At EvaluationConditionalFormatRule.java:[line 152]
M V EI: org.apache.poi.ss.formula.EvaluationConditionalFormatRule.getFormatting() may expose internal representation by returning EvaluationConditionalFormatRule.formatting At EvaluationConditionalFormatRule.java:[line 159]
M V EI2: new org.apache.poi.ss.formula.EvaluationConditionalFormatRule(WorkbookEvaluator, Sheet, ConditionalFormatting, int, ConditionalFormattingRule, int, CellRangeAddress[]) may expose internal representation by storing an externally mutable object into EvaluationConditionalFormatRule.regions At EvaluationConditionalFormatRule.java:[line 123]
M V EI: org.apache.poi.poifs.crypt.agile.KeyEncryptor.getCertificateKeyEncryptor() may expose internal representation by returning KeyEncryptor.certificateKeyEncryptor At KeyEncryptor.java:[line 75]
M V EI: org.apache.poi.poifs.crypt.agile.KeyEncryptor.getPasswordKeyEncryptor() may expose internal representation by returning KeyEncryptor.passwordKeyEncryptor At KeyEncryptor.java:[line 67]
M V EI2: org.apache.poi.poifs.crypt.agile.KeyEncryptor.setCertificateKeyEncryptor(CertificateKeyEncryptor) may expose internal representation by storing an externally mutable object into KeyEncryptor.certificateKeyEncryptor At KeyEncryptor.java:[line 79]
M V EI2: org.apache.poi.poifs.crypt.agile.KeyEncryptor.setPasswordKeyEncryptor(PasswordKeyEncryptor) may expose internal representation by storing an externally mutable object into KeyEncryptor.passwordKeyEncryptor At KeyEncryptor.java:[line 71]
M B NP: org.apache.poi.ss.formula.functions.Countif.parseBoolean(String) has Boolean return type and returns explicit null At Countif.java:[line 554]
M V EI2: org.apache.poi.hssf.record.OldStringRecord.setCodePage(CodepageRecord) may expose internal representation by storing an externally mutable object into OldStringRecord.codepage At OldStringRecord.java:[line 73]
M V EI: org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader.getEncryptedHmacKey() may expose internal representation by returning AgileEncryptionHeader.encryptedHmacKey At AgileEncryptionHeader.java:[line 112]
M V EI: org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader.getEncryptedHmacValue() may expose internal representation by returning AgileEncryptionHeader.encryptedHmacValue At AgileEncryptionHeader.java:[line 120]
M V EI: org.apache.poi.ss.formula.BaseFormulaEvaluator._getWorkbookEvaluator() may expose internal representation by returning BaseFormulaEvaluator._bookEvaluator At BaseFormulaEvaluator.java:[line 63]
M V EI2: new org.apache.poi.hssf.record.SupBookRecord(String, String[]) may expose internal representation by storing an externally mutable object into SupBookRecord.field_3_sheet_names At SupBookRecord.java:[line 77]
M D SF: Switch statement found in org.apache.poi.ss.formula.functions.LookupUtils.lookupIndexOfValue(LookupUtils$LookupValueComparer, LookupUtils$ValueVector, LookupUtils$MatchMode, boolean) where default case is missing At LookupUtils.java:[lines 710-734]
M D SF: Switch statement found in org.apache.poi.ss.formula.functions.LookupUtils.binarySearchIndexOfValue(LookupUtils$LookupValueComparer, LookupUtils$ValueVector, LookupUtils$MatchMode, boolean) where default case is missing At LookupUtils.java:[lines 761-785]
M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataName() may expose internal representation by returning HSSFChart$HSSFSeries.dataName At HSSFChart.java:[line 1033]
M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getSeries() may expose internal representation by returning HSSFChart$HSSFSeries.series At HSSFChart.java:[line 1061]
M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataValues() may expose internal representation by returning HSSFChart$HSSFSeries.dataValues At HSSFChart.java:[line 1040]
M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataSecondaryCategoryLabels() may expose internal representation by returning HSSFChart$HSSFSeries.dataSecondaryCategoryLabels At HSSFChart.java:[line 1054]
M V EI: org.apache.poi.hssf.usermodel.HSSFChart$HSSFSeries.getDataCategoryLabels() may expose internal representation by returning HSSFChart$HSSFSeries.dataCategoryLabels At HSSFChart.java:[line 1047]
M V EI2: new org.apache.poi.hssf.usermodel.EscherGraphics(HSSFShapeGroup, HSSFWorkbook, Color, float) may expose internal representation by storing an externally mutable object into EscherGraphics.escherGroup At EscherGraphics.java:[line 82]
M V EI2: new org.apache.poi.hssf.usermodel.EscherGraphics(HSSFShapeGroup, HSSFWorkbook, Color, float) may expose internal representation by storing an externally mutable object into EscherGraphics.workbook At EscherGraphics.java:[line 83]
M V EI: org.apache.poi.hssf.extractor.ExcelExtractor.getFilesystem() may expose internal representation by returning ExcelExtractor._wb At ExcelExtractor.java:[line 434]
M V EI: org.apache.poi.hssf.extractor.ExcelExtractor.getDocument() may expose internal representation by returning ExcelExtractor._wb At ExcelExtractor.java:[line 419]
M V EI2: new org.apache.poi.hssf.extractor.ExcelExtractor(HSSFWorkbook) may expose internal representation by storing an externally mutable object into ExcelExtractor._wb At ExcelExtractor.java:[line 67]
M B Nm: The class name org.apache.poi.hssf.extractor.ExcelExtractor shadows the simple name of implemented interface org.apache.poi.ss.extractor.ExcelExtractor At ExcelExtractor.java:[lines 56-434]
M V EI: org.apache.poi.hpsf.extractor.HPSFPropertiesExtractor.getDocument() may expose internal representation by returning HPSFPropertiesExtractor.document At HPSFPropertiesExtractor.java:[line 144]
M V EI: org.apache.poi.hpsf.extractor.HPSFPropertiesExtractor.getFilesystem() may expose internal representation by returning HPSFPropertiesExtractor.document At HPSFPropertiesExtractor.java:[line 159]
M V EI2: new org.apache.poi.hpsf.extractor.HPSFPropertiesExtractor(POIDocument) may expose internal representation by storing an externally mutable object into HPSFPropertiesExtractor.document At HPSFPropertiesExtractor.java:[line 46]
> Task :poi-ooxml-lite:compileJava
> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:204: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(7, run.getFontSize());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:212: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(25, run.getFontSize());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:592: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(-1, run.getFontSize());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:595: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(10, run.getFontSize());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:598: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:601: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(Short.MAX_VALUE, run.getFontSize());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:604: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(Short.MAX_VALUE + 1, run.getFontSize());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:607: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:610: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(Integer.MAX_VALUE, run.getFontSize());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:613: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(-1, run.getFontSize());
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:661: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated
assertEquals(10, run.getFontSize());
^
15 warnings
> Task :poi:spotbugsMain
M V EI2: new org.apache.poi.ss.usermodel.RangeCopier(Sheet, Sheet) may expose internal representation by storing an externally mutable object into RangeCopier.destSheet At RangeCopier.java:[line 38]
M V EI2: new org.apache.poi.ss.usermodel.RangeCopier(Sheet, Sheet) may expose internal representation by storing an externally mutable object into RangeCopier.sourceSheet At RangeCopier.java:[line 37]
M V EI2: org.apache.poi.hssf.record.OldSheetRecord.setCodePage(CodepageRecord) may expose internal representation by storing an externally mutable object into OldSheetRecord.codepage At OldSheetRecord.java:[line 70]
M M DC: Possible double-check on org.apache.poi.ss.format.CellDateFormatter.SIMPLE_DATE_FORMATTER in org.apache.poi.ss.format.CellDateFormatter.simpleValue(StringBuffer, Object) At CellDateFormatter.java:[lines 246-249]
M V EI2: org.apache.poi.hssf.record.OldLabelRecord.setCodePage(CodepageRecord) may expose internal representation by storing an externally mutable object into OldLabelRecord.codepage At OldLabelRecord.java:[line 71]
M V EI: org.apache.poi.ddf.EscherTextboxRecord.getData() may expose internal representation by returning EscherTextboxRecord.thedata At EscherTextboxRecord.java:[line 107]
M V EI2: new org.apache.poi.hssf.record.UserSViewEnd(byte[]) may expose internal representation by storing an externally mutable object into UserSViewEnd._rawData At UserSViewEnd.java:[line 40]
M V EI: org.apache.poi.common.usermodel.fonts.FontHeader.getPanose() may expose internal representation by returning FontHeader.panose At FontHeader.java:[line 290]
M D DLS: Dead store to reserved4 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 174]
M D DLS: Dead store to reserved3 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 173]
M D DLS: Dead store to reserved2 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 172]
M D DLS: Dead store to reserved1 in org.apache.poi.common.usermodel.fonts.FontHeader.init(LittleEndianInput) At FontHeader.java:[line 171]
M V EI: org.apache.poi.ddf.EscherClientDataRecord.getRemainingData() may expose internal representation by returning EscherClientDataRecord.remainingData At EscherClientDataRecord.java:[line 114]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getValidation() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.dv At DataValidationEvaluator.java:[line 541]
M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.dve At DataValidationEvaluator.java:[line 533]
M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.dv At DataValidationEvaluator.java:[line 532]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getRegion() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.region At DataValidationEvaluator.java:[line 553]
M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.target At DataValidationEvaluator.java:[line 535]
M V EI2: new org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext(DataValidation, DataValidationEvaluator, CellRangeAddressBase, CellReference) may expose internal representation by storing an externally mutable object into DataValidationEvaluator$DataValidationContext.region At DataValidationEvaluator.java:[line 534]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getEvaluator() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.dve At DataValidationEvaluator.java:[line 547]
M V EI: org.apache.poi.ss.formula.DataValidationEvaluator$DataValidationContext.getTarget() may expose internal representation by returning DataValidationEvaluator$DataValidationContext.target At DataValidationEvaluator.java:[line 559]
M V EI2: new org.apache.poi.sl.draw.SLGraphics(GroupShape) may expose internal representation by storing an externally mutable object into SLGraphics._group At SLGraphics.java:[line 77]
M V EI: org.apache.poi.sl.draw.SLGraphics.getShapeGroup() may expose internal representation by returning SLGraphics._group At SLGraphics.java:[line 92]
M V EI: org.apache.poi.sl.draw.SLGraphics.getRenderingHints() may expose internal representation by returning SLGraphics._hints At SLGraphics.java:[line 1556]
M V EI: org.apache.poi.hpsf.Array.getValues() may expose internal representation by returning Array._values At Array.java:[line 114]
M V EI2: new org.apache.poi.hssf.usermodel.EscherGraphics2d(EscherGraphics) may expose internal representation by storing an externally mutable object into EscherGraphics2d._escherGraphics At EscherGraphics2d.java:[line 89]
M D SF: Switch statement found in org.apache.poi.ss.formula.functions.FinanceFunction.evaluate(double[]) where one case falls through to the next case At FinanceFunction.java:[lines 98-101]
M V EI: org.apache.poi.hssf.extractor.EventBasedExcelExtractor.getRoot() may expose internal representation by returning EventBasedExcelExtractor._dir At EventBasedExcelExtractor.java:[line 292]
M V EI2: new org.apache.poi.hssf.extractor.EventBasedExcelExtractor(DirectoryNode) may expose internal representation by storing an externally mutable object into EventBasedExcelExtractor._dir At EventBasedExcelExtractor.java:[line 72]
M V EI: org.apache.poi.hssf.extractor.EventBasedExcelExtractor.getFilesystem() may expose internal representation by returning EventBasedExcelExtractor.poifs At EventBasedExcelExtractor.java:[line 282]
M V EI2: new org.apache.poi.hssf.extractor.EventBasedExcelExtractor(POIFSFileSystem) may expose internal representation by storing an externally mutable object into EventBasedExcelExtractor.poifs At EventBasedExcelExtractor.java:[line 76]
M D DLS: Dead store to maxN in org.apache.poi.ss.formula.functions.Sumproduct.evaluateSingleProduct(ValueEval[]) At Sumproduct.java:[line 95]
M V EI: org.apache.poi.ddf.EscherClientAnchorRecord.getRemainingData() may expose internal representation by returning EscherClientAnchorRecord.remainingData At EscherClientAnchorRecord.java:[line 368]
M V EI2: new org.apache.poi.poifs.macros.VBAMacroReader(POIFSFileSystem) may expose internal representation by storing an externally mutable object into VBAMacroReader.fs At VBAMacroReader.java:[line 100]
M D DLS: Dead store to ld in org.apache.poi.ss.formula.functions.TimeValue.evaluate(int, int, ValueEval) At TimeValue.java:[line 68]
M V EI2: new org.apache.poi.ss.util.cellwalk.CellWalk(Sheet, CellRangeAddress) may expose internal representation by storing an externally mutable object into CellWalk.sheet At CellWalk.java:[line 37]
M V EI2: new org.apache.poi.ss.util.cellwalk.CellWalk(Sheet, CellRangeAddress) may expose internal representation by storing an externally mutable object into CellWalk.range At CellWalk.java:[line 38]
M V EI2: new org.apache.poi.poifs.crypt.DataSpaceMapUtils$IRMDSTransformInfo(DataSpaceMapUtils$TransformInfoHeader, int, String) may expose internal representation by storing an externally mutable object into DataSpaceMapUtils$IRMDSTransformInfo.transformInfoHeader At DataSpaceMapUtils.java:[line 180]
M V EI: org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder$SheetRecordCollectingListener.getSSTRecord() may expose internal representation by returning EventWorkbookBuilder$SheetRecordCollectingListener.sstRecord At EventWorkbookBuilder.java:[line 133]
M V EI2: org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder$SheetRecordCollectingListener.processRecordInternally(Record) may expose internal representation by storing an externally mutable object into EventWorkbookBuilder$SheetRecordCollectingListener.sstRecord At EventWorkbookBuilder.java:[line 181]
M V EI: org.apache.poi.sl.image.ImageHeaderEMF.getBounds() may expose internal representation by returning ImageHeaderEMF.deviceBounds At ImageHeaderEMF.java:[line 67]
M D SF: Switch statement found in org.apache.poi.ss.formula.functions.Offset.evaluate(ValueEval[], int, int) where one case falls through to the next case At Offset.java:[lines 172-176]
M D SF: Switch statement found in org.apache.poi.ss.formula.atp.YearFrac.evaluate(ValueEval[], OperationEvaluationContext) where one case falls through to the next case At YearFrac.java:[lines 71-74]
M V EI: org.apache.poi.hssf.record.FeatRecord.getCellRefs() may expose internal representation by returning FeatRecord.cellRefs At FeatRecord.java:[line 156]
M V EI2: org.apache.poi.hssf.record.FeatRecord.setCellRefs(CellRangeAddress[]) may expose internal representation by storing an externally mutable object into FeatRecord.cellRefs At FeatRecord.java:[line 159]
M B Nm: The class name org.apache.poi.hssf.usermodel.HeaderFooter shadows the simple name of implemented interface org.apache.poi.ss.usermodel.HeaderFooter At HeaderFooter.java:[lines 26-310]
M V EI2: new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream(BinaryRC4Encryptor, OutputStream) may expose internal representation by storing an externally mutable object into BinaryRC4Encryptor$BinaryRC4CipherOutputStream.this$0 At BinaryRC4Encryptor.java:[line 130]
M V EI2: new org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4Encryptor$BinaryRC4CipherOutputStream(BinaryRC4Encryptor, DirectoryNode) may expose internal representation by storing an externally mutable object into BinaryRC4Encryptor$BinaryRC4CipherOutputStream.this$0 At BinaryRC4Encryptor.java:[line 135]
M V EI: org.apache.poi.ddf.UnknownEscherRecord.getData() may expose internal representation by returning UnknownEscherRecord.thedata At UnknownEscherRecord.java:[line 129]
M V EI: org.apache.poi.ddf.UnknownEscherRecord.getChildRecords() may expose internal representation by returning UnknownEscherRecord._childRecords At UnknownEscherRecord.java:[line 139]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_5_lo64 At Decimal.java:[line 38]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_2_scale At Decimal.java:[line 35]
M P SS: Unread field: org.apache.poi.ss.formula.ptg.UnknownPtg.size; should this field be static? At UnknownPtg.java:[line 25]
M P UrF: Unread field: org.apache.poi.hssf.usermodel.HSSFChart.chartTitleFormat At HSSFChart.java:[line 217]
M P UrF: Unread field: org.apache.poi.ss.formula.atp.TextJoinFunction.evaluator At TextJoinFunction.java:[line 51]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_4_hi32 At Decimal.java:[line 37]
M P UrF: Unread field: org.apache.poi.ss.formula.atp.PercentRankIncFunction.evaluator At PercentRankIncFunction.java:[line 51]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_1_wReserved At Decimal.java:[line 34]
M P UrF: Unread field: org.apache.poi.ss.formula.atp.PercentRankExcFunction.evaluator At PercentRankExcFunction.java:[line 54]
M P UrF: Unread field: org.apache.poi.hpsf.Decimal.field_3_sign At Decimal.java:[line 36]
M V MS: org.apache.poi.hpsf.VariantSupport.SUPPORTED_TYPES should be package protected At VariantSupport.java:[line 55]
M V MS: org.apache.poi.hpsf.DocumentSummaryInformation.FORMAT_ID should be package protected At DocumentSummaryInformation.java:[line 51]
M V MS: org.apache.poi.ss.formula.eval.FunctionEval.functions should be package protected At FunctionEval.java:[line 59]
M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._current_block_count; locked 71% of time Unsynchronized access at DocumentInputStream.java:[line 287]
M M IS: Inconsistent synchronization of org.apache.poi.ss.format.CellDateFormatter.sFmt; locked 66% of time Unsynchronized access at CellDateFormatter.java:[line 109]
M M IS: Inconsistent synchronization of org.apache.poi.ss.format.CellDateFormatter.amPmUpper; locked 50% of time Unsynchronized access at CellDateFormatter.java:[line 122]
M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._buffer; locked 50% of time Unsynchronized access at DocumentInputStream.java:[line 286]
M M IS: Inconsistent synchronization of org.apache.poi.hpsf.ClassIDPredefined.classId; locked 66% of time Unsynchronized access at ClassIDPredefined.java:[line 132]
M M IS: Inconsistent synchronization of org.apache.poi.poifs.filesystem.DocumentInputStream._data; locked 80% of time Unsynchronized access at DocumentInputStream.java:[line 288]
SpotBugs ended with exit code 1
> Task :allJavaDoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/StoragePropertiesChunk.java>:57: warning: no description for @throws
* @throws IOException
^
1 warning
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-scratchpad:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/build/tmp/javadoc/javadoc.options'>
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6-rc-1/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 4m 14s
72 actionable tasks: 69 executed, 3 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is '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.
[Checks API] No suitable checks publisher found.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Build failed in Jenkins: POI » POI-DSL-1.8 #779
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/779/display/redirect>
Changes:
------------------------------------------
[...truncated 7.02 KB...]
-rwxr-xr-x 1 root root 8840 Apr 7 2021 rmiregistry
-rwxr-xr-x 1 root root 8832 Apr 7 2021 schemagen
-rwxr-xr-x 1 root root 8832 Apr 7 2021 serialver
-rwxr-xr-x 1 root root 8840 Apr 7 2021 servertool
-rwxr-xr-x 1 root root 8904 Apr 7 2021 tnameserv
-rwxr-xr-x 1 root root 186960 Apr 7 2021 unpack200
-rwxr-xr-x 1 root root 8832 Apr 7 2021 wsgen
-rwxr-xr-x 1 root root 8832 Apr 7 2021 wsimport
-rwxr-xr-x 1 root root 8832 Apr 7 2021 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest1.8/bin/java
+ java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_291
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 528
drwxr-xr-x 22 jenkins jenkins 4096 Oct 29 00:37 .
drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 17:37 ..
-rw-r--r-- 1 jenkins jenkins 520 Dec 20 2021 .asf.yaml
drwxr-xr-x 3 jenkins jenkins 4096 Oct 29 00:28 build
-rw-r--r-- 1 jenkins jenkins 33108 Oct 29 00:26 build.gradle
-rw-r--r-- 1 jenkins jenkins 168997 Oct 29 00:26 build.xml
-rw-r--r-- 1 jenkins jenkins 7190 Sep 17 00:26 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 3114 Jul 30 12:26 file-leak-detector.exclude
-rw-r--r-- 1 jenkins jenkins 6229 Dec 20 2021 forrest.properties
-rw-r--r-- 1 jenkins jenkins 53 Dec 20 2021 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 May 23 12:33 .github
-rw-r--r-- 1 jenkins jenkins 334 Dec 20 2021 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 2021 gradle
drwxr-xr-x 6 jenkins jenkins 4096 Oct 29 00:27 .gradle
-rw-r--r-- 1 jenkins jenkins 599 Dec 20 2021 gradle.properties
-rwxr-xr-x 1 jenkins jenkins 8188 Jul 22 00:26 gradlew
-rw-r--r-- 1 jenkins jenkins 2838 Jul 22 00:26 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Oct 29 00:26 jenkins
-rw-r--r-- 1 jenkins jenkins 167516 Jun 5 13:57 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 2021 legal
drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 2021 lib.stored
drwxr-xr-x 3 jenkins jenkins 4096 Sep 14 00:26 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Dec 20 2021 patch.xml
drwxr-xr-x 5 jenkins jenkins 4096 Oct 29 00:28 poi
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:28 poi-examples
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:28 poi-excelant
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:28 poi-integration
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:28 poi-ooxml
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:28 poi-ooxml-full
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:28 poi-ooxml-lite
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:28 poi-ooxml-lite-agent
drwxr-xr-x 5 jenkins jenkins 4096 Oct 29 00:28 poi-scratchpad
-rw-r--r-- 1 jenkins jenkins 4351 Dec 21 2021 README.rst
-rw-r--r-- 1 jenkins jenkins 232 Dec 20 2021 SECURITY.md
-rw-r--r-- 1 jenkins jenkins 190 Dec 20 2021 settings.gradle
drwxr-xr-x 4 jenkins jenkins 4096 Dec 20 2021 src
drwxr-xr-x 4 jenkins jenkins 4096 Oct 29 00:37 .svn
drwxr-xr-x 15 jenkins jenkins 4096 Dec 20 2021 test-data
+ 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.8/ws/build.javacheck.xml>
Detected Java version: 1.8 in: /usr/local/asfpackages/java/oraclejdk-1.8.0-291/jre
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/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 1.8/1.8.0_291
[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 1.8.0_291
BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-1.8] $ /bin/sh -xe /tmp/jenkins6108310493767828276.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.8] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/gradlew> -PjdkVersion=8 -PjdkVendor=oracle --refresh-dependencies clean jenkins
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.6-rc-1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
Configuration on demand is an incubating feature.
> Configure project :
Trying to override old definition of datatype junit
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
Run with reduced parallelism for CI build
> Configure project :poi
Invalid Java installation found at '/usr/lib/jvm/openjdk-11' (Common Linux Locations). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.
> Task :clean
> Task :poi-excelant:clean
> Task :poi-ooxml-lite-agent:clean
> Task :poi-ooxml:clean
> Task :poi-integration:clean
> Task :poi-scratchpad:clean
> Task :poi-examples:clean
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi:clean
> Task :poi-scratchpad:processResources
> Task :poi-excelant:processResources
> Task :poi:generateVersionJava
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-ooxml:fixBatik
> Task :replaceVersion
> Task :poi-integration:jar
> Task :poi-integration:javadoc SKIPPED
> Task :poi-ooxml:processResources
> Task :poi-integration:javadocJar
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-ooxml:processTestResources
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:processTestResources
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-integration:getDeps NO-SOURCE
> Task :poi-excelant:sourcesJar
> Task :poi-excelant:processTestResources
> Task :poi-examples:sourcesJar
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-scratchpad:sourcesJar
> Task :poi-ooxml:sourcesJar
> Task :poi-ooxml-lite:clean
> Task :poi-ooxml-lite:generateModuleInfo UP-TO-DATE
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-ooxml-full:clean
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:jar
> Task :poi-ooxml-lite-agent:compileJava9 SKIPPED
> Task :poi-ooxml-lite-agent:cacheJava9 NO-SOURCE
> Task :poi-ooxml-lite-agent:javadoc SKIPPED
> Task :poi-ooxml-lite-agent:javadocJar SKIPPED
> Task :poi-ooxml-lite-agent:sourcesJar
> Task :poi-ooxml-lite-agent:assemble
> Task :poi-ooxml-lite-agent:forbiddenApisMain UP-TO-DATE
> Task :poi-ooxml-lite-agent:compileTestJava NO-SOURCE
> Task :poi-ooxml-lite-agent:processTestResources NO-SOURCE
> Task :poi-ooxml-lite-agent:testClasses UP-TO-DATE
> Task :poi-ooxml-lite-agent:forbiddenApisTest NO-SOURCE
> Task :poi-ooxml-lite-agent:forbiddenApis UP-TO-DATE
> Task :poi-ooxml-lite-agent:spotbugsMain SKIPPED
> Task :poi-ooxml-lite-agent:spotbugsTest NO-SOURCE
> Task :poi-ooxml-lite-agent:test NO-SOURCE
> Task :poi-ooxml-lite-agent:check UP-TO-DATE
> Task :poi-ooxml-lite-agent:build
> Task :poi-ooxml-lite-agent:getDeps
> Task :poi-ooxml-lite-agent:jacocoTestReport SKIPPED
> Task :poi-ooxml-full:generate_beans
SchemaCompiler Metadata LOAD:org/apache/xmlbeans/metadata GEN:org/apache/poi/schemas/ooxml
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
Time to build schema type system: 3.009 seconds
> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132: warning: [unchecked] unchecked cast
m.putAll((Map<String,Supplier<?>>)baseMap);
^
required: java.util.Map<java.lang.String,java.util.function.Supplier<?>>
found: java.lang.Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(org.apache.poi.ss.usermodel.CellType) in org.apache.poi.ss.usermodel.Cell has been deprecated
public final void setCellType(CellType cellType) {
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(org.apache.poi.ss.usermodel.CellType) in org.apache.poi.ss.usermodel.Cell has been deprecated
cell.setCellType(cellType);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in org.apache.poi.hssf.record.RecordInputStream has been deprecated
byte[] remainder = ris.readAllContinuedRemainder();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in org.apache.poi.hssf.record.RecordInputStream has been deprecated
byte[] data = in.readAllContinuedRemainder();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in org.apache.poi.hssf.record.DrawingRecord has been deprecated
_lastDrawingRecord.processContinueRecord(contRec.getData());
^
6 warnings
> Task :poi:compileJava9 FAILED
> Task :poi-ooxml-full:generate_beans
Time to generate code: 6.052 seconds
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi:compileJava9'.
> invalid flag: --module-path
* 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 47s
35 actionable tasks: 33 executed, 2 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is '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.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org