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 2016/07/04 00:32:24 UTC

Build failed in Jenkins: POI-JDK8 #1102

See <https://builds.apache.org/job/POI-JDK8/1102/changes>

Changes:

[onealj] bug 59788: move DefaultTempFileCreationStrategy from TempFile inner class to its own class

[kiwiwings] javadocs fixes (jdk8)

[onealj] whitespace

[onealj] make class attributes final; return unmodifiable lists

[onealj] revert whitespace changes to ASF license; previous commit r1751180 contributed by sebb

[onealj] bug 59786: fix NPE from winmail.dat files if message body is null

[onealj] whitespace (3 spaces and tabs to 4 spaces)

[onealj] uncomment ignored unit tests so they at least compile

[onealj] bug 59788: create temporary directories

[kiwiwings] deprecated DrawingManager

------------------------------------------
[...truncated 6300 lines...]
  [javadoc]      &lt;t xml:space="preserve">Causes Problems&lt;/t>
  [javadoc]                                                      ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:70: error: bad use of '>'
  [javadoc]    &lt;/r>
  [javadoc]          ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:71: error: bad use of '>'
  [javadoc]  &lt;/si>
  [javadoc]         ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:72: error: bad use of '>'
  [javadoc]  &lt;si>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:73: error: bad use of '>'
  [javadoc]    &lt;t>This does not&lt;/t>
  [javadoc]         ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:73: error: bad use of '>'
  [javadoc]    &lt;t>This does not&lt;/t>
  [javadoc]                             ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:74: error: bad use of '>'
  [javadoc]  &lt;/si>
  [javadoc]         ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:75: error: bad use of '>'
  [javadoc] &lt;/sst>
  [javadoc]         ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:102: error: exception not thrown: javax.xml.parsers.ParserConfigurationException
  [javadoc]      * @throws ParserConfigurationException
  [javadoc]                ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExportToXml.java>:121: error: exception not thrown: org.apache.poi.openxml4j.exceptions.InvalidFormatException
  [javadoc]      * @throws InvalidFormatException
  [javadoc]                ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFImportFromXML.java>:86: error: exception not thrown: javax.xml.parsers.ParserConfigurationException
  [javadoc]      * @throws ParserConfigurationException if there are problems with XML parser configuration
  [javadoc]                ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:100: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if <code>num</code> < 0
  [javadoc]                                                             ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:101: error: malformed HTML
  [javadoc]      * @throws IllegalStateException if <code>num</code> < current number of data formats in the style table.
  [javadoc]                                                          ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java>:196: error: self-closing element not allowed
  [javadoc]      * <p/>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:127: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if columnIndex < 0 or greater than the maximum number of supported columns
  [javadoc]                                                        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:144: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if columnIndex < 0 or greate than a maximum number of supported columns
  [javadoc]                                                        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:202: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if rowNum < 0
  [javadoc]                                                   ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:241: error: malformed HTML
  [javadoc]      * @throws IllegalArgumentException if cellnum < 0 or the specified MissingCellPolicy is invalid
  [javadoc]                                                    ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java>:774: error: self-closing element not allowed
  [javadoc]      * <p/>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java>:787: error: self-closing element not allowed
  [javadoc]      * <p/>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java>:839: error: bad use of '>'
  [javadoc]      * @return true => protection enabled; false => protection disabled
  [javadoc]                      ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java>:839: error: bad use of '>'
  [javadoc]      * @return true => protection enabled; false => protection disabled
  [javadoc]                                                   ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java>:860: error: bad use of '>'
  [javadoc]      * @return true => protection enabled; false => protection disabled
  [javadoc]                      ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java>:860: error: bad use of '>'
  [javadoc]      * @return true => protection enabled; false => protection disabled
  [javadoc]                                                   ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java>:885: error: bad HTML entity
  [javadoc]      * Valid values range from 10 to 400. Horizontal & Vertical scale together.
  [javadoc]                                                      ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java>:1269: error: unexpected end tag: </p>
  [javadoc]      * </p>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java>:1281: error: unexpected end tag: </p>
  [javadoc]      * </p>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java>:1311: error: bad use of '>'
  [javadoc]      * @param level     outline level (> 0)
  [javadoc]                                        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java>:757: error: bad HTML entity
  [javadoc]      * @param index of the sheet number (0-based physical & logical)
  [javadoc]                                                           ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java>:1029: error: self-closing element not allowed
  [javadoc]      * Gets the defined name index by name<br/>
  [javadoc]                                           ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java>:266: error: unexpected end tag: </p>
  [javadoc]      * </p>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java>:137: error: unexpected end tag: </p>
  [javadoc]      * </p>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java>:174: error: unexpected end tag: </p>
  [javadoc]      * </p>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java>:198: error: unexpected end tag: </p>
  [javadoc]      * </p>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java>:223: error: unexpected end tag: </p>
  [javadoc]      * </p>
  [javadoc]        ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java>:617: error: unexpected end tag: </code>
  [javadoc]      * @return the cell's style.</code>
  [javadoc]                                 ^
  [javadoc] <https://builds.apache.org/job/POI-JDK8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java>:365: error: self-closing element not allowed
  [javadoc]      * <br/>
  [javadoc]        ^
  [javadoc] 100 errors
  [javadoc] 100 warnings
      [jar] Building jar: <https://builds.apache.org/job/POI-JDK8/ws/build/dist/maven/poi-ooxml/poi-ooxml-3.15-beta3-javadoc.jar>

assemble:
      [zip] Building zip: <https://builds.apache.org/job/POI-JDK8/ws/build/dist/poi-bin-3.15-beta3-20160704.zip>
      [tar] Building tar: <https://builds.apache.org/job/POI-JDK8/1102/artifact/build/dist/poi-bin-3.15-beta3-20160704.tar.gz>
      [zip] Building zip: <https://builds.apache.org/job/POI-JDK8/ws/build/dist/poi-src-3.15-beta3-20160704.zip>
      [tar] Building tar: <https://builds.apache.org/job/POI-JDK8/1102/artifact/build/dist/poi-src-3.15-beta3-20160704.tar.gz>
     [echo] Creating Maven POMs

maven-poms:
     [copy] Copying 6 files to <https://builds.apache.org/job/POI-JDK8/ws/build/dist/maven>
     [echo] Maven POMs are located in <https://builds.apache.org/job/POI-JDK8/ws/build/dist>
     [echo] Use ant dist-nexus to deploy the artifacts in the remote repository
     [echo] Distribution located in <https://builds.apache.org/job/POI-JDK8/ws/build/dist>
     [echo] Use "ant dist-checksum" to create md5/sha1 checksums and GPG signatures

findbugs:
    [unzip] Expanding: <https://builds.apache.org/job/POI-JDK8/ws/lib/findbugs-noUpdateChecks-3.0.1.zip> into <https://builds.apache.org/job/POI-JDK8/ws/build/findbugs>
 [findbugs] Executing findbugs FindBugsTask from ant task
 [findbugs] Running FindBugs...
 [findbugs] Warnings generated: 33
 [findbugs] Calculating exit code...
 [findbugs] Setting 'bugs found' flag (1)
 [findbugs] Exit code set to: 1
 [findbugs] Java Result: 1
 [findbugs] Output saved to build/findbugs.xml
     [xslt] Transforming into <https://builds.apache.org/job/POI-JDK8/ws/build>
     [xslt] Processing <https://builds.apache.org/job/POI-JDK8/ws/build/findbugs.xml> to <https://builds.apache.org/job/POI-JDK8/1102/artifact/build/findbugs.html>
     [xslt] Loading stylesheet jar:<https://builds.apache.org/job/POI-JDK8/ws/build/findbugs/lib/findbugs.jar!/fancy-hist.xsl>

release-notes:
     [copy] Copying 1 file to <https://builds.apache.org/job/POI-JDK8/ws/build/dist>

rat-check:
    [mkdir] Created dir: <https://builds.apache.org/job/POI-JDK8/ws/build/rat>
     [echo] 
     [echo] *****************************************************
     [echo] Summary
     [echo] -------
     [echo] Generated at: 2016-07-04T00:25:26+00:00
     [echo] 
     [echo] Notes: 1
     [echo] Binaries: 122
     [echo] Archives: 0
     [echo] Standards: 3470
     [echo] 
     [echo] Apache Licensed: 3469
     [echo] Generated Documents: 0
     [echo] 
     [echo] JavaDocs are generated, thus a license header is optional.
     [echo] Generated files do not require license headers.
     [echo] 
     [echo] 1 Unknown Licenses
     [echo] 
     [echo] *****************************************************
     [echo] 
     [echo] Files with unapproved licenses:
     [echo] 
     [echo]   <https://builds.apache.org/job/POI-JDK8/ws/src/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java>
     [echo] 
     [echo] *****************************************************
     [echo] 
     [echo] *****************************************************
     [echo]   Files with Apache License headers will be marked AL
     [echo]   Binary files (which do not require any license headers) will be marked B
     [echo]   Compressed archives will be marked A
     [echo]   Notices, licenses etc. will be marked N
     [echo]  !????? <https://builds.apache.org/job/POI-JDK8/ws/src/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java>
     [echo]  
     [echo] *****************************************************
     [echo] 
     [echo]  Printing headers for text files without a valid license header...
     [echo]  
     [echo] =====================================================
     [echo] == File: <https://builds.apache.org/job/POI-JDK8/ws/src/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java>
     [echo] =====================================================
     [echo] package org.apache.poi.util;
     [echo] 
     [echo] import java.io.File;
     [echo] import java.io.IOException;
     [echo] import java.security.SecureRandom;
     [echo] 
     [echo] /**
     [echo]  * Default implementation of the {@link TempFileCreationStrategy} used by {@link TempFile}:
     [echo]  * Files are collected into one directory and by default are deleted on exit from the VM.
     [echo]  * Files may be manually deleted by user prior to JVM exit.
     [echo]  * Files can be kept by defining the system property {@link #KEEP_FILES}.
     [echo]  */
     [echo] public class DefaultTempFileCreationStrategy implements TempFileCreationStrategy {
     [echo]     /** Define a constant for this property as it is sometimes mistypes as "tempdir" otherwise */
     [echo]     private static final String JAVA_IO_TMPDIR = TempFile.JAVA_IO_TMPDIR;
     [echo]     /** To keep files after JVM exit, set the <code>-Dpoi.keep.tmp.files</code> JVM property */
     [echo]     public static final String KEEP_FILES = "poi.keep.tmp.files";
     [echo]     
     [echo]     /** The directory where the temporary files will be created (<code>null</code> to use the default directory). */
     [echo]     private File dir;
     [echo]     
     [echo]     /**
     [echo]      * Creates the strategy so that it creates the temporary files in the default directory.
     [echo]      * 
     [echo]      * @see File#createTempFile(String, String)
     [echo]      */
     [echo]     public DefaultTempFileCreationStrategy() {
     [echo]         this(null);
     [echo]     }
     [echo]     
     [echo]     /**
     [echo]      * Creates the strategy allowing to set the  
     [echo]      *
     [echo]      * @param dir The directory where the temporary files will be created (<code>null</code> to use the default directory).
     [echo]      * 
     [echo]      * @see File#createTempFile(String, String, File)
     [echo]      */
     [echo]     public DefaultTempFileCreationStrategy(File dir) {
     [echo]         this.dir = dir;
     [echo]     }
     [echo]     
     [echo]     private void createPOIFilesDirectory() throws IOException {
     [echo]         // Identify and create our temp dir, if needed
     [echo]         // The directory is not deleted, even if it was created by this TempFileCreationStrategy
     [echo]         if (dir == null) {
     [echo]             String tmpDir = System.getProperty(JAVA_IO_TMPDIR);
     [echo]             if (tmpDir == null) {
     [echo]                 throw new IOException("Systems temporary directory not defined - set the -D"+JAVA_IO_TMPDIR+" jvm property!");
     [echo]             }
     [echo]             dir = new File(tmpDir, "poifiles");

BUILD FAILED
<https://builds.apache.org/job/POI-JDK8/ws/build.xml>:2027: condition satisfied

Total time: 18 minutes 52 seconds
Build step 'Invoke Ant' marked build as failure
[FINDBUGS] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Compressed 144.72 MB of artifacts by 40.9% relative to #1101
Recording test results

---------------------------------------------------------------------
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-JDK8 #1103

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/POI-JDK8/1103/changes>


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