]
Aurélien Pupier commented on JBIDE-24137:
-----------------------------------------
this test should be enough to validate it
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}