Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-62

unknownURL Test fails on Ubuntu 10.04

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • logback-core
    • None
    • Ubuntu 10.04, Sun jdk1.5.0_22, latest logback snapshot

    Description

      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@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 ...

      Attachments

        Activity

          People

            logback-dev Logback dev list
            gdt Greg Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: