[
https://issues.apache.org/jira/browse/QPID-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465267
]
Nuno Santos commented on QPID-281:
----------------------------------
I've attached a patch to address the issue... if/when the session is null,
closeSession would already have been called so can be skipped here. This is
probably more evident with inVM testing because of timing.
> Null protocolSession when closing session in AMQPFastProtocolHandler (in inVM
> testing)
> --------------------------------------------------------------------------------------
>
> Key: QPID-281
> URL: https://issues.apache.org/jira/browse/QPID-281
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: M1
> Reporter: Martin Ritchie
> Attachments: AMQPFastProtocolHandler.java-20070116.patch
>
>
> public void sessionClosed(IoSession protocolSession) throws Exception
> {
> _logger.info("Protocol Session closed");
> final AMQProtocolSession amqProtocolSession =
> AMQMinaProtocolSession.getAMQProtocolSession(protocolSession);
> //fixme -- this can be null
> amqProtocolSession.closeSession();
> }
> the protocolSession is occasionally null.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira