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

Problem with images during running for a long time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0.2
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kprazdnikwse Kirill.Prazdnikov (Inactive)
              Reporter:
              ilytvynenjfx Igor Lytvynenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: