You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/02/11 14:50:18 UTC

[jira] [Commented] (QPID-7001) [Java Broker] NullPointerException can be thrown from Port IO Thread

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

ASF subversion and git services commented on QPID-7001:
-------------------------------------------------------

Commit 1729828 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1729828 ]

QPID-7001: [Java Broker] NIO - leave selection key's attachment registered throughout the channel's lifespan

> [Java Broker] NullPointerException can be thrown from Port IO Thread
> --------------------------------------------------------------------
>
>                 Key: QPID-7001
>                 URL: https://issues.apache.org/jira/browse/QPID-7001
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-6.0, qpid-java-6.1
>            Reporter: Alex Rudyy
>            Priority: Critical
>         Attachments: 0001-WIP-Add-system-test.patch, test.log.tar.gz
>
>
> I run into the following issue in my tests:
> {noformat}
> ########################################################################
> #
> # Unhandled Exception java.lang.NullPointerException in Thread IO-pool-Port-amqp-1
> #
> # Exiting
> #
> ########################################################################
> java.lang.NullPointerException
>  at org.apache.qpid.server.transport.SelectorThread$SelectionTask$1.run(SelectorThread.java:190)
>  at org.apache.qpid.server.transport.SelectorThread.run(SelectorThread.java:457)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> {noformat}
> I've seen this exception occurring from time to time in the BDB HA test MultiNodeTest#testInFlightTransactionsWhilstMajorityIsLost
> It seems that NPE occurs on heavy loads when multiple connections are trying to restore connectivity because of failover. The issue might affect users severely production deployments of the 6.x brokers, as NPE kills the broker and manual intervention could be required to start-up the broker



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org