Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-2922

SchemaValidationActionUnitTest test failure serialising DOM

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.6
    • Fix Version/s: 4.7
    • Component/s: Rosetta
    • Labels:
      None

      Description

      The following error is being seen on the CI machines, executing on JDK 1.6

      [java] [junit] java.lang.RuntimeException: Unexpected error. Unable to serialize DOM.
      [java] [junit] at org.jboss.soa.esb.actions.validation.ValidationException.getDomResult(ValidationException.java:59)
      [java] [junit] at org.jboss.soa.esb.actions.validation.SchemaValidationActionUnitTest.processInvalidXml(SchemaValidationActionUnitTest.java:65)
      [java] [junit] Caused by: org.xml.sax.SAXParseException: Premature end of file.
      [java] [junit] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      [java] [junit] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      [java] [junit] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
      [java] [junit] at org.jboss.soa.esb.dom.YADOMUtil.parseStream(YADOMUtil.java:148)
      [java] [junit] at org.jboss.soa.esb.dom.YADOMUtil.parseStream(YADOMUtil.java:114)
      [java] [junit] at org.jboss.soa.esb.dom.YADOMUtil.parse(YADOMUtil.java:95)
      [java] [junit] at org.jboss.soa.esb.actions.validation.ValidationException.getDomResult(ValidationException.java:51)

      Tom, are we trying to serialise parser specific classes here? If so this will fail in a mixed environment.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dward David Ward
                Reporter:
                kconner Kevin Conner
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: