ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gatford (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SANDESHA2-59) NullPointerException thrown when processing a AckRequest for an unknown sequence
Date Fri, 02 Nov 2007 11:51:50 GMT

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

Andrew Gatford resolved SANDESHA2-59.
-------------------------------------

    Resolution: Fixed

> NullPointerException thrown when processing a AckRequest for an unknown sequence
> --------------------------------------------------------------------------------
>
>                 Key: SANDESHA2-59
>                 URL: https://issues.apache.org/jira/browse/SANDESHA2-59
>             Project: 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&#xd;
at org.apache.sandesha2.handlers.SandeshaInHandler.invoke(SandeshaInHandler.java:156)&#xd;
at org.apache.axis2.engine.Phase.invoke(Phase.java:382)&#xd;	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:245)&#xd;
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:164)&#xd;	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:334)&#xd;
at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:230)&#xd;
> 	at org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.doService(DefaultHttpServiceProcessor.java:180)&#xd;
> 	at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:123)&#xd;
> 	at org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.run(DefaultHttpServiceProcessor.java:252)&#xd;
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)&#xd;
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)&#xd;
> 	at java.lang.Thread.run(Thread.java:797)&#xd;
> Caused by: java.lang.NullPointerException&#xd;
> 	at org.apache.sandesha2.msgprocessors.AckRequestedProcessor.processAckRequestedHeader(AckRequestedProcessor.java:143)&#xd;
> 	at org.apache.sandesha2.msgprocessors.AckRequestedProcessor.processAckRequestedHeaders(AckRequestedProcessor.java:88)&#xd;
> 	at org.apache.sandesha2.handlers.SandeshaInHandler.invoke(SandeshaInHandler.java:127)&#xd;
> 	... 11 more&#xd;
> </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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Mime
View raw message