ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sathwik Bantwal Premakumar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ODE-716) NullPointerException when binding message parts to SOAP header
Date Mon, 19 Feb 2018 09:22:00 GMT

     [ https://issues.apache.org/jira/browse/ODE-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sathwik Bantwal Premakumar resolved ODE-716.
--------------------------------------------
    Resolution: Fixed

> NullPointerException when binding message parts to SOAP header
> --------------------------------------------------------------
>
>                 Key: ODE-716
>                 URL: https://issues.apache.org/jira/browse/ODE-716
>             Project: ODE
>          Issue Type: Bug
>          Components: Axis2 Integration
>    Affects Versions: 1.3.3
>         Environment: ODE1.3.3, jdk6, tomcat-5.5.28
>            Reporter: Gary Brown
>            Assignee: Sathwik Bantwal Premakumar
>            Priority: Major
>             Fix For: 1.3.8, 1.4
>
>         Attachments: HelloWorldHeaderWSDL.zip
>
>
> When sending a message to a modified hello_world example, where a SOAP header element
is mapped to a message part, I get the following exception:
> DEBUG - GeronimoLog.debug(66) | The system is checking for the operation using the following
WSAAction: 
> DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message body's first
child's local name : hello
> DEBUG - GeronimoLog.debug(66) | Found operation org.apache.axis2.description.InOutAxisOperation@441371
> DEBUG - GeronimoLog.debug(66) | Received request message for hello_world_header_wsdl.{http://www.example.org/bpel/examples/wsdl}hello
> DEBUG - GeronimoLog.debug(66) | Starting transaction.
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname {http://www.example.org/bpel/examples/wsdl}HelloService
--> [BpelProcess[{http://www.example.org/bpel/examples}HelloWorldHeaderWSDL-4]]
> DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation: name=hello
> style=REQUEST_RESPONSE,1
> Input: name=TestIn
> Message: name={http://www.example.org/bpel/examples/wsdl}HelloMessage
> Part: name=TestPart
> typeName={http://www.w3.org/2001/XMLSchema}string
> Part: name=conversationId
> elementName={http://www.example.org/cid}conversationId
> Output: name=TestOut
> Message: name={http://www.example.org/bpel/examples/wsdl}HelloMessage
> Part: name=TestPart
> typeName={http://www.w3.org/2001/XMLSchema}string
> Part: name=conversationId
> elementName={http://www.example.org/cid}conversationId from service {http://www.example.org/bpel/examples/wsdl}HelloService
> DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = true
> ERROR - GeronimoLog.error(108) | Exception occured while invoking ODE
> java.lang.NullPointerException
>         at org.apache.ode.axis2.util.SoapMessageConverter.findHeaderPartName(SoapMessageConverter.java:457)
>         at org.apache.ode.axis2.util.SoapMessageConverter.extractSoapHeaderParts(SoapMessageConverter.java:419)
>         at org.apache.ode.axis2.util.SoapMessageConverter.parseSoapRequest(SoapMessageConverter.java:323)
>         at org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:121)
>         at org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:69)
>         at org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:52)
>         at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>         at java.lang.Thread.run(Thread.java:619)
> DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4sm2l43gdta
> I



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message