[logback-dev] [JIRA] Created: (LBCORE-231) unknownURL Test fails on Ubuntu 10.04
Greg Thomas (JIRA)
noreply-jira at qos.ch
Sat Oct 29 20:13:13 CEST 2011
unknownURL Test fails on Ubuntu 10.04
-------------------------------------
Key: LBCORE-231
URL: http://jira.qos.ch/browse/LBCORE-231
Project: logback-core
Issue Type: Bug
Components: Joran
Affects Versions: 1.0.0
Environment: Ubuntu 10.04, Sun jdk1.5.0_22, latest logback snapshot
Reporter: Greg Thomas
Assignee: Logback dev list
When trying to build logback on Ubuntu 10.04, the test unknownURL in ch.qos.logback.core.joran.action.IncludeActionTest fails.
The test is currently looking for either a UnknownHostException or IOException to be raised. In practice, on the stated environment, the following exceptions are raised;
19:04:20,488 |-ERROR in ch.qos.logback.core.joran.event.SaxEventRecorder at 1016632 - XML_PARSING - Parsing fatal error on line 6 and column 113 org.xml.sax.SAXParseException: The reference to entity "ClientLocation" must end with the ';' delimiter.
at org.xml.sax.SAXParseException: The reference to entity "ClientLocation" must end with the ';' delimiter.
...
19:04:20,488 |-ERROR in ch.qos.logback.core.joran.action.IncludeAction - Error while parsing http://logback2345.qos.ch ch.qos.logback.core.joran.spi.JoranException: Problem parsing XML document. See previously reported errors.
at ch.qos.logback.core.joran.spi.JoranException: Problem parsing XML document. See previously reported errors.
The simplest solution would to add the SAXParseException to the list of acceptable exceptions, but wonder if that's masking a wider problem ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list