[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 08:08:02 EDT 2017
[ https://issues.jboss.org/browse/JBIDE-24137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13390094#comment-13390094 ]
Martin Malina commented on JBIDE-24137:
---------------------------------------
For some reason this test is not executed in master or jbosstools-4.4.x:
https://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstools-server_master/1510/testReport/org.jboss.tools.jmx.core.test/
https://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/view/DevStudio/view/devstudio_10.0.neon/job/jbosstools-server_4.4.neon/92/testReport/org.jboss.tools.jmx.core.test/
And it is checked-out here:
https://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstools-server_master/ws/sources/jmx/tests/org.jboss.tools.jmx.core.test/src/org/jboss/tools/jmx/core/test/
I created a JIRA here: JBIDE-24235
Maybe it just needs to be added to JMXCoreAllTests.java ?
> 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