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

Details

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

    Description

      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)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: