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

[SwingNode] : Something in SwingNode throws NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • javafx
    • Windows 7

      Run log:
      Exception in runnable
      java.lang.NullPointerException
      at javafx.embed.swing.SwingNode.ungrabFocus(SwingNode.java:561)
      at javafx.embed.swing.SwingNode.access$400(SwingNode.java:112)
      at javafx.embed.swing.SwingNode$SwingNodeContent$2.run(SwingNode.java:550)
      at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:223)
      at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:220)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:220)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:94)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
      at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:101)
      at java.lang.Thread.run(Thread.java:724)

      It happens after closing the window if JMenuBar has focus.

      To reproduce:
      1. compile and run SwingNodeJMenuBar
      2. close window.

      If JMenuBar does not have focus there are no exceptions.

            ant Anton Tarasov (Inactive)
            aeremeev Andrei Eremeev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: