[
https://issues.apache.org/jira/browse/QPID-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rajith Attapattu resolved QPID-2176.
------------------------------------
Resolution: Fixed
I added a fix at rev 832441 in Qpid trunk to throw a ProtocolViolationException
if a method is received on an already detached session.
Rob had already added the null check in rev 829675 in Qpid trunk to avoid
calling the method on a null session.
> Java client should throw a protocol violation exception if it receives frames
> intended for a session that is already detached.
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-2176
> URL: https://issues.apache.org/jira/browse/QPID-2176
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.5
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Fix For: 0.6
>
>
> The JMS client is currently vulnerable if a peer sends frames for a session
> that is already detached.
> The JMS client will throw a NPE as it will try to invoke the commands on a
> null reference.
> The client needs to check if the session is detached and if so should a
> protocol violation exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]