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

[Monocle/Embedded] exception when using virtual keyboard

    XMLWordPrintable

    Details

      Description

      The following exception is thrown when using the virtual keyboard.

      One way to reproduce:

      1. Run HelloSanity -> Controls -> TextBox .


      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at com.sun.javafx.Utils.getScreen(Utils.java:685)
      at com.sun.javafx.scene.control.skin.FXVKSkin.setupPrimaryVK(FXVKSkin.java:391)
      at com.sun.javafx.scene.control.skin.FXVKSkin.<init>(FXVKSkin.java:483)
      at com.sun.javafx.scene.control.skin.FXVK.attach(FXVK.java:98)
      at com.sun.javafx.scene.control.skin.TextInputControlSkin.lambda$new$186(TextInputControlSkin.java:362)
      at com.sun.javafx.scene.control.skin.TextInputControlSkin$$Lambda$222/4029865.invalidated(Unknown Source)
      at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:349)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
      at javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(ReadOnlyBooleanPropertyBase.java:72)
      at javafx.scene.Node$FocusedProperty.notifyListeners(Node.java:7524)
      at javafx.scene.Node.setFocused(Node.java:7577)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin$FakeFocusTextField.setFakeFocus(ComboBoxListViewSkin.java:751)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.lambda$new$310(ComboBoxListViewSkin.java:160)
      at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin$$Lambda$352/15307561.changed(Unknown Source)
      at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
      at javafx.beans.property.ReadOnlyBooleanPropertyBase.fireValueChangedEvent(ReadOnlyBooleanPropertyBase.java:72)
      at javafx.scene.Node$FocusedProperty.notifyListeners(Node.java:7524)
      at javafx.scene.Scene$13.invalidated(Scene.java:2039)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
      at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:145)
      at javafx.scene.Scene$KeyHandler.setFocusOwner(Scene.java:3884)
      at javafx.scene.Scene$KeyHandler.requestFocus(Scene.java:3931)
      at javafx.scene.Scene$KeyHandler.access$1900(Scene.java:3870)
      at javafx.scene.Scene.requestFocus(Scene.java:2003)
      at javafx.scene.Node.requestFocus(Node.java:7685)
      at com.sun.javafx.scene.control.behavior.ComboBoxBaseBehavior.show(ComboBoxBaseBehavior.java:241)
      at com.sun.javafx.scene.control.behavior.ComboBoxBaseBehavior.mouseReleased(ComboBoxBaseBehavior.java:197)
      at com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.lambda$new$279(ComboBoxBaseSkin.java:78)
      at com.sun.javafx.scene.control.skin.ComboBoxBaseSkin$$Lambda$356/30691023.handle(Unknown Source)
      at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:198)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3717)
      at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3445)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1721)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2454)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:348)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:273)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:382)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:549)
      at com.sun.glass.ui.View.notifyMouse(View.java:921)
      at com.sun.glass.ui.monocle.MonocleView.notifyMouse(MonocleView.java:116)
      at com.sun.glass.ui.monocle.MouseInput.notifyMouse(MouseInput.java:313)
      at com.sun.glass.ui.monocle.MouseInput.lambda$postMouseEvent$91(MouseInput.java:226)
      at com.sun.glass.ui.monocle.MouseInput$$Lambda$178/19387038.run(Unknown Source)
      at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
      at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              msladecek Martin Sládeček
              Reporter:
              ratayar Rafi Tayar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: