[
https://issues.apache.org/activemq/browse/AMQ-2872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Tully resolved AMQ-2872.
-----------------------------
Resolution: Fixed
fix in r987113
> Contention between concurrent connection start and new session creation -
> start can find partially created session
> ------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-2872
> URL: https://issues.apache.org/activemq/browse/AMQ-2872
> Project: ActiveMQ
> Issue Type: Bug
> Components: JMS client
> Affects Versions: 5.4.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Fix For: 5.4.1
>
>
> {code}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){code}
> Issue is async connection start and session creation. The partially created
> session is added to the connection too soon.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.