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

FXML-LoginDemo throws NPE from keyboard shortcuts handler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • fx2.0
    • javafx
    • b42

      run demo, click alt-tab, log will be next


      java.lang.NullPointerException
              at com.sun.javafx.scene.KeyboardShortcutsHandler.processMnemonicsKeyDisplay(Unknown Source)
              at com.sun.javafx.scene.KeyboardShortcutsHandler.setMnemonicsDisplayEnabled(Unknown Source)
              at com.sun.javafx.scene.KeyboardShortcutsHandler.dispatchBubblingEvent(Unknown Source)
              at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
              at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
              at javafx.event.Event.fireEvent(Unknown Source)
              at javafx.scene.Scene$KeyHandler.process(Unknown Source)
              at javafx.scene.Scene$KeyHandler.access$1500(Unknown Source)
              at javafx.scene.Scene.impl_processKeyEvent(Unknown Source)
              at javafx.scene.Scene$ScenePeerListener.keyEvent(Unknown Source)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(Unknown Source)
              at com.sun.glass.ui.View.handleKeyEvent(Unknown Source)
              at com.sun.glass.ui.View.notifyKey(Unknown Source)
              at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
              at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
              at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
              at java.lang.Thread.run(Thread.java:722)

            dmasada Debra Masada (Inactive)
            sgrinev Sergey Grinev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: