See <https://builds.apache.org/job/POI-OpenJDK/100/changes>

Changes:

[centic] * Make on unit test not fail if Fonts are not available on the machine
* Refactor SheetUtil a bit to reduce code-duplication, adjust JavaDoc for -1 
return values
* Add method to check if we can compute text-width
* Add unit-tests which verify some more of SheetUtil

[centic] Fixup printing record name in case of unknown sid

[centic] More coverage of class EscherDump

[centic] Report which actual record a failing sid represents

[centic] Add default cleanup-settings

[centic] Fix some Eclipse warnings and adjust use of Generics, Comments, close()

------------------------------------------
[...truncated 76 lines...]
     [echo] Using Java: 1.6.0_32/1.6.0_32-b27/20.0-b12/OpenJDK 64-Bit Server VM 
from Sun Microsystems Inc. on FreeBSD: 9.1-RELEASE-p3

compile-main:
    [javac] Compiling 1030 source files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/classes>
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 512 source files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/test-classes>
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 3 files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/classes>

compile-scratchpad:
    [javac] Compiling 506 source files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/scratchpad-classes>
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 184 source files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/scratchpad-test-classes>
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/src/scratchpad/testcases/org/apache/poi/hslf/TestReWriteSanity.java>
 uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 2 files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/scratchpad-classes>

check-ooxml-xsds:

fetch-ooxml-xsds:

check-compiled-ooxml-xsds:

compile-ooxml-xsds:

compile-ooxml:
    [javac] Compiling 387 source files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/ooxml-classes>
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 185 source files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/ooxml-test-classes>
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
     [copy] Copying 3 files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/ooxml-classes>

compile-examples:
    [javac] Compiling 136 source files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/examples-classes>
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 1 file to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/examples-classes>

compile-excelant:
    [javac] Compiling 14 source files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/excelant-classes>
    [javac] Note: 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/src/excelant/java/org/apache/poi/ss/excelant/util/ExcelAntWorkbookUtil.java>
 uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Compiling 13 source files to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/excelant-test-classes>
     [copy] Copying 1 file to 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/excelant-classes>

compile:

compile-ooxml-lite:
    [mkdir] Created dir: 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/ooxml-lite-merged>
      [jar] Building jar: 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/ooxml-lite-merged/ooxml-lite-merged.jar>
     [java] Collecting unit tests from 
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build/ooxml-test-classes>
     [java] Inner class 
org.apache.poi.poifs.crypt.TestCertificateEncryption$CertData.class not included
     [java] Inner class org.apache.poi.xslf.geom.TestPresetGeometries$1.class 
not included
     [java] Inner class 
org.apache.poi.xssf.streaming.TestSXSSFWorkbook$NullOutputStream.class not 
included
     [java] Inner class org.apache.poi.xssf.streaming.TestSXSSFWorkbook$1.class 
not included
     [java] Inner class 
org.apache.poi.xssf.extractor.TestXSSFExportToXML$DummyEntityResolver.class not 
included
     [java] Inner class 
org.apache.poi.xssf.extractor.TestXSSFExportToXML$1.class not included
     [java] Inner class org.apache.poi.xssf.usermodel.TestXSSFBugs$1.class not 
included
     [java] Inner class 
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvaluatorOnXSSF$SS.class not 
included
     [java] Inner class 
org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF$Result.class not 
included
     [java] Inner class 
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvaluatorOnXSSF$Result.class 
not included
     [java] Inner class 
org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF$SS.class not included
     [java] Class org.apache.poi.xssf.usermodel.TestXSSFSheetAutosizeColumn 
does not derive from TestCase and does not have a @Test annotation
     [java] Inner class org.apache.poi.TestPOIXMLDocument$TestFactory.class not 
included
     [java] Inner class org.apache.poi.TestPOIXMLDocument$OPCParser.class not 
included
     [java] Found 166 classes
     [java] ......SLF4J: Failed to load class 
"org.slf4j.impl.StaticLoggerBinder".
     [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
     [java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for 
further details.
     [java] 
............I..................................................................................E...........................................................II..............Name:
 /word/document.xml - Content Type: 
application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml
     [java] 
.......................................................................................................................................................Setting
 col: 0 and row 0
     [java] Setting col: 1 and row 1
     [java] 
..............................................................................................................................................................................................................................................................Done
     [java] ...........<?xml version="1.0" encoding="UTF-8"?>
     [java] <worksheet 
xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main";><dimension 
ref="A1"/><sheetViews><sheetView workbookViewId="0" 
tabSelected="true"/></sheetViews><sheetFormatPr 
defaultRowHeight="15.0"/><sheetData/><pageMargins bottom="0.75" footer="0.3" 
header="0.3" left="0.7" right="0.7" top="0.75"/></worksheet>
     [java] 
....................................................................................................................IIII.III......I........E..............................................................................Warning
 - Row 13 has no cell 1, can't figure out test name
     [java] 
........................................................................................................................................................................................................[Fatal
 Error] :1:1: The parser has encountered more than "4,096" entity expansions in 
this document; this is the limit imposed by the application.
     [java] [Fatal Error] :1:1: The parser has encountered more than "4,096" 
entity expansions in this document; this is the limit imposed by the 
application.
     [java] 
...............I.....I...................I..........E..............................org.apache.poi.ss.usermodel.CellValue
 [12.0]
     [java] org.apache.poi.ss.usermodel.CellValue [12.0]
     [java] .....org.apache.poi.ss.usermodel.CellValue [1.0]
     [java] org.apache.poi.ss.usermodel.CellValue [1.0]
     [java] .org.apache.poi.ss.usermodel.CellValue [2.0]
     [java] org.apache.poi.ss.usermodel.CellValue [2.0]
     [java] .org.apache.poi.ss.usermodel.CellValue [2.0]
     [java] .org.apache.poi.ss.usermodel.CellValue [2.0]
     [java] .org.apache.poi.ss.usermodel.CellValue [2.0]
     [java] .org.apache.poi.ss.usermodel.CellValue [3.0]
     [java] 
......................................................................................................................I...............................................................................Exception
 in thread "main" java.lang.RuntimeException: Tests did not succeed, cannot 
build ooxml-lite jar
     [java]     at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:98)
     [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:82)
     [java] 
     [java] Time: 207.788
     [java] There were 3 failures:
     [java] 1) render(org.apache.poi.xslf.usermodel.TestPPTX2PNG)
     [java] java.lang.ArrayIndexOutOfBoundsException: 0
     [java]     at 
sun.font.ExtendedTextSourceLabel.createCharinfo(ExtendedTextSourceLabel.java:608)
     [java]     at 
sun.font.ExtendedTextSourceLabel.getCharinfo(ExtendedTextSourceLabel.java:508)
     [java]     at 
sun.font.ExtendedTextSourceLabel.getLineBreakIndex(ExtendedTextSourceLabel.java:454)
     [java]     at 
java.awt.font.TextMeasurer.calcLineBreak(TextMeasurer.java:325)
     [java]     at 
java.awt.font.TextMeasurer.getLineBreakIndex(TextMeasurer.java:561)
     [java]     at 
java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.java:358)
     [java]     at 
java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:440)
     [java]     at 
org.apache.poi.xslf.usermodel.XSLFTextParagraph.breakText(XSLFTextParagraph.java:931)
     [java]     at 
org.apache.poi.xslf.usermodel.XSLFTextShape.breakText(XSLFTextShape.java:483)
     [java]     at 
org.apache.poi.xslf.usermodel.XSLFTextShape.drawContent(XSLFTextShape.java:491)
     [java]     at 
org.apache.poi.xslf.usermodel.RenderableShape.render(RenderableShape.java:543)
     [java]     at 
org.apache.poi.xslf.usermodel.XSLFSimpleShape.draw(XSLFSimpleShape.java:534)
     [java]     at 
org.apache.poi.xslf.usermodel.XSLFSheet.draw(XSLFSheet.java:506)
     [java]     at 
org.apache.poi.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:220)
     [java]     at 
org.apache.poi.xslf.usermodel.TestPPTX2PNG.render(TestPPTX2PNG.java:50)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java]     at java.lang.reflect.Method.invoke(Method.java:616)
     [java]     at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
     [java]     at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
     [java]     at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
     [java]     at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
     [java]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
     [java]     at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
     [java]     at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
     [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java]     at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
     [java]     at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
     [java]     at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
     [java]     at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
     [java]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java]     at org.junit.runners.Suite.runChild(Suite.java:128)
     [java]     at org.junit.runners.Suite.runChild(Suite.java:27)
     [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java]     at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
     [java]     at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
     [java]     at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
     [java]     at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
     [java]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:94)
     [java]     at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:96)
     [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:82)
     [java] 2) 
bug50681_testAutoSize(org.apache.poi.xssf.usermodel.TestSXSSFBugs)
     [java] java.lang.AssertionError: expected:<65280> but was:<0>
     [java]     at org.junit.Assert.fail(Assert.java:88)
     [java]     at org.junit.Assert.failNotEquals(Assert.java:834)
     [java]     at org.junit.Assert.assertEquals(Assert.java:645)
     [java]     at org.junit.Assert.assertEquals(Assert.java:631)
     [java]     at 
org.apache.poi.ss.usermodel.BaseTestBugzillaIssues.bug50681_testAutoSize(BaseTestBugzillaIssues.java:364)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java]     at java.lang.reflect.Method.invoke(Method.java:616)
     [java]     at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
     [java]     at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
     [java]     at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
     [java]     at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
     [java]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
     [java]     at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
     [java]     at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
     [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java]     at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
     [java]     at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
     [java]     at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
     [java]     at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
     [java]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java]     at org.junit.runners.Suite.runChild(Suite.java:128)
     [java]     at org.junit.runners.Suite.runChild(Suite.java:27)
     [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java]     at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
     [java]     at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
     [java]     at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
     [java]     at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
     [java]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:94)
     [java]     at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:96)
     [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:82)
     [java] 3) bug50681_testAutoSize(org.apache.poi.xssf.usermodel.TestXSSFBugs)
     [java] java.lang.AssertionError: expected:<65280> but was:<0>
     [java]     at org.junit.Assert.fail(Assert.java:88)
     [java]     at org.junit.Assert.failNotEquals(Assert.java:834)
     [java]     at org.junit.Assert.assertEquals(Assert.java:645)
     [java]     at org.junit.Assert.assertEquals(Assert.java:631)
     [java]     at 
org.apache.poi.ss.usermodel.BaseTestBugzillaIssues.bug50681_testAutoSize(BaseTestBugzillaIssues.java:364)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java]     at java.lang.reflect.Method.invoke(Method.java:616)
     [java]     at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
     [java]     at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
     [java]     at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
     [java]     at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
     [java]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
     [java]     at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
     [java]     at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
     [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java]     at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
     [java]     at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
     [java]     at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
     [java]     at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
     [java]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java]     at org.junit.runners.Suite.runChild(Suite.java:128)
     [java]     at org.junit.runners.Suite.runChild(Suite.java:27)
     [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java]     at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
     [java]     at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
     [java]     at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
     [java]     at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
     [java]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:94)
     [java]     at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:96)
     [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:82)
     [java] 
     [java] FAILURES!!!
     [java] Tests run: 1284,  Failures: 3
     [java] 

BUILD FAILED
/usr<https://builds.apache.org/job/POI-OpenJDK/ws/build.xml>:1152: Java 
returned: 1

Total time: 4 minutes 35 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
Recording test results

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

Reply via email to