VisualVM
  1. VisualVM
  2. VISUALVM-128

NPE while getting information from remote JVM

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Beta 2
    • Fix Version/s: 1.1
    • Component/s: code
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      128

      Description

      Happens in both Beta 2 and RC ( RC hides it in the status bar though ).

      I am connecting from a local Linux x86 machine to a remote Linux x86_64 machine.

      Error message is:

      java.lang.NullPointerException
      at com.sun.tools.visualvm.jvm.MonitoredDataImpl.<init>(MonitoredDataImpl.java:82)
      at com.sun.tools.visualvm.jvm.JmxSupport$1$1.run(JmxSupport.java:279)
      at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
      [catch] at
      org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)

      Available data:

      PID, Host, JVM, Java Home, Heap dump on OOME, JVM arguments ( lower half tab ),
      System properties, all data in the 'threads' tab

      Unavailable data:

      Main class, arguments, JVM flags ( upper half line ), any data in the 'monitor' tab.

      Remote application is started with

      com.sun.management.jmxremote=
      com.sun.management.jmxremote.authenticate=false
      com.sun.management.jmxremote.port=1540
      com.sun.management.jmxremote.ssl=false

      and the data is properly available using jconsole.

      1. messages.log.gz
        5 kB
        rombert
      1. monitor-window.png
        20 kB

        Activity

          People

          • Assignee:
            thurka
            Reporter:
            rombert
          • Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: