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

[Ensemble8] NullPointerException from VirtualFlow.layoutChildren when running Gesture Event sample

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u20
    • 8u20
    • javafx
    • None
    • Mac, 8u20 developer build

    Description

      Run Ensemble8 Gesture Event sample. Pinch on the square.

      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at com.sun.javafx.scene.control.skin.VirtualFlow.layoutChildren(VirtualFlow.java:953)
      at com.sun.javafx.scene.control.skin.VirtualFlow.setCellCount(VirtualFlow.java:229)
      at com.sun.javafx.scene.control.skin.ListViewSkin.updateRowCount(ListViewSkin.java:217)
      at com.sun.javafx.scene.control.skin.VirtualContainerBase.lambda$new$57(VirtualContainerBase.java:55)
      at com.sun.javafx.scene.control.skin.VirtualContainerBase$$Lambda$175/584321376.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:49)
      at javafx.event.Event.fireEvent(Event.java:198)
      at javafx.scene.control.ControlUtils.fireScrollToIndexEvent(ControlUtils.java:68)
      at javafx.scene.control.ControlUtils.scrollToIndex(ControlUtils.java:46)
      at javafx.scene.control.ListView.scrollTo(ListView.java:921)
      at ensemble.samples.scenegraph.events.gestureevent.GestureEventApp.showOnConsole(GestureEventApp.java:164)
      at ensemble.samples.scenegraph.events.gestureevent.GestureEventApp.lambda$setEventListeners$241(GestureEventApp.java:239)
      at ensemble.samples.scenegraph.events.gestureevent.GestureEventApp$$Lambda$302/716287254.handle(Unknown Source)
      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.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.processGestureEvent(Scene.java:1801)
      at javafx.scene.Scene.access$300(Scene.java:144)
      at javafx.scene.Scene$ScenePeerListener.zoomEvent(Scene.java:2573)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleZoomGestureEvent$326(GlassViewEventHandler.java:891)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$$Lambda$333/519103858.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleZoomGestureEvent(GlassViewEventHandler.java:875)
      at com.sun.glass.ui.View.handleZoomGestureEvent(View.java:609)
      at com.sun.glass.ui.View.notifyZoomGestureEvent(View.java:1063)
      at com.sun.glass.ui.GestureSupport.handleZoomingEnd(GestureSupport.java:166)
      at com.sun.glass.ui.GestureSupport.lambda$createTouchCountListener$38(GestureSupport.java:396)
      at com.sun.glass.ui.GestureSupport$$Lambda$329/1664733033.touchCountChanged(Unknown Source)
      at com.sun.glass.ui.TouchInputSupport.notifyEndTouchEvent(TouchInputSupport.java:112)
      at com.sun.glass.ui.mac.MacTouchInputSupport.notifyEndTouchEvent(MacTouchInputSupport.java:93)
      at com.sun.glass.ui.mac.MacGestureSupport.notifyEndTouchEvent(MacGestureSupport.java:81)

      Attachments

        Activity

          People

            jgiles Jonathan Giles
            dgrieve David Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: