See <https://builds.apache.org/job/POI-DSL-1.6/147/changes>
Changes: [onealj] Per JavaDoc and tallison, XWPFTableCell#getVerticalAlignment() should return null if valign is not set. Patch from prasad-babu. This closes #30 on GitHub. https://github.com/apache/poi/pull/30#issuecomment-186224438 ------------------------------------------ [...truncated 2204 lines...] [java] /_rels/.rels [java] application/vnd.openxmlformats-package.relationships+xml [java] 588 bytes [java] /docProps/app.xml [java] application/vnd.openxmlformats-officedocument.extended-properties+xml [java] 839 bytes [java] 0 relations [java] /docProps/core.xml [java] application/vnd.openxmlformats-package.core-properties+xml [java] 0 relations [java] /xl/_rels/workbook.xml.rels [java] application/vnd.openxmlformats-package.relationships+xml [java] 980 bytes [java] /xl/sharedStrings.xml [java] application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml [java] 477 bytes [java] 0 relations [java] /xl/styles.xml [java] application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml [java] 2237 bytes [java] 0 relations [java] /xl/theme/theme1.xml [java] application/vnd.openxmlformats-officedocument.theme+xml [java] 6995 bytes [java] 0 relations [java] /xl/workbook.xml [java] application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml [java] 624 bytes [java] 6 relations [java] Relationship: [java] From: /xl/workbook.xml [java] To: /xl/worksheets/sheet1.xml [java] ID: rId1 [java] Mode: INTERNAL [java] Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet [java] Relationship: [java] From: /xl/workbook.xml [java] To: /xl/worksheets/sheet2.xml [java] ID: rId2 [java] Mode: INTERNAL [java] Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet [java] Relationship: [java] From: /xl/workbook.xml [java] To: /xl/worksheets/sheet3.xml [java] ID: rId3 [java] Mode: INTERNAL [java] Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet [java] Relationship: [java] From: /xl/workbook.xml [java] To: /xl/theme/theme1.xml [java] ID: rId4 [java] Mode: INTERNAL [java] Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme [java] Relationship: [java] From: /xl/workbook.xml [java] To: /xl/styles.xml [java] ID: rId5 [java] Mode: INTERNAL [java] Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles [java] Relationship: [java] From: /xl/workbook.xml [java] To: /xl/sharedStrings.xml [java] ID: rId6 [java] Mode: INTERNAL [java] Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings [java] /xl/worksheets/sheet1.xml [java] application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml [java] 1814 bytes [java] 0 relations [java] /xl/worksheets/sheet2.xml [java] application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml [java] 439 bytes [java] 0 relations [java] /xl/worksheets/sheet3.xml [java] application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml [java] 439 bytes [java] 0 relations [java] [java] Relationship: [java] From: / [java] To: /xl/workbook.xml [java] ID: rId1 [java] Mode: INTERNAL [java] Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument [java] Relationship: [java] From: / [java] To: /docProps/core.xml [java] ID: rId2 [java] Mode: INTERNAL [java] Type: http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties [java] Relationship: [java] From: / [java] To: /docProps/app.xml [java] ID: rId3 [java] Mode: INTERNAL [java] Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties [java] .III.Reading zip-file <https://builds.apache.org/job/POI-DSL-1.6/ws/test-data/spreadsheet/Formatting.xlsx> and writing pretty-printed XML to /tmp/poifiles/Formatting3275637538843220049-pretty.xlsx [java] ............ [java] Done. [java] org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException: No valid entries or contents found, this is not a valid OOXML (Office Open XML) file [java] at org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:286) [java] at org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:758) [java] at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:298) [java] at org.apache.poi.openxml4j.opc.TestPackage.testCorruptFile(TestPackage.java:953) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [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:131) [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88) [java] ..I...................................................................................................................................................................I..............org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException [java] No valid entries or contents found, this is not a valid OOXML (Office Open XML) file [java] .........I...............................................................................................................................................................I..I.I.I...................................................11 [java] Calibri [java] ...................................Setting col: 0 and row 0 [java] Setting col: 1 and row 1 [java] ...............................................................................I.....I........................................................................................................................III.II.I.......I.......I.....I.......................................Cell formula evaluation currently unsupported [java] Array formulas currently unsupported [java] ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................I.....Cell: 3E-104 [java] Cell: 5E-104 [java] Cell: 5E-106 [java] Cell: [java] .II........I.I........................I........Reading row 0, col 1 [java] Formula:A1 [java] Formula Result Type:STRING [java] Reading row 1, col 1 [java] Formula:A1 [java] Formula Result Type:STRING [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] 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:133) [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88) [java] .I.....I.......................................................................................................................................................................................I.....I............................................................................I........................................................................................................................ [java] Time: 270.381 [java] There were 2 failures: [java] 1) testCellVerticalAlign(org.apache.poi.xwpf.usermodel.TestXWPFTableCell) [java] junit.framework.AssertionFailedError: expected:<TOP> but was:<null> [java] at junit.framework.Assert.fail(Assert.java:57) [java] at junit.framework.Assert.failNotEquals(Assert.java:329) [java] at junit.framework.Assert.assertEquals(Assert.java:78) [java] at junit.framework.Assert.assertEquals(Assert.java:86) [java] at junit.framework.TestCase.assertEquals(TestCase.java:253) [java] at org.apache.poi.xwpf.usermodel.TestXWPFTableCell.testCellVerticalAlign(TestXWPFTableCell.java:109) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at junit.framework.TestCase.runTest(TestCase.java:176) [java] at junit.framework.TestCase.runBare(TestCase.java:141) [java] at junit.framework.TestResult$1.protect(TestResult.java:122) [java] at junit.framework.TestResult.runProtected(TestResult.java:142) [java] at junit.framework.TestResult.run(TestResult.java:125) [java] at junit.framework.TestCase.run(TestCase.java:129) [java] at junit.framework.TestSuite.runTest(TestSuite.java:252) [java] at junit.framework.TestSuite.run(TestSuite.java:247) [java] at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) [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:131) [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88) [java] 2) testCellVerticalAlign2(org.apache.poi.xwpf.usermodel.TestXWPFTableCell) [java] junit.framework.AssertionFailedError [java] at junit.framework.Assert.fail(Assert.java:55) [java] at junit.framework.Assert.assertTrue(Assert.java:22) [java] at junit.framework.Assert.assertNotNull(Assert.java:256) [java] at junit.framework.Assert.assertNotNull(Assert.java:248) [java] at junit.framework.TestCase.assertNotNull(TestCase.java:417) [java] at org.apache.poi.xwpf.usermodel.TestXWPFTableCell.testCellVerticalAlign2(TestXWPFTableCell.java:123) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at junit.framework.TestCase.runTest(TestCase.java:176) [java] at junit.framework.TestCase.runBare(TestCase.java:141) [java] at junit.framework.TestResult$1.protect(TestResult.java:122) [java] at junit.framework.TestResult.runProtected(TestResult.java:142) [java] at junit.framework.TestResult.run(TestResult.java:125) [java] at junit.framework.TestCase.run(TestCase.java:129) [java] at junit.framework.TestSuite.runTest(TestSuite.java:252) [java] at junit.framework.TestSuite.run(TestSuite.java:247) [java] at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) [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:131) [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88) [java] [java] FAILURES!!! [java] Tests run: 2135, Failures: 2 [java] BUILD FAILED <https://builds.apache.org/job/POI-DSL-1.6/ws/build.xml>:1624: Java returned: 1 Total time: 5 minutes 22 seconds Build step 'Invoke Ant' marked build as failure Skipping publisher since build result is FAILURE Archiving artifacts Compressed 66.31 MB of artifacts by 65.3% relative to #146 Skipping publisher since build result is FAILURE Recording test results ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org