[ https://issues.apache.org/jira/browse/ARTEMIS-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-1713. ------------------------------------- Resolution: Fixed > Calling getClientId() on an OpenWireConnection can cause a NPE > -------------------------------------------------------------- > > Key: ARTEMIS-1713 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1713 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: OpenWire > Affects Versions: 2.4.0 > Reporter: Christopher L. Shannon > Assignee: Christopher L. Shannon > Priority: Major > Fix For: 2.5.0 > > > The getClientId() on RemotingConnection is public and it is possible to call > it too early on an OpenWireConnection (such as in a plugin) before the > context has been initialized with the clientId. Instead of just returning > null a NPE is thrown because of a null reference. -- This message was sent by Atlassian JIRA (v7.6.3#76005)