poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: POI-DSL-1.6 #287
Date Fri, 05 May 2017 18:27:39 GMT
See <https://builds.apache.org/job/POI-DSL-1.6/287/display/redirect?page=changes>

Changes:

[gwoolsey] 61060 - teach DataFormatter about conditional formatting rules with number formats

Currently only implemented for XSSF, as there is no API available for HSSF conditional formatting
rule number formats (if it is even in the files).

------------------------------------------
[...truncated 431.40 KB...]
  [javadoc] Loading source files for package org.apache.poi.hpbf...
  [javadoc] Loading source files for package org.apache.poi.hpbf.dev...
  [javadoc] Loading source files for package org.apache.poi.hpbf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hpbf.model...
  [javadoc] Loading source files for package org.apache.poi.hpbf.model.qcbits...
  [javadoc] Loading source files for package org.apache.poi.hslf.blip...
  [javadoc] Loading source files for package org.apache.poi.hslf.dev...
  [javadoc] Loading source files for package org.apache.poi.hslf.exceptions...
  [javadoc] Loading source files for package org.apache.poi.hslf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hslf.model...
  [javadoc] Loading source files for package org.apache.poi.hslf.model.textproperties...
  [javadoc] Loading source files for package org.apache.poi.hslf.record...
  [javadoc] Loading source files for package org.apache.poi.hslf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.hslf.util...
  [javadoc] Loading source files for package org.apache.poi.hsmf...
  [javadoc] Loading source files for package org.apache.poi.hsmf.datatypes...
  [javadoc] Loading source files for package org.apache.poi.hsmf.dev...
  [javadoc] Loading source files for package org.apache.poi.hsmf.exceptions...
  [javadoc] Loading source files for package org.apache.poi.hsmf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hsmf.parsers...
  [javadoc] Loading source files for package org.apache.poi.hssf.converter...
  [javadoc] Loading source files for package org.apache.poi.hwmf.draw...
  [javadoc] Loading source files for package org.apache.poi.hwmf.record...
  [javadoc] Loading source files for package org.apache.poi.hwmf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.hwpf...
  [javadoc] Loading source files for package org.apache.poi.hwpf.converter...
  [javadoc] Loading source files for package org.apache.poi.hwpf.dev...
  [javadoc] Loading source files for package org.apache.poi.hwpf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hwpf.model...
  [javadoc] Loading source files for package org.apache.poi.hwpf.model.io...
  [javadoc] Loading source files for package org.apache.poi.hwpf.model.types...
  [javadoc] Loading source files for package org.apache.poi.hwpf.sprm...
  [javadoc] Loading source files for package org.apache.poi.hwpf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.exceptions...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.opc...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.opc.internal...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.opc.internal.marshallers...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.opc.internal.unmarshallers...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.util...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.agile...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.dsig...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.dsig.facets...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.dsig.services...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.temp...
  [javadoc] Loading source files for package org.apache.poi.xdgf.exceptions...
  [javadoc] Loading source files for package org.apache.poi.xdgf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xdgf.geom...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel.section...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel.section.geometry...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel.shape...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel.shape.exceptions...
  [javadoc] Loading source files for package org.apache.poi.xdgf.util...
  [javadoc] Loading source files for package org.apache.poi.xdgf.xml...
  [javadoc] Loading source files for package org.apache.poi.xslf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xslf.model...
  [javadoc] Loading source files for package org.apache.poi.xslf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.xslf.util...
  [javadoc] Loading source files for package org.apache.poi.xssf...
  [javadoc] Loading source files for package org.apache.poi.xssf.binary...
  [javadoc] Loading source files for package org.apache.poi.xssf.dev...
  [javadoc] Loading source files for package org.apache.poi.xssf.eventusermodel...
  [javadoc] Loading source files for package org.apache.poi.xssf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xssf.model...
  [javadoc] Loading source files for package org.apache.poi.xssf.streaming...
  [javadoc] Loading source files for package org.apache.poi.xssf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.xssf.usermodel.charts...
  [javadoc] Loading source files for package org.apache.poi.xssf.usermodel.extensions...
  [javadoc] Loading source files for package org.apache.poi.xssf.usermodel.helpers...
  [javadoc] Loading source files for package org.apache.poi.xssf.util...
  [javadoc] Loading source files for package org.apache.poi.xwpf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xwpf.model...
  [javadoc] Loading source files for package org.apache.poi.xwpf.usermodel...
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.6.0_45
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Patched 1 link injection vulnerable javadocs

jar-src:
      [jar] Building jar: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/maven/poi/poi-3.17-beta1-sources.jar>
      [jar] Building jar: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/maven/poi-scratchpad/poi-scratchpad-3.17-beta1-sources.jar>
      [jar] Building jar: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/maven/poi-ooxml/poi-ooxml-3.17-beta1-sources.jar>
      [jar] Building jar: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/maven/poi-examples/poi-examples-3.17-beta1-sources.jar>
      [jar] Building jar: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/maven/poi-excelant/poi-excelant-3.17-beta1-sources.jar>

-do-jar-check-javadocs-package-list:

-do-jar-create-javadocs-package-list:

jar-javadocs:
     [echo] Building poi javadocs from <https://builds.apache.org/job/POI-DSL-1.6/ws/src/java>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/tmp/maven-javadocs>
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
      [jar] Building jar: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/maven/poi/poi-3.17-beta1-javadoc.jar>
     [echo] Building poi-scratchpad javadocs from <https://builds.apache.org/job/POI-DSL-1.6/ws/src/scratchpad/src>
   [delete] Deleting directory <https://builds.apache.org/job/POI-DSL-1.6/ws/build/tmp/maven-javadocs>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/tmp/maven-javadocs>
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
      [jar] Building jar: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/maven/poi-scratchpad/poi-scratchpad-3.17-beta1-javadoc.jar>
     [echo] Building poi-ooxml javadocs from <https://builds.apache.org/job/POI-DSL-1.6/ws/src/ooxml/java>
   [delete] Deleting directory <https://builds.apache.org/job/POI-DSL-1.6/ws/build/tmp/maven-javadocs>
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/tmp/maven-javadocs>
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
      [jar] Building jar: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/maven/poi-ooxml/poi-ooxml-3.17-beta1-javadoc.jar>

assemble:
      [zip] Building zip: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/poi-bin-3.17-beta1-20170505.zip>
      [tar] Building tar: <https://builds.apache.org/job/POI-DSL-1.6/287/artifact/build/dist/poi-bin-3.17-beta1-20170505.tar.gz>
      [zip] Building zip: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/poi-src-3.17-beta1-20170505.zip>
      [tar] Building tar: <https://builds.apache.org/job/POI-DSL-1.6/287/artifact/build/dist/poi-src-3.17-beta1-20170505.tar.gz>
     [echo] Creating Maven POMs

maven-poms:
     [copy] Copying 6 files to <https://builds.apache.org/job/POI-DSL-1.6/ws/build/dist/maven>
     [echo] Maven POMs are located in <https://builds.apache.org/job/POI-DSL-1.6/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-DSL-1.6/ws/build/dist>
     [echo] Use "ant dist-checksum" to create md5/sha1 checksums and GPG signatures

findbugs:
      [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-1.6/ws/lib/findbugs-noUpdateChecks-2.0.3.zip>
    [unzip] Expanding: <https://builds.apache.org/job/POI-DSL-1.6/ws/lib/findbugs-noUpdateChecks-2.0.3.zip>
into <https://builds.apache.org/job/POI-DSL-1.6/ws/build/findbugs>
 [findbugs] Executing findbugs FindBugsTask from ant task
 [findbugs] Running FindBugs...
 [findbugs] Warnings generated: 36
 [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-DSL-1.6/ws/build>
     [xslt] Processing <https://builds.apache.org/job/POI-DSL-1.6/ws/build/findbugs.xml>
to <https://builds.apache.org/job/POI-DSL-1.6/287/artifact/build/findbugs.html>
     [xslt] Loading stylesheet jar:<https://builds.apache.org/job/POI-DSL-1.6/ws/build/findbugs/lib/findbugs.jar!/fancy-hist.xsl>

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

rat-check:
    [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-1.6/ws/build/rat>
     [echo] 
     [echo] *****************************************************
     [echo] Summary
     [echo] -------
     [echo] Generated at: 2017-05-05T18:15:59+00:00
     [echo] 
     [echo] Notes: 1
     [echo] Binaries: 119
     [echo] Archives: 0
     [echo] Standards: 3596
     [echo] 
     [echo] Apache Licensed: 3595
     [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-DSL-1.6/ws/src/java/org/apache/poi/ss/usermodel/ExcelNumberFormat.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-DSL-1.6/ws/src/java/org/apache/poi/ss/usermodel/ExcelNumberFormat.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-DSL-1.6/ws/src/java/org/apache/poi/ss/usermodel/ExcelNumberFormat.java>
     [echo] =====================================================
     [echo] package org.apache.poi.ss.usermodel;
     [echo] 
     [echo] import java.util.List;
     [echo] 
     [echo] import org.apache.poi.ss.formula.ConditionalFormattingEvaluator;
     [echo] import org.apache.poi.ss.formula.EvaluationConditionalFormatRule;
     [echo] 
     [echo] /**
     [echo]  * Object to hold a number format index and string, for various formatting evaluations
     [echo]  */
     [echo] public class ExcelNumberFormat {
     [echo] 
     [echo]     private final int idx;
     [echo]     private final String format;
     [echo]     
     [echo]     /**
     [echo]      * @param style
     [echo]      * @return null if the style is null, instance from style data format values
otherwise
     [echo]      */
     [echo]     public static ExcelNumberFormat from(CellStyle style) {
     [echo]         if (style == null) return null;
     [echo]         return new ExcelNumberFormat(style.getDataFormat(), style.getDataFormatString());
     [echo]     }
     [echo]     
     [echo]     /**
     [echo]     * @param cell cell to extract format from
     [echo]     * @param cfEvaluator ConditionalFormattingEvaluator to use, or null if none
in this context
     [echo]     * @return number format from highest-priority rule with a number format, or
the cell style, or null if none of the above apply/are defined
     [echo]     */
     [echo]    public static ExcelNumberFormat from(Cell cell, ConditionalFormattingEvaluator
cfEvaluator) {
     [echo]        if (cell == null) return null;
     [echo]        
     [echo]        ExcelNumberFormat nf = null;
     [echo]        
     [echo]        if (cfEvaluator != null) {
     [echo]            // first one wins (priority order, per Excel help)
     [echo]            List<EvaluationConditionalFormatRule> rules = cfEvaluator.getConditionalFormattingForCell(cell);
     [echo]            for (EvaluationConditionalFormatRule rule : rules) {
     [echo]                nf = rule.getNumberFormat();
     [echo]                if (nf != null) break;
     [echo]            }
     [echo]        }
     [echo]        if (nf == null) {
     [echo]            CellStyle style = cell.getCellStyle();
     [echo]            nf = ExcelNumberFormat.from(style);
     [echo]        }
     [echo]        return nf;
     [echo]    }
     [echo]    
     [echo]     /**

BUILD FAILED
<https://builds.apache.org/job/POI-DSL-1.6/ws/build.xml>:2168: condition satisfied

Total time: 21 minutes 29 seconds
Build step 'Invoke Ant' marked build as failure
Skipping publisher since build result is FAILURE
Archiving artifacts
Compressed 226.21 MB of artifacts by 56.3% relative to #286
Skipping publisher since build result is FAILURE
Recording test results

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


Mime
View raw message