Richard Vachula created JBESB-3930:
--------------------------------------
Summary: NPE during deployment when Action in xsd is missing leading slash
and validate option is true
Key: JBESB-3930
URL:
https://issues.jboss.org/browse/JBESB-3930
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web Services
Affects Versions: 4.12
Environment: jboss-5.1.0.GA, jbossesb 4.12
Reporter: Richard Vachula
<actions inXsd="schemas/getUserInfo_in.xsd" mep="RequestResponse"
outXsd="schemas/getUserInfo_out.xsd" validate="true"
webservice="true">
When inXsd or outXsd is missing leading slash / ("schemas/getUserInfo_in.xsd"
instead of "/schemas/getUserInfo_in.xsd" deploy will result in NPE:
Caused by: java.lang.NullPointerException
at
org.jboss.internal.soa.esb.util.XMLHelper.getSchema(XMLHelper.java:465)
at
org.jboss.internal.soa.esb.util.XMLHelper.getSchema(XMLHelper.java:418)
at
org.jboss.internal.soa.esb.util.XMLHelper.getSchema(XMLHelper.java:381)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.<init>(ActionProcessingPipeline.java:197)
at
org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:199)
at
org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:133)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira