[jboss-jira] [JBoss JIRA] (WFCORE-1136) Subsystem parser tests fail when woodstox parser is on classpath
Tomaz Cerar (JIRA)
issues at jboss.org
Tue Nov 17 11:01:00 EST 2015
Tomaz Cerar created WFCORE-1136:
-----------------------------------
Summary: Subsystem parser tests fail when woodstox parser is on classpath
Key: WFCORE-1136
URL: https://issues.jboss.org/browse/WFCORE-1136
Project: WildFly Core
Issue Type: Bug
Components: Test Suite
Affects Versions: 2.0.1.Final
Environment: woodstox parser on test classpath
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
When subsystem is testing remove resources and subsystem model is empty.
Marshaling fails inside subsystem harness with
{noformat}
Caused by: javax.xml.stream.XMLStreamException: Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).
at com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1522)
at com.ctc.wstx.sw.BaseStreamWriter.reportNwfStructure(BaseStreamWriter.java:1551)
at com.ctc.wstx.sw.BaseStreamWriter._finishDocument(BaseStreamWriter.java:1377)
at com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:536)
at org.jboss.staxmapper.FormattingXMLStreamWriter.writeEndDocument(FormattingXMLStreamWriter.java:215)
at org.jboss.as.subsystem.test.TestParser.writeContent(TestParser.java:80)
at org.jboss.as.subsystem.test.TestParser.writeContent(TestParser.java:51)
at org.jboss.staxmapper.XMLMapperImpl.doDeparse(XMLMapperImpl.java:88)
at org.jboss.staxmapper.XMLMapperImpl.deparseDocument(XMLMapperImpl.java:83)
at org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:117)
... 51 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list