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

Enline editing issue Win

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      Description

      To reproduce:
      -start tool from command line or from IDE to get it's output
      -add TextField
      -start inline editing double clicking on TF at ContentPanel
      -press Enter key, press Esc key

      I've got following exception:


      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
              at com.oracle.javafx.scenebuilder.kit.metadata.util.DesignHierarchyMask.getPropertyNameForDescription(DesignHierarchyMask.java:502)
              at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.inlineEditingDidRequestCommit(EditModeController.java:681)
              at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.access$900(EditModeController.java:88)
              at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController$10.call(EditModeController.java:664)
              at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController$10.call(EditModeController.java:661)
              at com.oracle.javafx.scenebuilder.kit.editor.util.InlineEditController$InlineEditPopupController.onHidden(InlineEditController.java:211)
              at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPopupController$1.handle(AbstractPopupController.java:174)
              at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPopupController$1.handle(AbstractPopupController.java:169)
              at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
              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.EventUtil.fireEventImpl(EventUtil.java:74)
              at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
              at javafx.event.Event.fireEvent(Event.java:203)
              at javafx.stage.Window.fireEvent(Window.java:1024)
              at javafx.stage.Window$9.invalidated(Window.java:779)
              at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
              at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143)
              at javafx.stage.Window.setShowing(Window.java:826)
              at javafx.stage.Window.hide(Window.java:851)
              at javafx.stage.PopupWindow.hide(PopupWindow.java:454)
              at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPopupController.closeWindow(AbstractPopupController.java:107)
              at com.oracle.javafx.scenebuilder.kit.editor.util.InlineEditController$1.handle(InlineEditController.java:163)
              at com.oracle.javafx.scenebuilder.kit.editor.util.InlineEditController$1.handle(InlineEditController.java:141)
              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.EventUtil.fireEventImpl(EventUtil.java:74)
              at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
              at javafx.stage.PopupWindow$PopupEventRedirector.handleKeyEvent(PopupWindow.java:968)
              at javafx.stage.PopupWindow$PopupEventRedirector.handleRedirectedEvent(PopupWindow.java:941)
              at com.sun.javafx.event.EventRedirector.dispatchCapturingEvent(EventRedirector.java:106)
              at com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(CompositeEventDispatcher.java:43)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:52)
              at com.sun.javafx.event.EventRedirector.redirectEvent(EventRedirector.java:124)
              at com.sun.javafx.event.EventRedirector.dispatchCapturingEvent(EventRedirector.java:103)
              at com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(CompositeEventDispatcher.java:43)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:52)
              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:203)
              at javafx.scene.Scene$KeyHandler.process(Scene.java:3850)
              at javafx.scene.Scene$KeyHandler.access$2100(Scene.java:3809)
              at javafx.scene.Scene.impl_processKeyEvent(Scene.java:1993)
              at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:2450)
              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:514)
              at com.sun.glass.ui.View.notifyKey(View.java:918)
              at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
              at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
              at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
              at java.lang.Thread.run(Thread.java:744)
      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
              at com.sun.javafx.tk.quantum.GlassScene.getClearColor(GlassScene.java:337)
              at com.sun.javafx.tk.quantum.SceneState.update(SceneState.java:102)
              at com.sun.javafx.tk.quantum.GlassScene.updateSceneState(GlassScene.java:280)
              at com.sun.javafx.tk.quantum.GlassScene.releaseSynchronization(GlassScene.java:138)
              at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2368)
              at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:329)
              at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:479)
              at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:460)
              at com.sun.javafx.tk.quantum.QuantumToolkit$13.run(QuantumToolkit.java:327)
              at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
              at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
              at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
              at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
              at java.lang.Thread.run(Thread.java:744)

        Attachments

          Activity

            People

            Assignee:
            slions Sandra Lions-piron
            Reporter:
            dkozorez Dmitry Kozorez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: