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

MBeans tab: NullPointerException thrown when getting attribute of ThreadMXBean.getAllLockedMonitors

    Details

    • Subcomponent:
    • Resolved In Build:
      b69
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_10

      Description

      Steps to reproduce:
      1) Start an application using JDK 6 (e.g. SwingSet2)
      2) Connect to that application
      3) Go to MBeans tab
      4) Select java.lang:type=Threading
      5) Double-click on AllLockedMonitors or AllLockedSynchronizers attribute


      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
              at sun.tools.jconsole.inspector.XOpenTypeViewer$XCompositeData.load(XOpenTypeViewer.java:363)
              at sun.tools.jconsole.inspector.XOpenTypeViewer$XCompositeData.loadCompositeData(XOpenTypeViewer.java:402)
              at sun.tools.jconsole.inspector.XOpenTypeViewer$XCompositeData.<init>(XOpenTypeViewer.java:328)
              at sun.tools.jconsole.inspector.XOpenTypeViewer$XCompositeData.load(XOpenTypeViewer.java:364)
              at sun.tools.jconsole.inspector.XOpenTypeViewer$XCompositeData.loadCompositeData(XOpenTypeViewer.java:402)
              at sun.tools.jconsole.inspector.XOpenTypeViewer$XCompositeData.<init>(XOpenTypeViewer.java:328)
              at sun.tools.jconsole.inspector.XOpenTypeViewer$XTabularData.<init>(XOpenTypeViewer.java:252)
              at sun.tools.jconsole.inspector.XOpenTypeViewer.<init>(XOpenTypeViewer.java:544)
              at sun.tools.jconsole.inspector.XOpenTypeViewer.loadOpenType(XOpenTypeViewer.java:529)
              at sun.tools.jconsole.inspector.XDataViewer.createAttributeViewer(XDataViewer.java:117)
              at sun.tools.jconsole.inspector.XMBeanAttributes.updateZoomedCell(XMBeanAttributes.java:489)
              at sun.tools.jconsole.inspector.XMBeanAttributes$AttributesMouseListener.mousePressed(XMBeanAttributes.java:616)
              at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
              at java.awt.Component.processMouseEvent(Component.java:5952)
              at javax.swing.JComponent.processMouseEvent(JComponent.java:3282)
              at java.awt.Component.processEvent(Component.java:5720)
              at java.awt.Container.processEvent(Container.java:1960)
              at java.awt.Component.dispatchEventImpl(Component.java:4365)
              at java.awt.Container.dispatchEventImpl(Container.java:2018)
              at java.awt.Component.dispatchEvent(Component.java:4195)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4222)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3883)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3816)
              at java.awt.Container.dispatchEventImpl(Container.java:2004)
              at java.awt.Window.dispatchEventImpl(Window.java:2300)
              at java.awt.Component.dispatchEvent(Component.java:4195)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lmalvent Luis-Miguel Alventosa (Inactive)
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: