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

FXML-LoginDemo throws NPE from keyboard shortcuts handler

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      b42

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: