[switchyard-issues] [JBoss JIRA] Created: (SWITCHYARD-424) Reference binding for SOAP fails with NPE

Keith Babo (JIRA) jira-events at lists.jboss.org
Wed Aug 24 14:42:17 EDT 2011


Reference binding for SOAP fails with NPE
-----------------------------------------

                 Key: SWITCHYARD-424
                 URL: https://issues.jboss.org/browse/SWITCHYARD-424
             Project: SwitchYard
          Issue Type: Bug
          Components: component-soap
            Reporter: Keith Babo
            Assignee: Magesh Bojan
             Fix For: 0.2
         Attachments: soapcamel.zip

Deploy the attached application to AS7 and you'll get an NPE in soap component's OutboundHandler.  Looks like this is coming from inside JAX-WS, but not sure why.  I have attached a sample app to reproduce.

14:37:14,079 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."soapcamel.jar".SwitchYardService: org.jboss.msc.service.StartException in service jboss.deployment.unit."soapcamel.jar".SwitchYardService: java.lang.NullPointerException
	at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:90)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
	at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
	at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]
Caused by: java.lang.NullPointerException
	at org.apache.cxf.jaxws.ServiceImpl.getJaxwsEndpoint(ServiceImpl.java:258)
	at org.apache.cxf.jaxws.ServiceImpl.createDispatch(ServiceImpl.java:618)
	at javax.xml.ws.Service.createDispatch(Service.java:368) [:1.6.0_26]
	at org.switchyard.component.soap.OutboundHandler.start(OutboundHandler.java:119)
	at org.switchyard.component.soap.deploy.SOAPActivator.start(SOAPActivator.java:100)
	at org.switchyard.deploy.internal.Activation.start(Deployment.java:477)
	at org.switchyard.deploy.internal.Deployment.deployReferenceBindings(Deployment.java:236)
	at org.switchyard.deploy.internal.Deployment.doStart(Deployment.java:118)
	at org.switchyard.deploy.internal.AbstractDeployment.start(AbstractDeployment.java:168)
	at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:99)
	at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:83)
	... 5 more


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the switchyard-issues mailing list