[
https://issues.apache.org/jira/browse/QPID-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Wall reopened QPID-7001:
------------------------------
The change has intensified an existing problem. The new IO code was not
cancelling the SelectionKey when the channel was closed. With this change,
this has manifested as a memory leak, with the key's attachment
(NonBlockingConnection) being leak per closed connection.
> [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, 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: [email protected]
For additional commands, e-mail: [email protected]