poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57612] Can't build, running tests as part of building ooxml-libs fail
Date Tue, 24 Feb 2015 21:09:06 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57612

--- Comment #7 from Vasili <gavr145@gmail.com> ---
Using provided build.xml (I didn't replace the .java file from the fix), having
modified 2 lines indicating the version number to avoid confusion with build
versions, I got the following. There is no MalformedURLException but I believe
that the problem remains with the entity expansions. 



compile-ooxml:

compile-examples:

compile-excelant:

compile:

compile-ooxml-lite:
      [jar] Building jar:
C:\poi-src-3.11-20141221\poi-3.11\build\ooxml-lite-mer
ged\ooxml-lite-merged.jar
     [java] Collecting unit tests from
C:\poi-src-3.11-20141221\poi-3.11\build\o
oxml-test-classes
     [java] Inner class
org.apache.poi.poifs.crypt.TestCertificateEncryption$Cer
tData.class not included
     [java] Inner class org.apache.poi.TestPOIXMLDocument$OPCParser.class not
in
cluded
     [java] Inner class org.apache.poi.TestPOIXMLDocument$TestFactory.class not
included
     [java] Inner class org.apache.poi.xslf.geom.TestPresetGeometries$1.class
no
t included
     [java] Inner class
org.apache.poi.xssf.extractor.TestXSSFExportToXML$1.clas
s not included
     [java] Inner class
org.apache.poi.xssf.extractor.TestXSSFExportToXML$DummyE
ntityResolver.class not included
     [java] Inner class org.apache.poi.xssf.streaming.TestSXSSFWorkbook$1.class
not included
     [java] Inner class
org.apache.poi.xssf.streaming.TestSXSSFWorkbook$NullOutp
utStream.class not included
     [java] Inner class
org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF
$Result.class not included
     [java] Inner class
org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF
$SS.class not included
     [java] Inner class
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvalu
atorOnXSSF$Result.class not included
     [java] Inner class
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvalu
atorOnXSSF$SS.class not included
     [java] Inner class org.apache.poi.xssf.usermodel.TestXSSFBugs$1.class not
i
ncluded
     [java] Class org.apache.poi.xssf.usermodel.TestXSSFSheetAutosizeColumn
does
 not derive from TestCase and does not have a @Test annotation
     [java] Found 158 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
fu
rther details.
     [java]
....................................................................
..............................................................................I.
.........E..............................................II......................
................................................................................
.................................Setting col: 0 and row 0
     [java] Setting col: 1 and row 1
     [java] Warning - Row 13 has no cell 1, can't figure out test name
     [java] [Fatal Error] :1:1: JAXP00010001: The parser has encountered more
th
an "4096" entity expansions in this document; this is the limit imposed by the
J
DK.
     [java] [Fatal Error] :1:1: JAXP00010001: The parser has encountered more
th
an "4096" entity expansions in this document; this is the limit imposed by the
J
DK.
     [java]
....................................................................
................................................................................
............................................................................I...
.....I..........................................................................
................................................................................
............................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]
....................................................................
................................................................................
..................................................................Done
     [java] ..........<?xml version="1.0" encoding="UTF-8"?>
     [java] <worksheet
xmlns="http://schemas.openxmlformats.org/spreadsheetml/20
06/main"><dimension ref="A1"/><sheetViews><sheetView workbookViewId="0"
tabSelec
ted="true"/></sheetViews><sheetFormatPr
defaultRowHeight="15.0"/><sheetData/><pa
geMargins bottom="0.75" footer="0.3" header="0.3" left="0.7" right="0.7"
top="0.
75"/></worksheet>
     [java] ....................................Name: /word/document.xml -
Conte
nt Type:
application/vnd.openxmlformats-officedocument.wordprocessingml.document
.main+xml
     [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:109)
     [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:93)
     [java]
....................................................................
............................................................
     [java] Time: 69.73
     [java] There was 1 failure:
     [java] 1)
testSignEnvelopingDocument(org.apache.poi.poifs.crypt.TestSignatu
reInfo)
     [java] java.lang.AssertionError: Only allowing ConnectException here, but
h
ad: java.lang.RuntimeException: error while creating a time-stamp: no protocol:
${env.http_proxy}
     [java]     at org.junit.Assert.fail(Assert.java:88)
     [java]     at org.junit.Assert.assertTrue(Assert.java:41)
     [java]     at
org.apache.poi.poifs.crypt.TestSignatureInfo.testSignEnvelopi
ngDocument(TestSignatureInfo.java:382)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:57)
     [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:43)
     [java]     at java.lang.reflect.Method.invoke(Method.java:606)
     [java]     at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(F
rameworkMethod.java:50)
     [java]     at
org.junit.internal.runners.model.ReflectiveCallable.run(Refle
ctiveCallable.java:12)
     [java]     at
org.junit.runners.model.FrameworkMethod.invokeExplosively(Fra
meworkMethod.java:47)
     [java]     at
org.junit.internal.runners.statements.InvokeMethod.evaluate(I
nvokeMethod.java:17)
     [java]     at
org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)

     [java]     at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4
ClassRunner.java:78)
     [java]     at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4
ClassRunner.java:57)
     [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java]     at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:7
1)
     [java]     at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:
288)
     [java]     at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:5
8)
     [java]     at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:2
68)
     [java]     at
org.junit.internal.runners.statements.RunBefores.evaluate(Run
Befores.java:26)
     [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:7
1)
     [java]     at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:
288)
     [java]     at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:5
8)
     [java]     at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:2
68)
     [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:107)
     [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:93)
     [java]
     [java] FAILURES!!!
     [java] Tests run: 1148,  Failures: 1
     [java]

BUILD FAILED

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message