qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7001) [Java Broker] NullPointerException can be thrown from Port IO Thread
Date Fri, 19 Feb 2016 09:24:18 GMT

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

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

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

QPID-7001: [Java Broker] Guard ClosedSelectorException to deal with the case where the Port
is shutdown before the the connection has finally closed

> [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
>             Fix For: qpid-java-6.0.1, qpid-java-6.1
>
>         Attachments: 0001-WIP-Add-system-test.patch, BrokerLoggingTest.tar.bz2, 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


Mime
View raw message