You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2018/04/23 13:21:00 UTC

[jira] [Comment Edited] (ARTEMIS-1804) NPE in recent snapshot

    [ https://issues.apache.org/jira/browse/ARTEMIS-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448133#comment-16448133 ] 

Justin Bertram edited comment on ARTEMIS-1804 at 4/23/18 1:20 PM:
------------------------------------------------------------------

Artemis could certainly upgrade Netty versions, but without a reproducer there's no way for the person doing the upgrade to verify the upgrade solved the problem and therefore justify the upgrade is necessary. {{io.netty.handler.ssl.SslHandler}} has 3 commits since 4.1.22.Final (which Artemis is currently using):
* https://github.com/netty/netty/commit/bf8cac4939ebad0756e39ad82c756bccea9c650a#diff-2fe7b22a8d650f1ea0bf56a809c061f9
* https://github.com/netty/netty/commit/978a46cc0a5242702f248842f6feb97b8fbe0123#diff-2fe7b22a8d650f1ea0bf56a809c061f9
* https://github.com/netty/netty/commit/268b901844c620337bc11ae82e99163a1781b96c#diff-2fe7b22a8d650f1ea0bf56a809c061f9

However, none of these appear to be related to the NPE you're hitting.

Just in case an upgrade might fix the problem could upgrade locally and attempt to reproduce the issue using your test?


was (Author: jbertram):
Artemis could certainly upgrade Netty versions, but without a reproducer there's no way for the person doing the upgrade to verify the upgrade solved the problem and therefore justify the upgrade is necessary. {{io.netty.handler.ssl.SslHandler}} has 3 commits since 4.1.22.Final (which Artemis is currently using):
* https://github.com/netty/netty/commit/bf8cac4939ebad0756e39ad82c756bccea9c650a#diff-2fe7b22a8d650f1ea0bf56a809c061f9
* https://github.com/netty/netty/commit/978a46cc0a5242702f248842f6feb97b8fbe0123#diff-2fe7b22a8d650f1ea0bf56a809c061f9
* https://github.com/netty/netty/commit/268b901844c620337bc11ae82e99163a1781b96c#diff-2fe7b22a8d650f1ea0bf56a809c061f9
However, none of these appear to be related to the NPE you're hitting.

Just in case an upgrade might fix the problem could upgrade locally and attempt to reproduce the issue using your test?

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