Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8138748

ManagementAgent.status DCMD fails with NPE for JMX configured on command line

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-svc
    • None

        When issuing `jcmd App ManagementAgent.status` against an application started with JMX system properties specified the command will fail with NPE.

        Eg.

        jcmd com.toy.anagrams.ui.Anagrams ManagementAgent.status
        4775:
        java.lang.NullPointerException

              jbachorik Jaroslav Bachorík
              jbachorik Jaroslav Bachorík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: