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


    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

        

Reply via email to