[ https://issues.apache.org/jira/browse/ARTEMIS-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449745#comment-16449745 ]
Lionel Cons commented on ARTEMIS-1804: -------------------------------------- It seems that the problem is related to IPv6. A simple STOMP client connecting with SSL (and using a certificate to authenticate) and then disconnecting (i.e. {{CONNECT}}, {{CONNECTED}} and {{DISCONNECT}} frames) is enough to reproduce the NPE when using IPv6. When using IPv4, it seems I cannot reproduce the problem. > NPE in recent snapshot > ---------------------- > > Key: ARTEMIS-1804 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1804 > Project: ActiveMQ Artemis > Issue Type: Bug > Reporter: Lionel Cons > Priority: Major > > Running some tests againstĀ {{artemis-2.6.0-20180410.175207-36}}, I noticed > the broker logged several NPEs looking like: > {code:java} > 2018-04-12 14:19:15,097 WARN [io.netty.handler.ssl.SslHandler] [id: > 0xc8c4c74d, L:/xxx:yyy ! R:/2001:1458:202:227:0:0:100:6%0:32802] flush() > raised a masked exception.: java.lang.NullPointerException > at io.netty.handler.ssl.SslHandler.wrapAndFlush(SslHandler.java:742) > [netty-all-4.1.22.Final.jar:4.1.22.Final] > at io.netty.handler.ssl.SslHandler.flush(SslHandler.java:734) > [netty-all-4.1.22.Final.jar:4.1.22.Final] > at io.netty.handler.ssl.SslHandler.flush(SslHandler.java:1595) > [netty-all-4.1.22.Final.jar:4.1.22.Final] > at io.netty.handler.ssl.SslHandler.access$600(SslHandler.java:165) > [netty-all-4.1.22.Final.jar:4.1.22.Final] > at io.netty.handler.ssl.SslHandler$1.run(SslHandler.java:631) > [netty-all-4.1.22.Final.jar:4.1.22.Final] > at > io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) > [netty-all-4.1.22.Final.jar:4.1.22.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) > [netty-all-4.1.22.Final.jar:4.1.22.Final] > at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:309) > [netty-all-4.1.22.Final.jar:4.1.22.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) > [netty-all-4.1.22.Final.jar:4.1.22.Final] > at > org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) > [artemis-commons-2.6.0-SNAPSHOT.jar:2.6.0-SNAPSHOT] > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)