You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (Jira)" <ji...@apache.org> on 2020/04/20 16:02:00 UTC

[jira] [Resolved] (QPIDJMS-498) race during concurrent creation of initial connection

     [ https://issues.apache.org/jira/browse/QPIDJMS-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved QPIDJMS-498.
------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org