[jbosstools-issues] [JBoss JIRA] (JBIDE-24137) Improve robustness of DefaultConnectionProvider by ensuring connections attribute is initialized

Martin Malina (JIRA) issues at jboss.org
Thu Apr 6 07:54:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-24137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13390061#comment-13390061 ] 

Martin Malina commented on JBIDE-24137:
---------------------------------------

[~aurelien.pupier], could you confirm this is fixed? I don't know of a way I could verify this.

> 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)



More information about the jbosstools-issues mailing list