[ http://issues.apache.org/jira/browse/SANDESHA2-59?page=all ]
Andrew Gatford updated SANDESHA2-59:
------------------------------------
Attachment: ACKRequestNPE.patch
> NullPointerException thrown when processing a AckRequest for an unknown
> sequence
> --------------------------------------------------------------------------------
>
> Key: SANDESHA2-59
> URL: http://issues.apache.org/jira/browse/SANDESHA2-59
> Project: Apache Sandesha2
> Issue Type: Bug
> Reporter: Andrew Gatford
> Priority: Minor
> Attachments: ACKRequestNPE.patch
>
>
> If an AckRequest message is received for a sequence that is not known, then
> the following NullPointerException is returned.
>
> <soapenv:Fault>
> <faultcode>soapenv:Client</faultcode>
> <faultstring>Sandesha2 got an exception when processing an in
> message: java.lang.NullPointerException</faultstring>
> <detail>
> <Exception>org.apache.axis2.AxisFault: Sandesha2 got an
> exception when processing an in message: java.lang.NullPointerException;
> nested exception is: java.lang.NullPointerException
 at
> org.apache.sandesha2.handlers.SandeshaInHandler.invoke(SandeshaInHandler.java:156)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:382)
 at
> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:245)
 at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:164)
 at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:334)
> at
> org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:230)
> at
> org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.doService(DefaultHttpServiceProcessor.java:180)
> at
> org.apache.http.protocol.HttpService.handleRequest(HttpService.java:123)
> at
> org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.run(DefaultHttpServiceProcessor.java:252)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:797)
> Caused by: java.lang.NullPointerException
> at
> org.apache.sandesha2.msgprocessors.AckRequestedProcessor.processAckRequestedHeader(AckRequestedProcessor.java:143)
> at
> org.apache.sandesha2.msgprocessors.AckRequestedProcessor.processAckRequestedHeaders(AckRequestedProcessor.java:88)
> at
> org.apache.sandesha2.handlers.SandeshaInHandler.invoke(SandeshaInHandler.java:127)
> ... 11 more
> </Exception>
> </detail>
> </soapenv:Fault>
> This is because there is no check for sequence existence inside the
> AckRequestedProcessor::processAckRequestedHeader
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]