You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francesco Nigro (JIRA)" <ji...@apache.org> on 2018/09/24 08:24:00 UTC

[jira] [Resolved] (ARTEMIS-2093) NPE thrown by NettyConnector::createConnection

     [ https://issues.apache.org/jira/browse/ARTEMIS-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Nigro resolved ARTEMIS-2093.
--------------------------------------
    Resolution: Fixed

> 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)