When running VideoCube I get the following exception intermittently:
java -cp C:/Users/kcr/javafx/3.0-kcr-gfx/jfx/artifacts/sdk/rt/lib/jfxrt.jar;dist/VideoCube.jar videocube.VideoCube
java.lang.NullPointerException
at com.sun.javafx.sg.prism.PrismMediaFrameHandler$PrismFrameBuffer.<init>(PrismMediaFrameHandler.java:174)
at com.sun.javafx.sg.prism.PrismMediaFrameHandler.updateTexture(PrismMediaFrameHandler.java:104)
at com.sun.javafx.sg.prism.PrismMediaFrameHandler.getTexture(PrismMediaFrameHandler.java:85)
at com.sun.javafx.sg.prism.NGMediaView.renderContent(NGMediaView.java:134)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:358)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:41)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1166)
at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:223)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:189)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:358)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:41)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1166)
at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:223)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:189)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:358)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:41)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1166)
at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:128)
at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:190)
at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:74)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at com.sun.prism.render.RenderJob.run(RenderJob.java:37)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:98)
at java.lang.Thread.run(Thread.java:722)