Robbie Gemmell created QPIDJMS-498:
--------------------------------------

             Summary: race during concurrent creation of initial connection
                 Key: QPIDJMS-498
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-498
             Project: Qpid JMS
          Issue Type: Bug
          Components: qpid-jms-client
    Affects Versions: 0.50.0
            Reporter: Robbie Gemmell
            Assignee: Robbie Gemmell
             Fix For: 0.51.0


There is a race within some handling code for loading/creation of underlying 
client objects during creation of a connection which can occur during 
concurrent attempts to create the first connection after JVM startup, and could 
lead to failure for some of the attempts as they fail to provide required 
details.

It occurs due to accessing the related contents of some caching maps in the 
opposite order of their population and allowing a narrow window to violate 
expectation both details would be present. It cant occur again after the first 
connection creation has passed this point.

{noformat}
...
Caused by: java.lang.IllegalArgumentException: Given Properties object cannot 
be null
 at org.apache.qpid.jms.util.PropertyUtil.setProperties(PropertyUtil.java:300)
 at 
org.apache.qpid.jms.util.FactoryFinder$StandaloneObjectFactory.create(FactoryFinder.java:185)
 at org.apache.qpid.jms.util.FactoryFinder.newInstance(FactoryFinder.java:129)
 at 
org.apache.qpid.jms.provider.ProviderFactory.findProviderFactory(ProviderFactory.java:154)
 ... 18 more
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to