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

Keith Wall commented on QPID-7001:
----------------------------------

I saw the following test failure when running 0-9 MMS profile which looks like 
it is related to my last change:
Logs attached.

{noformat}
20:05:07,258 |-INFO in 
ch.qos.logback.core.FileAppender[FILE-org.apache.qpid.server.logging.BrokerLoggingTest.testBrokerStartupListeningTCPSSL]
 - File property is set to 
[/Users/keith/src/qpid-java/systests/target/surefire-reports/java-mms.0-9/TEST-org.apache.qpid.server.logging.BrokerLoggingTest.testBrokerStartupListeningTCPSSL.txt]
Thread terminated due to uncaught 
exceptionjava.nio.channels.ClosedSelectorException
        at 
sun.nio.ch.KQueueSelectorImpl.implRegister(KQueueSelectorImpl.java:211)
        at sun.nio.ch.SelectorImpl.register(SelectorImpl.java:132)
        at 
java.nio.channels.spi.AbstractSelectableChannel.register(AbstractSelectableChannel.java:212)
        at 
java.nio.channels.SelectableChannel.register(SelectableChannel.java:280)
        at 
org.apache.qpid.server.transport.SelectorThread.unregisterConnection(SelectorThread.java:511)
        at 
org.apache.qpid.server.transport.SelectorThread.removeConnection(SelectorThread.java:590)
        at 
org.apache.qpid.server.transport.NetworkConnectionScheduler.removeConnection(NetworkConnectionScheduler.java:194)
        at 
org.apache.qpid.server.transport.NonBlockingConnection.shutdown(NonBlockingConnection.java:377)
        at 
org.apache.qpid.server.transport.NonBlockingConnection.doWork(NonBlockingConnection.java:305)
        at 
org.apache.qpid.server.transport.NetworkConnectionScheduler.processConnection(NetworkConnectionScheduler.java:108)
        at 
org.apache.qpid.server.transport.SelectorThread$ConnectionProcessor.processConnection(SelectorThread.java:504)
        at 
org.apache.qpid.server.transport.SelectorThread$SelectionTask.performSelect(SelectorThread.java:337)
        at 
org.apache.qpid.server.transport.SelectorThread$SelectionTask.run(SelectorThread.java:86)
        at 
org.apache.qpid.server.transport.SelectorThread.run(SelectorThread.java:462)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

> [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]

Reply via email to