Public bug reported:
Discovered whilst testing reverse build-dependencies of jtidy to support
bug 837990:
common.test:
[mkdir] Created dir:
/build/jamespage-lucene2_2.9.4+ds1-2-amd64-qB5aEF/lucene2-2.9.4+ds1/build/contrib/ant/test
[junit] WARNING: multiple versions of ant detected in path for junit
[junit]
jar:file:/usr/share/java/ant-1.8.2.jar!/org/apache/tools/ant/Project.class
[junit] and
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] Testsuite: org.apache.lucene.ant.HtmlDocumentTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.059 sec
[junit]
[junit] Testcase: testDoc(org.apache.lucene.ant.HtmlDocumentTest): Caused
an ERROR
[junit] null
[junit] java.lang.ExceptionInInitializerError
[junit] at org.w3c.tidy.Tidy.<init>(Tidy.java:135)
[junit] at
org.apache.lucene.ant.HtmlDocument.<init>(HtmlDocument.java:60)
[junit] at
org.apache.lucene.ant.HtmlDocumentTest.setUp(HtmlDocumentTest.java:34)
[junit] Caused by: java.lang.RuntimeException: Failed to load
jtidy.properties
[junit] at org.w3c.tidy.Report.readReleaseDate(Report.java:94)
[junit] at org.w3c.tidy.Report.<clinit>(Report.java:85)
[junit] Caused by: java.lang.NullPointerException
[junit] at java.util.Properties$LineReader.readLine(Properties.java:435)
[junit] at java.util.Properties.load0(Properties.java:354)
[junit] at java.util.Properties.load(Properties.java:342)
[junit] at org.w3c.tidy.Report.readReleaseDate(Report.java:91)
[junit]
[junit]
[junit] Test org.apache.lucene.ant.HtmlDocumentTest FAILED
[junit] Testsuite: org.apache.lucene.ant.IndexTaskTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.19 sec
[junit]
[junit] Testcase: testSearch(org.apache.lucene.ant.IndexTaskTest): Caused
an ERROR
[junit] null
[junit] java.lang.ExceptionInInitializerError
[junit] at org.w3c.tidy.Tidy.<init>(Tidy.java:135)
[junit] at
org.apache.lucene.ant.HtmlDocument.<init>(HtmlDocument.java:60)
[junit] at
org.apache.lucene.ant.HtmlDocument.Document(HtmlDocument.java:175)
[junit] at
org.apache.lucene.ant.FileExtensionDocumentHandler.getDocument(FileExtensionDocumentHandler.java:56)
[junit] at org.apache.lucene.ant.IndexTask.indexDocs(IndexTask.java:340)
[junit] at org.apache.lucene.ant.IndexTask.execute(IndexTask.java:236)
[junit] at
org.apache.lucene.ant.IndexTaskTest.setUp(IndexTaskTest.java:69)
[junit] Caused by: java.lang.RuntimeException: Failed to load
jtidy.properties
[junit] at org.w3c.tidy.Report.readReleaseDate(Report.java:94)
[junit] at org.w3c.tidy.Report.<clinit>(Report.java:85)
[junit] Caused by: java.lang.NullPointerException
[junit] at java.util.Properties$LineReader.readLine(Properties.java:435)
[junit] at java.util.Properties.load0(Properties.java:354)
[junit] at java.util.Properties.load(Properties.java:342)
[junit] at org.w3c.tidy.Report.readReleaseDate(Report.java:91)
[junit]
[junit]
[junit] Test org.apache.lucene.ant.IndexTaskTest FAILED
[junit] Testsuite: org.apache.lucene.ant.TextDocumentTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.039 sec
[junit]
[subant] Failure for target 'test' of:
/build/jamespage-lucene2_2.9.4+ds1-2-amd64-qB5aEF/lucene2-2.9.4+ds1/contrib/ant/build.xml
[subant] The following error occurred while executing this line:
[subant]
/build/jamespage-lucene2_2.9.4+ds1-2-amd64-qB5aEF/lucene2-2.9.4+ds1/contrib/contrib-build.xml:130:
The following error occurred while executing this line:
[subant]
/build/jamespage-lucene2_2.9.4+ds1-2-amd64-qB5aEF/lucene2-2.9.4+ds1/common-build.xml:455:
The following error occurred while executing this line:
[subant]
/build/jamespage-lucene2_2.9.4+ds1-2-amd64-qB5aEF/lucene2-2.9.4+ds1/common-build.xml:448:
Tests failed!
[echo] Building benchmark...
** Affects: lucene2 (Ubuntu)
Importance: Undecided
Status: New
** Affects: lucene2 (Debian)
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/841695
Title:
FTBFS with jtidy 7+svn20110807-1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lucene2/+bug/841695/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs