-
Bug
-
Resolution: Fixed
-
P3
-
fx2.0.2
We use JavaFX for developing terminal software.
There is touchscreen, nice JavaFX-driven UI, etc.
After some time of testing, we were faced with following exceptions:
{code}
java.lang.NullPointerException
at com.sun.prism.impl.BaseGraphics.drawTextureVO(Unknown Source)
at com.sun.prism.impl.BaseGraphics.drawTexture(Unknown Source)
at com.sun.prism.impl.ps.BaseShaderGraphics.drawTexture(Unknown Source)
at com.sun.javafx.sg.prism.NGImageView.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.doPaint(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.run(Unknown Source)
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(Unknown Source)
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(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
{code}
{code}
java.lang.NullPointerException
at com.sun.scenario.effect.impl.prism.ps.PPSDrawable.create(Unknown Source)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.createCompatibleImage(Unknown Source)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.createCompatibleImage(Unknown Source)
at com.sun.scenario.effect.impl.ImagePool.checkOut(Unknown Source)
at com.sun.scenario.effect.impl.Renderer.getCompatibleImage(Unknown Source)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.getCompatibleImage(Unknown Source)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.getCompatibleImage(Unknown Source)
at com.sun.scenario.effect.Effect.getCompatibleImage(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.renderOpacity(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.doPaint(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.run(Unknown Source)
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(Unknown Source)
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(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
{code}
Visually we are observing absence of some images on the scene (there are black rectangles).
We have observed this issue several times after more then 12 hours of continuously running.
I do not know how to reproduce this:( But maybe exceptions themselves will help.
There is touchscreen, nice JavaFX-driven UI, etc.
After some time of testing, we were faced with following exceptions:
{code}
java.lang.NullPointerException
at com.sun.prism.impl.BaseGraphics.drawTextureVO(Unknown Source)
at com.sun.prism.impl.BaseGraphics.drawTexture(Unknown Source)
at com.sun.prism.impl.ps.BaseShaderGraphics.drawTexture(Unknown Source)
at com.sun.javafx.sg.prism.NGImageView.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.doPaint(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.run(Unknown Source)
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(Unknown Source)
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(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
{code}
{code}
java.lang.NullPointerException
at com.sun.scenario.effect.impl.prism.ps.PPSDrawable.create(Unknown Source)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.createCompatibleImage(Unknown Source)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.createCompatibleImage(Unknown Source)
at com.sun.scenario.effect.impl.ImagePool.checkOut(Unknown Source)
at com.sun.scenario.effect.impl.Renderer.getCompatibleImage(Unknown Source)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.getCompatibleImage(Unknown Source)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.getCompatibleImage(Unknown Source)
at com.sun.scenario.effect.Effect.getCompatibleImage(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.renderOpacity(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.doPaint(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(Unknown Source)
at com.sun.javafx.tk.quantum.PaintRunnable.run(Unknown Source)
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(Unknown Source)
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(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
{code}
Visually we are observing absence of some images on the scene (there are black rectangles).
We have observed this issue several times after more then 12 hours of continuously running.
I do not know how to reproduce this:( But maybe exceptions themselves will help.
- is blocked by
-
JDK-8127673 NullPointerException in rendering
- Closed