You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by "Thomas McKiernan (JIRA)" <ji...@apache.org> on 2007/04/17 11:36:15 UTC

[jira] Created: (SANDESHA2-84) MakeConnection race errors

MakeConnection race errors
--------------------------

                 Key: SANDESHA2-84
                 URL: https://issues.apache.org/jira/browse/SANDESHA2-84
             Project: Sandesha2
          Issue Type: Bug
            Reporter: Thomas McKiernan
            Priority: Minor


It is currently possible for two makeConnection messages to come in at the same time and race with each other. Currently this causes errors. The simplest fix is to make the code more defensive.

Stack Dump = org.apache.sandesha2.SandeshaException: Cannot find the message stored with the key:S:57:Sandesha2InternalSequence:urn:uuid:46634B994B6CDBABB911
76297191492
        at org.apache.sandesha2.msgprocessors.MakeConnectionProcessor.replyToPoll(MakeConnectionProcessor.java:138)
        at org.apache.sandesha2.msgprocessors.MakeConnectionProcessor.processInMessage(MakeConnectionProcessor.java:111)
        at org.apache.sandesha2.msgreceivers.RMMessageReceiver.receive(RMMessageReceiver.java:73)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:161)


java.lang.NullPointerException
at org.apache.sandesha2.util.MsgInitializer.populateRMMsgContext(MsgInitializer.java:78)
at org.apache.sandesha2.util.MsgInitializer.initializeMessage(MsgInitializer.java:63)
at org.apache.sandesha2.polling.PollingManager.pollForSequence(PollingManager.java:213)
at org.apache.sandesha2.polling.PollingManager.pollRMDSide(PollingManager.java:181)
at org.apache.sandesha2.polling.PollingManager.internalRun(PollingManager.java:104)


-- 
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