[
https://issues.apache.org/jira/browse/ARTEMIS-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
clebert suconic closed ARTEMIS-2093.
------------------------------------
> 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
> Priority: Minor
> 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)