VisualVM
  1. VisualVM
  2. VISUALVM-372

NullPointerException when trying to add new remote host.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: code
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: PC

    • Issuezilla Id:
      372

      Description

      INFO [null]: Total physical memory 3 633 750 016
      WARNING [org.openide.filesystems.Ordering]: Found same position 1100 for both
      Menu/Help/com-sun-tools-visualvm-modules-appui-welcome-ShowWelcomeAction.instance and
      Menu/Help/net-java-dev-tda-visualvm-HelpOverviewAction.shadow
      SEVERE [org.openide.util.Exceptions]
      java.lang.NullPointerException
      at
      com.sun.tools.visualvm.jvmstat.application.ConnectionsCustomizer.emptyBorder(ConnectionsCustomizer.java:137)
      at
      com.sun.tools.visualvm.jvmstat.application.ConnectionsCustomizer.<clinit>(ConnectionsCustomizer.java:81)
      Caused: java.lang.ExceptionInInitializerError
      at
      com.sun.tools.visualvm.jvmstat.application.HostPropertiesProvider.createPanel(HostPropertiesProvider.java:66)
      at
      com.sun.tools.visualvm.jvmstat.application.HostPropertiesProvider.createPanel(HostPropertiesProvider.java:43)
      at
      com.sun.tools.visualvm.core.properties.PropertiesCustomizer.createPanels(PropertiesCustomizer.java:232)
      at
      com.sun.tools.visualvm.core.properties.PropertiesCustomizer.<init>(PropertiesCustomizer.java:79)
      at
      com.sun.tools.visualvm.core.properties.PropertiesSupport.getCustomizer(PropertiesSupport.java:151)
      at
      com.sun.tools.visualvm.core.properties.PropertiesSupport.getCustomizer(PropertiesSupport.java:126)
      at com.sun.tools.visualvm.host.impl.HostCustomizer.setup(HostCustomizer.java:132)
      at
      com.sun.tools.visualvm.host.impl.HostCustomizer.defineHost(HostCustomizer.java:72)
      at
      com.sun.tools.visualvm.host.AddRemoteHostAction.actionPerformed(AddRemoteHostAction.java:73)
      at
      com.sun.tools.visualvm.host.AddRemoteHostAction.actionPerformed(AddRemoteHostAction.java:43)
      at
      com.sun.tools.visualvm.core.ui.actions.SingleDataSourceAction.actionPerformed(SingleDataSourceAction.java:52)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2015)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2338)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
      at
      javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
      at java.awt.Component.processMouseEvent(Component.java:6430)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      at java.awt.Component.processEvent(Component.java:6195)
      at java.awt.Container.processEvent(Container.java:2203)
      at java.awt.Component.dispatchEventImpl(Component.java:4790)
      at java.awt.Container.dispatchEventImpl(Container.java:2261)
      at java.awt.Component.dispatchEvent(Component.java:4616)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4800)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4463)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4393)
      at java.awt.Container.dispatchEventImpl(Container.java:2247)
      at java.awt.Window.dispatchEventImpl(Window.java:2671)
      at java.awt.Component.dispatchEvent(Component.java:4616)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:651)
      at
      java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:255)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:170)
      at
      java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:160)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:155)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
      [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:136)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            visualvm-issues
            Reporter:
            tehehe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: