Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3930

NPE during deployment when Action in xsd is missing leading slash and validate option is true

    Details

      Description

      <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)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rivasvk Richard Vachula
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: