Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-24137

Improve robustness of DefaultConnectionProvider by ensuring connections attribute is initialized

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 4.4.4.AM2
    • 4.4.4.AM1
    • jmx
    • None

      if addConnection is called before any getConnections, there is a NPE

      java.lang.NullPointerException
      	at org.jboss.tools.jmx.core.providers.DefaultConnectionProvider.addConnection(DefaultConnectionProvider.java:111)
      

              apupier@redhat.com Aurélien Pupier
              apupier@redhat.com Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: