JmsConsumerEndpointTest intermittently fails with NullPointerException
----------------------------------------------------------------------

                 Key: SMXCOMP-592
                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-592
             Project: ServiceMix Components
          Issue Type: Bug
          Components: servicemix-jms
    Affects Versions: servicemix-jms-2009.01
            Reporter: Gert Vanthienen
            Assignee: Gert Vanthienen
            Priority: Minor
             Fix For: servicemix-jms-2009.02


The JmsConsumerEndpointTest sometimes fails with a NPE in the tearDown method:
\\
{code:xml}
  <testcase time="0.045" name="testConsumerServer">
    <error type="java.lang.NullPointerException">java.lang.NullPointerException
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue.stop(SedaQueue.java:159)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue.shutDown(SedaQueue.java:168)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.shutDown(SedaFlow.java:140)
        at 
org.apache.servicemix.jbi.nmr.DefaultBroker.shutDown(DefaultBroker.java:191)
        at 
org.apache.servicemix.jbi.container.JBIContainer.shutDown(JBIContainer.java:719)
        at 
org.apache.servicemix.jms.AbstractJmsTestSupport.tearDown(AbstractJmsTestSupport.java:63)
        at junit.framework.TestCase.runBare(TestCase.java:140)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
    </error>
  </testcase>
{code}


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

Reply via email to