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

NullPointerException thrown by ES2RTTexture.create method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • 7u6
    • javafx

      This one happend to me a couple of times after upgrading from DP 2.1 b12 to DP 2.2 b03. It seems to be related to RT-15693. Unfortunately, it's hard to say what exactly causes it - it just happens occasionally and leads to app crash. I decided to report it anyway though - you'll hopefully be able to figure out a clue from stack trace. Here it goes:

      java.lang.NullPointerException
              at com.sun.prism.es2.ES2RTTexture.create(ES2RTTexture.java:115)
              at com.sun.prism.es2.ES2ResourceFactory.createRTTexture(ES2ResourceFactory.java:53)
              at com.sun.scenario.effect.impl.prism.ps.PPSDrawable.create(PPSDrawable.java:50)
              at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.createCompatibleImage(PPSRenderer.java:146)
              at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.createCompatibleImage(PPSRenderer.java:60)
              at com.sun.scenario.effect.impl.ImagePool.checkOut(ImagePool.java:166)
              at com.sun.scenario.effect.impl.Renderer.getCompatibleImage(Renderer.java:118)
              at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.getCompatibleImage(PPSRenderer.java:151)
              at com.sun.scenario.effect.impl.prism.ps.PPSOneSamplerPeer.filterImpl(PPSOneSamplerPeer.java:65)
              at com.sun.scenario.effect.impl.prism.ps.PPSEffectPeer.filter(PPSEffectPeer.java:52)
              at com.sun.scenario.effect.impl.state.LinearConvolveKernel.filterImageDatas(LinearConvolveKernel.java:401)
              at com.sun.scenario.effect.BoxShadow.filterImageDatas(BoxShadow.java:396)
              at com.sun.scenario.effect.FilterEffect.filter(FilterEffect.java:178)
              at com.sun.scenario.effect.Offset.filter(Offset.java:161)
              at com.sun.scenario.effect.Merge.filter(Merge.java:147)
              at com.sun.scenario.effect.DelegateEffect.filter(DelegateEffect.java:68)
              at com.sun.scenario.effect.impl.prism.PrEffectHelper.render(PrEffectHelper.java:156)
              at com.sun.javafx.sg.prism.NGNode$EffectFilter.render(NGNode.java:747)
              at com.sun.javafx.sg.prism.NGNode.renderEffect(NGNode.java:493)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:185)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:420)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:187)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:420)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:187)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:420)
              at com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:428)
              at com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:319)
              at com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:345)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:179)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:420)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:187)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:187)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:420)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:187)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:420)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:187)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:420)
              at com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:428)
              at com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:319)
              at com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:345)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:179)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:420)
              at com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:428)
              at com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:319)
              at com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:345)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:179)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:187)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:204)
              at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:420)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:187)
              at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:39)
              at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1133)
              at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:117)
              at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:175)
              at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:73)
              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:96)
              at java.lang.Thread.run(Thread.java:722)

            clai Clement Lai (Inactive)
            kionjfx Kion (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: