[
https://issues.jboss.org/browse/JBIDE-24137?page=com.atlassian.jira.plugi...
]
Aurélien Pupier commented on JBIDE-24137:
-----------------------------------------
oh yes, need to be added to JMXCoreAllTests, I'm not used to TestSuite. I'm used
to have test executed based on the Pattern Name.
Improve robustness of DefaultConnectionProvider by ensuring
connections attribute is initialized
------------------------------------------------------------------------------------------------
Key: JBIDE-24137
URL:
https://issues.jboss.org/browse/JBIDE-24137
Project: Tools (JBoss Tools)
Issue Type: Task
Components: jmx
Affects Versions: 4.4.4.AM1
Reporter: Aurélien Pupier
Assignee: Aurélien Pupier
Priority: Minor
Fix For: 4.4.4.AM2
if addConnection is called before any getConnections, there is a NPE
{noformat}
java.lang.NullPointerException
at
org.jboss.tools.jmx.core.providers.DefaultConnectionProvider.addConnection(DefaultConnectionProvider.java:111)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)