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

Inspector search is displaying wrong input and throwing Exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      D&D a Button (leave it selected)
      In the Inspector search type ‘g’ - bug - the below exception is thrown
      Now type ‘r’ - bug - the search field reads ‘rg’ instead of ‘gr’ (probably due to exception but adding this info in case it is not).


      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.getPropertiesEditor(InspectorPanelController.java:1289)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.getInitializedPropertiesEditor(InspectorPanelController.java:662)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.buildFlatContent(InspectorPanelController.java:866)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.searchPatternDidChange(InspectorPanelController.java:527)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.setSearchPattern(InspectorPanelController.java:380)
      at com.oracle.javafx.scenebuilder.app.DocumentWindowController$1.changed(DocumentWindowController.java:613)
      at com.oracle.javafx.scenebuilder.app.DocumentWindowController$1.changed(DocumentWindowController.java:609)
      at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:347)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.scene.control.TextInputControl$TextProperty.fireValueChangedEvent(TextInputControl.java:1116)
      at javafx.scene.control.TextInputControl$TextProperty.markInvalid(TextInputControl.java:1120)
      at javafx.scene.control.TextInputControl$TextProperty.invalidate(TextInputControl.java:1060)
      at javafx.scene.control.TextInputControl$TextProperty.access$200(TextInputControl.java:1032)
      at javafx.scene.control.TextInputControl$1.invalidated(TextInputControl.java:130)
      at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:135)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.scene.control.TextField$TextFieldContent.insert(TextField.java:82)
      at javafx.scene.control.TextInputControl.replaceText(TextInputControl.java:464)
      at com.sun.javafx.scene.control.skin.TextFieldSkin.replaceText(TextFieldSkin.java:580)
      at com.sun.javafx.scene.control.behavior.TextFieldBehavior.replaceText(TextFieldBehavior.java:199)
      at com.sun.javafx.scene.control.behavior.TextInputControlBehavior.defaultKeyTyped(TextInputControlBehavior.java:251)
      at com.sun.javafx.scene.control.behavior.TextInputControlBehavior.callAction(TextInputControlBehavior.java:149)
      at com.sun.javafx.scene.control.behavior.BehaviorBase.callActionForEvent(BehaviorBase.java:222)
      at com.sun.javafx.scene.control.behavior.TextInputControlBehavior.callActionForEvent(TextInputControlBehavior.java:137)
      at com.sun.javafx.scene.control.behavior.BehaviorBase$1.handle(BehaviorBase.java:136)
      at com.sun.javafx.scene.control.behavior.BehaviorBase$1.handle(BehaviorBase.java:133)
      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.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:204)
      at javafx.scene.Scene$KeyHandler.process(Scene.java:3887)
      at javafx.scene.Scene$KeyHandler.access$2100(Scene.java:3834)
      at javafx.scene.Scene.impl_processKeyEvent(Scene.java:2012)
      at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:2469)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:170)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:123)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:197)
      at com.sun.glass.ui.View.handleKeyEvent(View.java:517)
      at com.sun.glass.ui.View.notifyKey(View.java:927)

            jcambon Jerome Cambon
            mchicharro Moises Chicharro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: