You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org> on 2010/06/22 15:06:54 UTC

[jira] Created: (QPID-2684) AlertingTest fails under java-derby profile

AlertingTest fails under java-derby profile
-------------------------------------------

                 Key: QPID-2684
                 URL: https://issues.apache.org/jira/browse/QPID-2684
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker MessageStore - DerbyStore
    Affects Versions: 0.5
            Reporter: Andrew Kennedy
             Fix For: 0.5


Under the java-derby profile, the AlertingTest fails with the following typical error:

TestName: testAlertingReallyWorksWithRestart Duration: 2.228
broker failed to become ready:java.lang.NullPointerException
 java.lang.RuntimeException: broker failed to become ready:java.lang.NullPointerException
	at org.apache.qpid.test.utils.QpidTestCase.startBroker(QpidTestCase.java:555)
	at org.apache.qpid.test.utils.QpidTestCase.startBroker(QpidTestCase.java:401)
	at org.apache.qpid.test.utils.QpidTestCase.setUp(QpidTestCase.java:291)
	at org.apache.qpid.server.logging.AbstractTestLogging.setUp(AbstractTestLogging.java:41)
	at org.apache.qpid.server.logging.AlertingTest.setUp(AlertingTest.java:54)
	at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:246)
	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:305)
	                                         

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Issue Comment Edited: (QPID-2684) AlertingTest fails under java-derby profile

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881192#action_12881192 ] 

Andrew Kennedy edited comment on QPID-2684 at 6/22/10 9:11 AM:
---------------------------------------------------------------

Fix close logic. Do not call conn.close() where the connection is obtained from the StoreContext rather than created explicitly.

      was (Author: andrew.kennedy):
    Fix close logic
  
> AlertingTest fails under java-derby profile
> -------------------------------------------
>
>                 Key: QPID-2684
>                 URL: https://issues.apache.org/jira/browse/QPID-2684
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker MessageStore - DerbyStore
>    Affects Versions: 0.5
>            Reporter: Andrew Kennedy
>             Fix For: 0.5
>
>         Attachments: 0001-QPID-2684-Fix-close-logic-in-Derby-store.patch
>
>
> Under the java-derby profile, the AlertingTest fails with the following typical error:
> TestName: testAlertingReallyWorksWithRestart Duration: 2.228
> broker failed to become ready:java.lang.NullPointerException
>  java.lang.RuntimeException: broker failed to become ready:java.lang.NullPointerException
> 	at org.apache.qpid.test.utils.QpidTestCase.startBroker(QpidTestCase.java:555)
> 	at org.apache.qpid.test.utils.QpidTestCase.startBroker(QpidTestCase.java:401)
> 	at org.apache.qpid.test.utils.QpidTestCase.setUp(QpidTestCase.java:291)
> 	at org.apache.qpid.server.logging.AbstractTestLogging.setUp(AbstractTestLogging.java:41)
> 	at org.apache.qpid.server.logging.AlertingTest.setUp(AlertingTest.java:54)
> 	at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:246)
> 	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:305)
> 	                                         

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (QPID-2684) AlertingTest fails under java-derby profile

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2684:
---------------------------------

    Attachment: 0001-QPID-2684-Fix-close-logic-in-Derby-store.patch

Fix close logic

> AlertingTest fails under java-derby profile
> -------------------------------------------
>
>                 Key: QPID-2684
>                 URL: https://issues.apache.org/jira/browse/QPID-2684
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker MessageStore - DerbyStore
>    Affects Versions: 0.5
>            Reporter: Andrew Kennedy
>             Fix For: 0.5
>
>         Attachments: 0001-QPID-2684-Fix-close-logic-in-Derby-store.patch
>
>
> Under the java-derby profile, the AlertingTest fails with the following typical error:
> TestName: testAlertingReallyWorksWithRestart Duration: 2.228
> broker failed to become ready:java.lang.NullPointerException
>  java.lang.RuntimeException: broker failed to become ready:java.lang.NullPointerException
> 	at org.apache.qpid.test.utils.QpidTestCase.startBroker(QpidTestCase.java:555)
> 	at org.apache.qpid.test.utils.QpidTestCase.startBroker(QpidTestCase.java:401)
> 	at org.apache.qpid.test.utils.QpidTestCase.setUp(QpidTestCase.java:291)
> 	at org.apache.qpid.server.logging.AbstractTestLogging.setUp(AbstractTestLogging.java:41)
> 	at org.apache.qpid.server.logging.AlertingTest.setUp(AlertingTest.java:54)
> 	at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:246)
> 	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:305)
> 	                                         

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (QPID-2684) AlertingTest fails under java-derby profile

Posted by "Robbie Gemmell (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved QPID-2684.
----------------------------------

      Assignee: Robbie Gemmell
    Resolution: Fixed

Patch applied.

> AlertingTest fails under java-derby profile
> -------------------------------------------
>
>                 Key: QPID-2684
>                 URL: https://issues.apache.org/jira/browse/QPID-2684
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker MessageStore - DerbyStore
>    Affects Versions: 0.5
>            Reporter: Andrew Kennedy
>            Assignee: Robbie Gemmell
>             Fix For: 0.5
>
>         Attachments: 0001-QPID-2684-Fix-close-logic-in-Derby-store.patch
>
>
> Under the java-derby profile, the AlertingTest fails with the following typical error:
> TestName: testAlertingReallyWorksWithRestart Duration: 2.228
> broker failed to become ready:java.lang.NullPointerException
>  java.lang.RuntimeException: broker failed to become ready:java.lang.NullPointerException
> 	at org.apache.qpid.test.utils.QpidTestCase.startBroker(QpidTestCase.java:555)
> 	at org.apache.qpid.test.utils.QpidTestCase.startBroker(QpidTestCase.java:401)
> 	at org.apache.qpid.test.utils.QpidTestCase.setUp(QpidTestCase.java:291)
> 	at org.apache.qpid.server.logging.AbstractTestLogging.setUp(AbstractTestLogging.java:41)
> 	at org.apache.qpid.server.logging.AlertingTest.setUp(AlertingTest.java:54)
> 	at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:246)
> 	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:305)
> 	                                         

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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