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

MenuRuntimeTest throws java.lang.NullPointerException. Train-to-train reg from 1.4.2 to 1.5

XMLWordPrintable

    • x86
    • linux_suse_sles_10

      MenuRuntimeTest throws java.lang.NullPointerException when Repainting Menu Item
      This is train-to-train regression from 1.4 to 1.5
      Moreover, issue is not reproducible on jdk 6 and jdk 7

      here is stacktrace:
      java.lang.NullPointerException
      at sun.awt.X11.XMenuPeer.repaintMenuItem(XMenuPeer.java:360)
      at sun.awt.X11.XMenuItemPeer.setLabel(XMenuItemPeer.java:59)
      at java.awt.MenuItem.setShortcut(MenuItem.java:309)
      at MenuRuntimeTest$3.actionPerformed(MenuRuntimeTest.java:288)
      at java.awt.Button.processActionEvent(Button.java:388)
      at java.awt.Button.processEvent(Button.java:356)
      at java.awt.Component.dispatchEventImpl(Component.java:3955)
      at java.awt.Component.dispatchEvent(Component.java:3803)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

      For Steps to reptoduce and more details, see comments section

            Unassigned Unassigned
            iserovorcl Ilya Serov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: