[
https://jira.jboss.org/jira/browse/JBESB-2922?page=com.atlassian.jira.plu...
]
Kevin Conner commented on JBESB-2922:
-------------------------------------
Well, I'm not sure how much use (or sense) sending a DOMResult makes but, as it is an
object reference, we could still keep the methods (API) on the exception and have it
permanently set to null.
It hasn't made it into the platform yet so we are not tied so strictly.
SchemaValidationActionUnitTest test failure serialising DOM
-----------------------------------------------------------
Key: JBESB-2922
URL:
https://jira.jboss.org/jira/browse/JBESB-2922
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.6
Reporter: Kevin Conner
Assignee: David Ward
Fix For: 4.7
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira