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

TableView : NPE after a few right arrows with multiple lines selected.

    Details

      Description


      Running the testcase attached to RT-14673

      Press mouse on cell (0,0)
      Press Shitf+Down Arrow four times.
      Press Right Arrow three times (sometimes more, sometimes less).

      You get a NPE :
      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
              at com.sun.javafx.scene.control.behavior.TableViewBehavior.alsoSelectRightCell(TableViewBehavior.java:542)
              at com.sun.javafx.scene.control.behavior.TableViewBehavior.callAction(TableViewBehavior.java:151)
              at com.sun.javafx.scene.control.behavior.BehaviorBase.callActionForEvent(BehaviorBase.java:150)
              at com.sun.javafx.scene.control.behavior.TableViewBehavior.callActionForEvent(TableViewBehavior.java:182)
              at com.sun.javafx.scene.control.behavior.BehaviorBase$1.handle(BehaviorBase.java:112)
              at com.sun.javafx.scene.control.behavior.BehaviorBase$1.handle(BehaviorBase.java:110)
              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:2820)
              at javafx.scene.Scene$KeyHandler.access$1500(Scene.java:2750)
              at javafx.scene.Scene.impl_processKeyEvent(Scene.java:1351)
              at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:1783)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:108)
              at com.sun.glass.ui.View.handleKeyEvent(View.java:248)
              at com.sun.glass.ui.View.notifyKey(View.java:534)
      JavaFX application launcher: calling System.exit
      BUILD SUCCESSFUL (total time: 11 seconds)

        Attachments

          Activity

            People

            • Assignee:
              jgiles Jonathan Giles
              Reporter:
              miflemi Mick Fleming (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: