[jboss-user] [JBoss jBPM] - RuntimeException in handler method, transition to DOES_NOT_E
deepuin9
do-not-reply at jboss.com
Tue Nov 20 05:02:19 EST 2007
Can anyone help me in understanding the below exception. I am using
jboss-4.0.5.GA, jbpm-bpel-1.1.Beta3.
I am posting the bpel and wsdl's too.
Thanks for your help in advance.
2007-11-20 14:31:13,924 WARN [org.jboss.ws.handler.HandlerWrapper] RuntimeException in handler method, transition to DOES_NOT_EXIST
| 2007-11-20 14:31:13,924 DEBUG [org.jboss.ws.handler.HandlerWrapper] destroy: org.jbpm.bpel.integration.server.SoapHandler at 1616d8d
| 2007-11-20 14:31:13,924 ERROR [org.jboss.ws.handler.HandlerChainBaseImpl] RuntimeException in request handler
| java.lang.NullPointerException
| at org.jbpm.bpel.integration.server.SoapHandler.sendRequest(SoapHandler.java:324)
| at org.jbpm.bpel.integration.server.SoapHandler.handleRequest(SoapHandler.java:188)
| at org.jboss.ws.handler.HandlerWrapper.handleRequest(HandlerWrapper.java:121)
| at org.jboss.ws.handler.HandlerChainBaseImpl.handleRequest(HandlerChainBaseImpl.java:245)
| at org.jboss.ws.handler.ServerHandlerChain.handleRequest(ServerHandlerChain.java:53)
| at org.jboss.ws.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:224)
| at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:98)
| at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
| at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
| at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
| 2007-11-20 14:31:13,924 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Exit: handleRequest with status: false
| 2007-11-20 14:31:13,924 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=java.lang.NullPointerException,actor=null,detail=null]
| 2007-11-20 14:31:13,924 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception
| java.lang.NullPointerException
| at org.jbpm.bpel.integration.server.SoapHandler.sendRequest(SoapHandler.java:324)
| at org.jbpm.bpel.integration.server.SoapHandler.handleRequest(SoapHandler.java:188)
| at org.jboss.ws.handler.HandlerWrapper.handleRequest(HandlerWrapper.java:121)
| at org.jboss.ws.handler.HandlerChainBaseImpl.handleRequest(HandlerChainBaseImpl.java:245)
| at org.jboss.ws.handler.ServerHandlerChain.handleRequest(ServerHandlerChain.java:53)
| at org.jboss.ws.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:224)
| at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:98)
| at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
| at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
| at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
| 2007-11-20 14:31:13,924 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Enter: handleFault
| 2007-11-20 14:31:13,924 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Handle fault:
arcube.bpel
<?xml version="1.0" encoding="UTF-8"?>
| <process name="ArcubeProcess" targetNamespace="urn:samples:arcube"
| xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
| xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
| xmlns:tns="urn:samples:arcube" xmlns:arcube="urn:samples:arcube"
| xmlns:typ="urn:samples:arcube" xmlns:cube="urn:samples:cube"
| xmlns:area="urn:samples:area" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2003/03/business-process/
| http://schemas.xmlsoap.org/ws/2003/03/business-process/">
| <partnerLinks>
| <partnerLink name="IpopLink" partnerLinkType="arcube:IpopLinkType" myRole="areaipcubeop"/>
| <partnerLink name="CubeLink" partnerLinkType="arcube:CubeLinkType" partnerRole="Cube"/>
| <partnerLink name="AreaLinkType" partnerLinkType="arcube:AreaLinkType" partnerRole="Area"/>
| </partnerLinks>
|
| <variables>
| <variable messageType="arcube:ac3ipRequest" name="ac3ipRequest"/>
| <variable messageType="arcube:ac3opResponse" name="ac3opResponse"/>
| <variable messageType="cube:calculateCubeRequest" name="calculateCubeRequest"/>
| <variable messageType="cube:calculateCubeResponse" name="calculateCubeResponse"/>
| <variable messageType="area:calculateAreaRequest" name="calculateAreaRequest"/>
| <variable messageType="area:calculateAreaResponse" name="calculateAreaResponse"/>
| </variables>
|
| <sequence name="L1">
| <receive createInstance="yes" operation="ac3" partnerLink="IpopLink"
| portType="arcube:areaipcubeop" variable="ac3ipRequest"/>
| <assign>
| <copy>
| <from part="length" variable="ac3ipRequest"/>
| <to part="calarea" query="/area:calculateArea/in0" variable="calculateAreaRequest"/>
| </copy>
| <copy>
| <from part="breadth" variable="ac3ipRequest"/>
| <to part="calarea" query="/area:calculateArea/in1" variable="calculateAreaRequest"/>
| </copy>
| </assign>
| <invoke inputVariable="calculateAreaRequest" name="Area" operation="calculateArea"
| outputVariable="calculateAreaResponse" partnerLink="AreaLinkType" portType="area:Area"/>
| <assign>
| <copy>
| <from part="calareares" query="/area:calculateAreaResponse/calculateAreaReturn" variable="calculateAreaResponse"/>
| <to part="calcube" query="/cube:calculateCube/in0" variable="calculateCubeRequest"/>
| </copy>
| </assign>
| <invoke inputVariable="calculateCubeRequest" name="Cube" operation="calculateCube"
| outputVariable="calculateCubeResponse" partnerLink="CubeLink" portType="cube:Cube"/>
| <assign>
| <copy>
| <from part="calcuberes" query="/cube:calculateCubeResponse/calculateCubeReturn" variable="calculateCubeResponse"/>
| <to part="cube" variable="ac3opResponse"/>
| </copy>
| </assign>
| <reply operation="ac3" partnerLink="IpopLink" portType="arcube:areaipcubeop" variable="ac3opResponse"/>
| </sequence>
| </process>
arcube.wsdl
<?xml version="1.0" encoding="UTF-8"?>
| <definitions targetNamespace="urn:samples:arcube"
| xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:samples:arcube"
| xmlns:arcube="urn:samples:arcube" xmlns:area="urn:samples:area"
| xmlns:cube="urn:samples:cube"
| xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
| xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
| <import namespace="urn:samples:cube" location="interface/cube.wsdl" />
| <import namespace="urn:samples:area" location="interface/area.wsdl" />
|
| <message name="ac3opResponse">
| <part name="cube" type="xsd:int"/>
| </message>
| <message name="ac3ipRequest">
| <part name="length" type="xsd:int"/>
| <part name="breadth" type="xsd:int"/>
| </message>
| <portType name="areaipcubeop">
| <operation name="ac3">
| <input message="tns:ac3ipRequest"/>
| <output message="tns:ac3opResponse"/>
| </operation>
| </portType>
|
| <plt:partnerLinkType name="IpopLinkType">
| <plt:role name="areaipcubeop">
| <plt:portType name="tns:areaipcubeop"/>
| </plt:role>
| </plt:partnerLinkType>
| <plt:partnerLinkType name="CubeLinkType">
| <plt:role name="Cube">
| <plt:portType name="cube:Cube"/>
| </plt:role>
| </plt:partnerLinkType>
|
| <plt:partnerLinkType name="AreaLinkType">
| <plt:role name="Area">
| <plt:portType name="area:Area"/>
| </plt:role>
| </plt:partnerLinkType>
|
| </definitions>
cube.wsdl
<?xml version="1.0" encoding="UTF-8"?>
| <definitions targetNamespace="urn:samples:cube"
| xmlns:tns="urn:samples:cube"
| xmlns:typ="urn:samples:cube"
| xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
| http://schemas.xmlsoap.org/wsdl/">
| <types>
| <schema targetNamespace="urn:samples:cube" xmlns="http://www.w3.org/2001/XMLSchema">
| <complexType name="calculateCube">
| <sequence>
| <element name="in0" type="xsd:int"/>
| </sequence>
| </complexType>
| <complexType name="calculateCubeResponse">
| <sequence>
| <element name="calculateCubeReturn" type="xsd:int"/>
| </sequence>
| </complexType>
| </schema>
| </types>
|
| <message name="calculateCubeRequest">
| <part name="calcube" type="typ:calculateCube"/>
| </message>
| <message name="calculateCubeResponse">
| <part name="calcuberes" type="typ:calculateCubeResponse"/>
| </message>
| <portType name="Cube">
| <operation name="calculateCube">
| <input message="tns:calculateCubeRequest"/>
| <output message="tns:calculateCubeResponse"/>
| </operation>
| </portType>
| </definitions>
area.wsdl
<?xml version="1.0" encoding="UTF-8"?>
| <definitions targetNamespace="urn:samples:area"
| xmlns="http://schemas.xmlsoap.org/wsdl/"
| xmlns:tns="urn:samples:area"
| xmlns:typ="urn:samples:area"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
| http://schemas.xmlsoap.org/wsdl/">
| <types>
| <schema targetNamespace="urn:samples:area" xmlns="http://www.w3.org/2001/XMLSchema">
| <complexType name="calculateArea">
| <sequence>
| <element name="in0" type="xsd:int"/>
| <element name="in1" type="xsd:int"/>
| </sequence>
| </complexType>
| <complexType name="calculateAreaResponse">
| <sequence>
| <element name="calculateAreaReturn" type="xsd:int"/>
| </sequence>
| </complexType>
| </schema>
| </types>
|
| <message name="calculateAreaRequest">
| <part name="calarea" type="typ:calculateArea" />
| </message>
| <message name="calculateAreaResponse">
| <part name="calareares" type="typ:calculateAreaResponse"/>
| </message>
|
| <portType name="Area">
| <operation name="calculateArea">
| <input message="tns:calculateAreaRequest"/>
| <output message="tns:calculateAreaResponse"/>
| </operation>
| </portType>
|
| </definitions>
Thanks
Sandeep
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106288#4106288
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106288
More information about the jboss-user
mailing list