See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/217/display/redirect?page=changes>

Changes:

[PJ Fanning] java 17 build issue


------------------------------------------
[...truncated 175.11 KB...]
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi/poi-5.2.1-SNAPSHOT.jar(/org/apache/poi/extractor/POITextExtractor.class)>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:39:
 error: cannot access ExcelExtractor
import org.apache.poi.hssf.extractor.ExcelExtractor;
                                    ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi/poi-5.2.1-SNAPSHOT.jar(/org/apache/poi/hssf/extractor/ExcelExtractor.class)>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:40:
 error: cannot access Biff8EncryptionKey
import org.apache.poi.hssf.record.crypto.Biff8EncryptionKey;
                                        ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi/poi-5.2.1-SNAPSHOT.jar(/org/apache/poi/hssf/record/crypto/Biff8EncryptionKey.class)>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:44:
 error: cannot access DirectoryEntry
import org.apache.poi.poifs.filesystem.DirectoryEntry;
                                      ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi/poi-5.2.1-SNAPSHOT.jar(/org/apache/poi/poifs/filesystem/DirectoryEntry.class)>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:45:
 error: cannot access DirectoryNode
import org.apache.poi.poifs.filesystem.DirectoryNode;
                                      ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi/poi-5.2.1-SNAPSHOT.jar(/org/apache/poi/poifs/filesystem/DirectoryNode.class)>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:46:
 error: cannot access Entry
import org.apache.poi.poifs.filesystem.Entry;
                                      ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi/poi-5.2.1-SNAPSHOT.jar(/org/apache/poi/poifs/filesystem/Entry.class)>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:47:
 error: cannot access FileMagic
import org.apache.poi.poifs.filesystem.FileMagic;
                                      ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi/poi-5.2.1-SNAPSHOT.jar(/org/apache/poi/poifs/filesystem/FileMagic.class)>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:48:
 error: cannot access POIFSFileSystem
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
                                      ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi/poi-5.2.1-SNAPSHOT.jar(/org/apache/poi/poifs/filesystem/POIFSFileSystem.class)>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:49:
 error: cannot access SlideShowExtractor
import org.apache.poi.sl.extractor.SlideShowExtractor;
                                  ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi/poi-5.2.1-SNAPSHOT.jar(/org/apache/poi/sl/extractor/SlideShowExtractor.class)>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:50:
 error: cannot access SlideShowFactory
import org.apache.poi.sl.usermodel.SlideShowFactory;
                                  ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build/dist/maven/poi/poi-5.2.1-SNAPSHOT.jar(/org/apache/poi/sl/usermodel/SlideShowFactory.class)>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:60:
 error: cannot find symbol
public class OLE2ScratchpadExtractorFactory implements ExtractorProvider {
                                                       ^
  symbol: class ExtractorProvider
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:79:
 error: cannot find symbol
    public boolean accepts(FileMagic fm) {
                           ^
  symbol:   class FileMagic
  location: class OLE2ScratchpadExtractorFactory
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:85:
 error: cannot find symbol
    public POITextExtractor create(File file, String password) throws 
IOException {
           ^
  symbol:   class POITextExtractor
  location: class OLE2ScratchpadExtractorFactory
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:90:
 error: cannot find symbol
    public POITextExtractor create(InputStream inputStream, String password) 
throws IOException {
           ^
  symbol:   class POITextExtractor
  location: class OLE2ScratchpadExtractorFactory
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/main/java/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java>:107:
 error: cannot find symbol
    public POITextExtractor create(DirectoryNode poifsDir, String password) 
throws IOException {
                                   ^
  symbol:   class DirectoryNode
  location: class OLE2ScratchpadExtractorFactory
100 errors

> Task :poi:spotbugsTest
448 SpotBugs violations were found.See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/reports/spotbugs/test.xml>

> Task :poi:javadoc
error: cannot access XSSFColor

  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/build/classes/java/main/org/apache/poi/xssf/usermodel/XSSFColor.class>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/usermodel/ExtendedColor.java>:23:
 error: reference not found
 *  {@link org.apache.poi.xssf.usermodel.XSSFColor} or a
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/usermodel/ExtendedColor.java>:1:
 error: cannot access VisioTextExtractor
/* ====================================================================
                             ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/build/classes/java/main/org/apache/poi/hdgf/extractor/VisioTextExtractor.class>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/extractor/POIOLE2TextExtractor.java>:33:
 error: reference not found
 * @see org.apache.poi.hdgf.extractor.VisioTextExtractor
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/extractor/POIOLE2TextExtractor.java>:34:
 error: reference not found
 * @see org.apache.poi.hwpf.extractor.WordExtractor
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/extractor/POITextExtractor.java>:30:
 error: reference not found
 * @see org.apache.poi.hdgf.extractor.VisioTextExtractor
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/extractor/POITextExtractor.java>:31:
 error: reference not found
 * @see org.apache.poi.hwpf.extractor.WordExtractor
        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/usermodel/ExtendedColor.java>:1:
 error: cannot access POIXMLExtractorFactory
/* ====================================================================
                              ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/build/classes/java/main/org/apache/poi/ooxml/extractor/POIXMLExtractorFactory.class>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/extractor/ExtractorFactory.java>:50:
 error: reference not found
 *  {@link org.apache.poi.ooxml.extractor.POIXMLExtractorFactory} contained 
within
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluator.java>:39:
 error: reference not found
 * 90% of memory consumption is due to loading of the {@link HSSFWorkbook} or 
{@link org.apache.poi.xssf.usermodel.XSSFWorkbook}.
                                                                                
     ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/util/PropertyTemplate.java>:43:
 error: reference not found
 * {@link org.apache.poi.xssf.streaming.SXSSFWorkbook} Spreadsheets are not
          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/util/PropertyTemplate.java>:45:
 error: reference not found
 * {@link HSSFWorkbook} and {@link org.apache.poi.xssf.usermodel.XSSFWorkbook}
                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/usermodel/ExtendedColor.java>:1:
 error: cannot access ColorSchemeAtom
/* ====================================================================
                          ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/build/classes/java/main/org/apache/poi/hslf/record/ColorSchemeAtom.class>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ddf/EscherColorRef.java>:285:
 error: reference not found
     * @see org.apache.poi.hslf.record.ColorSchemeAtom#getColor(int)
            ^

> Task :poi-ooxml:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java>:1361:
 warning: [deprecation] getCTExternalLink() in ExternalLinksTable has been 
deprecated
                CTExternalLink link = 
workbook2.getExternalLinksTable().get(0).getCTExternalLink();
                                                                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/test/java/org/apache/poi/xssf/extractor/TestXSSFExportToXML.java>:692:
 warning: [unchecked] getPrefixes(String) in TestXSSFExportToXML.XPathNSContext 
implements getPrefixes(String) in NamespaceContext
        public Iterator getPrefixes(String val) {
                        ^
  return type requires unchecked conversion from Iterator to Iterator<String>
15 warnings

> Task :poi:javadoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/extractor/ExtractorFactory.java>:262:
 error: reference not found
     *  {@link org.apache.poi.ooxml.extractor.POIXMLExtractorFactory} for that.
               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/extractor/ExtractorFactory.java>:281:
 error: reference not found
         *  {@link org.apache.poi.ooxml.extractor.POIXMLExtractorFactory} for 
that.
                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/OperationEvaluationContext.java>:213:
 warning: no description for @throws
     * @throws IllegalArgumentException
       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/OperationEvaluationContext.java>:214:
 warning: no description for @throws
     * @throws IllegalStateException
       ^

> Task :poi:spotbugsMain
442 SpotBugs violations were found.See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/reports/spotbugs/main.xml>

> Task :poi:javadoc
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/usermodel/ExtendedColor.java>:1:
 error: cannot access POIXMLDocument
/* ====================================================================
                    ^
  bad class file: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/build/classes/java/main/org/apache/poi/ooxml/POIXMLDocument.class>
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the 
classpath.
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/sl/usermodel/SlideShow.java>:133:
 error: reference not found
     * or {@link org.apache.poi.ooxml.POIXMLDocument}
                 ^
18 errors
2 warnings

> Task :poi:javadoc FAILED

FAILURE: Build completed with 4 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':poi-excelant:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for 
> troubleshooting): 
> '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-excelant/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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':poi-examples:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for 
> troubleshooting): 
> '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-examples/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.
==============================================================================

3: Task 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.17/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.
==============================================================================

4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':poi:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for 
> troubleshooting): 
> '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/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.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4m 44s
68 actionable tasks: 64 executed, 4 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'
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to