Francesco Nigro created ARTEMIS-2093:
----------------------------------------

             Summary: NPE thrown by NettyConnector::createConnection
                 Key: ARTEMIS-2093
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2093
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
    Affects Versions: 2.6.3
            Reporter: Francesco Nigro
            Assignee: Francesco Nigro
             Fix For: 2.7.0, 2.6.4


On NettyConnector::createConnection, 
ChannelPipeline::get(ActiveMQChannelHandler.class) can return null, causing 
NPE, if the channel is being closed and/or the channel pipeline is being 
cleaned up before it.

It can happen because NettyConnector::createConnection is not being called 
inside the channel's event loop and is concurrent with a channel close event 
(that's completed into the event loop).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to