You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (Created) (JIRA)" <ji...@apache.org> on 2012/01/26 00:12:41 UTC

[jira] [Created] (QPID-3782) CombinedTest failed - java.lang.IllegalStateException: dispatcher is not started (java-bdb.0-9-1)

CombinedTest failed - java.lang.IllegalStateException: dispatcher is not started (java-bdb.0-9-1)
-------------------------------------------------------------------------------------------------

                 Key: QPID-3782
                 URL: https://issues.apache.org/jira/browse/QPID-3782
             Project: Qpid
          Issue Type: Bug
          Components: Java Client, Java Tests
            Reporter: Keith Wall


I've seen CombinedTest fail twice this evening with the following stack trace on java-bdb.0-9-1.  I don't think I've ever seen the test fail before.

Whilst CombinedTest itself seems of questionable value, the Qpid client stack trace (java.lang.IllegalStateException: dispatcher is not started) seems potentially worrying as the client code (org.apache.qpid.test.unit.client.forwardall.Client) *has* called connection#start() so the dispatcher should be running.

{code}
CombinedTest	testForwardAll	Error	Didn't receive all messages... got 0 expected 1

java.lang.Exception: Didn't receive all messages... got 0 expected 1
at org.apache.qpid.test.unit.client.forwardall.Client.waitUntilComplete(Client.java:116)
at org.apache.qpid.test.unit.client.forwardall.Client.shutdownWhenComplete(Client.java:82)
at org.apache.qpid.test.unit.client.forwardall.CombinedTest.testForwardAll(CombinedTest.java:58)
at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:135)
{code}


Examining the logs I see:

{code}
IoReceiver - /127.0.0.1:59237 2012-01-25 22:44:25,298 INFO [qpid.message.subscription.close] [con:1,409(guest@/127.0.0.1:59237/test)/ch:1] [sub:1,178(vh(/test)/qu(ServiceQueue)] SUB-1002 : Close
IoReceiver - /127.0.0.1:59237 2012-01-25 22:44:25,298 INFO [apache.qpid.server.AMQChannel] Requeuing 1 unacked messages. for [/127.0.0.1:59237(guest):1]
Dispatcher-Channel-1 2012-01-25 22:44:25,298 ERROR [apache.qpid.thread.LoggingUncaughtExceptionHandler] Uncaught exception in thread "Dispatcher-Channel-1"
java.lang.IllegalStateException: dispatcher is not started
        at org.apache.qpid.client.AMQSession.dispatch(AMQSession.java:3192)
        at org.apache.qpid.client.message.UnprocessedMessage.dispatch(UnprocessedMessage.java:55)
        at org.apache.qpid.client.AMQSession$Dispatcher.run(AMQSession.java:3349)
        at java.lang.Thread.run(Thread.java:680)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Updated] (QPID-3782) CombinedTest failed - java.lang.IllegalStateException: dispatcher is not started (java-bdb.0-9-1)

Posted by "Keith Wall (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-3782:
-----------------------------

          Component/s:     (was: Java Tests)
    Affects Version/s: 0.15
    
> CombinedTest failed - java.lang.IllegalStateException: dispatcher is not started (java-bdb.0-9-1)
> -------------------------------------------------------------------------------------------------
>
>                 Key: QPID-3782
>                 URL: https://issues.apache.org/jira/browse/QPID-3782
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.15
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>
> I've seen CombinedTest fail twice this evening with the following stack trace on java-bdb.0-9-1.  I don't think I've ever seen the test fail before.
> Whilst CombinedTest itself seems of questionable value, the Qpid client stack trace (java.lang.IllegalStateException: dispatcher is not started) seems potentially worrying as the client code (org.apache.qpid.test.unit.client.forwardall.Client) *has* called connection#start() so the dispatcher should be running.
> {code}
> CombinedTest	testForwardAll	Error	Didn't receive all messages... got 0 expected 1
> java.lang.Exception: Didn't receive all messages... got 0 expected 1
> at org.apache.qpid.test.unit.client.forwardall.Client.waitUntilComplete(Client.java:116)
> at org.apache.qpid.test.unit.client.forwardall.Client.shutdownWhenComplete(Client.java:82)
> at org.apache.qpid.test.unit.client.forwardall.CombinedTest.testForwardAll(CombinedTest.java:58)
> at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:135)
> {code}
> Examining the logs I see:
> {code}
> IoReceiver - /127.0.0.1:59237 2012-01-25 22:44:25,298 INFO [qpid.message.subscription.close] [con:1,409(guest@/127.0.0.1:59237/test)/ch:1] [sub:1,178(vh(/test)/qu(ServiceQueue)] SUB-1002 : Close
> IoReceiver - /127.0.0.1:59237 2012-01-25 22:44:25,298 INFO [apache.qpid.server.AMQChannel] Requeuing 1 unacked messages. for [/127.0.0.1:59237(guest):1]
> Dispatcher-Channel-1 2012-01-25 22:44:25,298 ERROR [apache.qpid.thread.LoggingUncaughtExceptionHandler] Uncaught exception in thread "Dispatcher-Channel-1"
> java.lang.IllegalStateException: dispatcher is not started
>         at org.apache.qpid.client.AMQSession.dispatch(AMQSession.java:3192)
>         at org.apache.qpid.client.message.UnprocessedMessage.dispatch(UnprocessedMessage.java:55)
>         at org.apache.qpid.client.AMQSession$Dispatcher.run(AMQSession.java:3349)
>         at java.lang.Thread.run(Thread.java:680)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Closed] (QPID-3782) CombinedTest failed - java.lang.IllegalStateException: dispatcher is not started (java-bdb.0-9-1)

Posted by "Keith Wall (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall closed QPID-3782.
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.15
         Assignee: Keith Wall

Failure was not repeatable, but we improved the thread safety of AMQSession under JIRA QPID-3807 in response to this problem
                
> CombinedTest failed - java.lang.IllegalStateException: dispatcher is not started (java-bdb.0-9-1)
> -------------------------------------------------------------------------------------------------
>
>                 Key: QPID-3782
>                 URL: https://issues.apache.org/jira/browse/QPID-3782
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.15
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>
> I've seen CombinedTest fail twice this evening with the following stack trace on java-bdb.0-9-1.  I don't think I've ever seen the test fail before.
> Whilst CombinedTest itself seems of questionable value, the Qpid client stack trace (java.lang.IllegalStateException: dispatcher is not started) seems potentially worrying as the client code (org.apache.qpid.test.unit.client.forwardall.Client) *has* called connection#start() so the dispatcher should be running.
> {code}
> CombinedTest	testForwardAll	Error	Didn't receive all messages... got 0 expected 1
> java.lang.Exception: Didn't receive all messages... got 0 expected 1
> at org.apache.qpid.test.unit.client.forwardall.Client.waitUntilComplete(Client.java:116)
> at org.apache.qpid.test.unit.client.forwardall.Client.shutdownWhenComplete(Client.java:82)
> at org.apache.qpid.test.unit.client.forwardall.CombinedTest.testForwardAll(CombinedTest.java:58)
> at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:135)
> {code}
> Examining the logs I see:
> {code}
> IoReceiver - /127.0.0.1:59237 2012-01-25 22:44:25,298 INFO [qpid.message.subscription.close] [con:1,409(guest@/127.0.0.1:59237/test)/ch:1] [sub:1,178(vh(/test)/qu(ServiceQueue)] SUB-1002 : Close
> IoReceiver - /127.0.0.1:59237 2012-01-25 22:44:25,298 INFO [apache.qpid.server.AMQChannel] Requeuing 1 unacked messages. for [/127.0.0.1:59237(guest):1]
> Dispatcher-Channel-1 2012-01-25 22:44:25,298 ERROR [apache.qpid.thread.LoggingUncaughtExceptionHandler] Uncaught exception in thread "Dispatcher-Channel-1"
> java.lang.IllegalStateException: dispatcher is not started
>         at org.apache.qpid.client.AMQSession.dispatch(AMQSession.java:3192)
>         at org.apache.qpid.client.message.UnprocessedMessage.dispatch(UnprocessedMessage.java:55)
>         at org.apache.qpid.client.AMQSession$Dispatcher.run(AMQSession.java:3349)
>         at java.lang.Thread.run(Thread.java:680)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org