You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Andrew Gatford (JIRA)" <ji...@apache.org> on 2006/12/04 17:17:21 UTC

[jira] Created: (SANDESHA2-59) NullPointerException thrown when processing a AckRequest for an unknown sequence

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


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.
-
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: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Updated: (SANDESHA2-59) NullPointerException thrown when processing a AckRequest for an unknown sequence

Posted by "Andrew Gatford (JIRA)" <ji...@apache.org>.
     [ 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&#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.
-
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: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Updated: (SANDESHA2-59) NullPointerException thrown when processing a AckRequest for an unknown sequence

Posted by "Andrew Gatford (JIRA)" <ji...@apache.org>.
     [ 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&#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.
-
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: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


[jira] Resolved: (SANDESHA2-59) NullPointerException thrown when processing a AckRequest for an unknown sequence

Posted by "Andrew Gatford (JIRA)" <ji...@apache.org>.
     [ 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