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

Alt key leads to NPE in KeyboardShortcutsHandler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • javafx
    • None
    • build 42

      After upgrading from build 40 to build 42 everything works fine except I get the exception below when holding down the alt key in a password field.

      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:662)

            miflemi Mick Fleming
            risaksen Randahl Isaksen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: