Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.4.0
-
None
Description
Exception in thread "Thread-20" java.lang.NullPointerException at org.apache.activemq.ActiveMQSession.start(ActiveMQSession.java:1637) at org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:508) at org.springframework.jms.connection.SingleConnectionFactory$SharedConnectionInvocationHandler.invoke(SingleConnectionFactory.java:514) at $Proxy5.start(Unknown Source) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:464) at org.springframework.jms.core.JmsTemplate.receiveSelected(JmsTemplate.java:708) at org.springframework.jms.core.JmsTemplate.receive(JmsTemplate.java:686) at com.iona.cpi.failure.http.HttpLoadTest$Receiver.run(HttpLoadTest.java:90) at java.lang.Thread.run(Thread.java:613)
Issue is async connection start and session creation. The partially created session is added to the connection too soon.