Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-4991

JmsSendReceiveTwoConnectionsWithSenderUsingPoolTest.testSendReceive fails with NPE in PooledProducer

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.1, 5.10.0
    • Component/s: None
    • Labels:
      None
    • Regression:
      Unit Test Broken

      Description

      This test fails with the following error. I will add an @IGnore for now.

      java.lang.NullPointerException
      at org.apache.activemq.jms.pool.PooledProducer.send(PooledProducer.java:89)
      at org.apache.activemq.jms.pool.PooledProducer.send(PooledProducer.java:61)
      at org.apache.activemq.test.JmsSendReceiveTestSupport.sendMessage(JmsSendReceiveTestSupport.java:131)
      at org.apache.activemq.test.JmsSendReceiveTestSupport.sendMessages(JmsSendReceiveTestSupport.java:126)
      at org.apache.activemq.test.JmsSendReceiveTestSupport.testSendReceive(JmsSendReceiveTestSupport.java:113)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at junit.framework.TestCase.runTest(TestCase.java:176)
      at junit.framework.TestCase.runBare(TestCase.java:141)
      at org.apache.activemq.CombinationTestSupport.runBare(CombinationTestSupport.java:107)
      at org.apache.activemq.CombinationTestSupport.runBare(CombinationTestSupport.java:113)
      at junit.framework.TestResult$1.protect(TestResult.java:122)
      at junit.framework.TestResult.runProtected(TestResult.java:142)
      at junit.framework.TestResult.run(TestResult.java:125)
      at junit.framework.TestCase.run(TestCase.java:129)
      at junit.framework.TestSuite.runTest(TestSuite.java:255)
      at junit.framework.TestSuite.run(TestSuite.java:250)
      at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:81)
      at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              gtully Gary Tully
              Reporter:
              kearls Kevin Anthony Earls

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment