[
https://jira.jboss.org/jira/browse/JBESB-2922?page=com.atlassian.jira.plu...
]
David Ward commented on JBESB-2922:
-----------------------------------
Yeah, but that still "breaks" it for community people. My vote is to go with
Tom's idea of deprecating it, but I'll concede to your decision, which is...?
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