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

Typing ENTER in a TextField gets you an NPE

    Details

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

      Product: javafx-2.0beta
      Platform: macosx-universal
      Build-Number: 238
      Build-ID: 2011-08-15_21-49-05

      Description

      Type Enter key in a TextField, you will get:

      Glass detected outstanding Java exception at -[GlassViewDelegate sendJavaKeyEvent:type:]:/HUDSON/workspace/presidio/label/macosx-universal-14/glass/glass-mat-lib-macosx/src/com/sun/mat/ui/GlassViewDelegate.m:274
      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at com.sun.javafx.scene.control.skin.TextFieldSkin.handleKeyPressedEvent(TextFieldSkin.java:495)
      at com.sun.javafx.scene.control.skin.TextInputSkin$7.handle(TextInputSkin.java:110)
      at com.sun.javafx.scene.control.skin.TextInputSkin$7.handle(TextInputSkin.java:107)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:56)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:162)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:115)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:47)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
      at javafx.event.Event.fireEvent(Event.java:171)
      at javafx.scene.Scene$KeyHandler.process(Scene.java:2788)
      at javafx.scene.Scene$KeyHandler.access$1500(Scene.java:2718)
      at javafx.scene.Scene.impl_processKeyEvent(Scene.java:1328)
      at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:1751)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:95)
      at com.sun.glass.ui.View.handleKeyEvent(View.java:248)
      at com.sun.glass.ui.View.notifyKey(View.java:534)

        Attachments

          Activity

            People

            • Assignee:
              gkbrown Greg Brown (Inactive)
              Reporter:
              jfdenise Jean-Francois Denise (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: