[
http://jira.jboss.com/jira/browse/JBWS-1852?page=comments#action_12382106 ]
Alexey Loubyansky commented on JBWS-1852:
-----------------------------------------
It's because of the debug message actually.
parser = saxFactory.newSAXParser();
log.debug("Created parser: "+parser
+ ", isNamespaceAware: "+parser.isNamespaceAware()
+ ", isValidating: "+parser.isValidating()
+ ", isXIncludeAware: "+parser.isXIncludeAware()
);
This is the javadoc for isXIncludeAware:
boolean javax.xml.parsers.SAXParser.isXIncludeAware()
Get the XInclude processing mode for this parser.
See Also:
SAXParserFactory.setXIncludeAware(boolean)
Returns:
the return value of the SAXParserFactory.isXIncludeAware() when this parser was created
from factory.
Throws:
UnsupportedOperationException For backward compatibility, when implementations for earlier
versions of JAXP is used, this exception will be thrown.
Since:
1.5
Either we should not log it or catch and ignore the exception in the XB.
Failed to create a new SAX parser
---------------------------------
Key: JBWS-1852
URL:
http://jira.jboss.com/jira/browse/JBWS-1852
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Thomas Diesler
Assigned To: Alexey Loubyansky
Fix For: jbossws-2.0.2
org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
at
org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
at
org.jboss.ws.metadata.config.JBossWSConfigFactory.parse(JBossWSConfigFactory.java:76)
at
org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSConfigFactory.java:134)
at
org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfig(EndpointMetaData.java:704)
at
org.jboss.ws.metadata.umdm.EndpointMetaData.setConfigNameInternal(EndpointMetaData.java:695)
at
org.jboss.ws.metadata.umdm.EndpointMetaData.setConfigName(EndpointMetaData.java:679)
at
org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.processEndpointConfig(JAXWSServerMetaDataBuilder.java:76)
at
org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:137)
at
org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:108)
at
org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:124)
at
org.jboss.wsf.spi.tools.ant.WSProvideTask.executeNonForked(WSProvideTask.java:221)
at org.jboss.wsf.spi.tools.ant.WSProvideTask.execute(WSProvideTask.java:237)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:101)
at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:55)
at
org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
... 23 more
Caused by: java.lang.UnsupportedOperationException: This parser does not support
specification "null" version "null"
at javax.xml.parsers.SAXParser.isXIncludeAware(SAXParser.java:511)
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:93)
... 25 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira