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

IllegalStateException: Trying to remove a cached items that's not in the cache

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      1) Run DiamondBenchmarkBug
      2) Most of the time (but not always) you will get the following exception:


      java.lang.IllegalStateException: Trying to remove a cached item that's not in the cache
      at com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.removeEntry(CachingShapeRep.java:240)
      at com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.unref(CachingShapeRep.java:352)
      at com.sun.prism.impl.ps.CachingShapeRepState.invalidateMaskTexData(CachingShapeRep.java:424)
      at com.sun.prism.impl.ps.CachingShapeRepState.render(CachingShapeRep.java:436)
      at com.sun.prism.impl.ps.CachingShapeRep.draw(CachingShapeRep.java:114)
      at com.sun.javafx.sg.prism.NGShape.renderContent(NGShape.java:224)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1)
      at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1277)
      at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1252)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1)
      at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1277)
      at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:237)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:203)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:412)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1)
      at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1277)
      at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:99)
      at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:212)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:103)
      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:56)
      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:129)
      at java.lang.Thread.run(Thread.java:722)
      ES2 Vram Pool: 2,105,829 used (0.8%), 2,105,829 managed (0.8%), 268,435,456 total
      167 total resources being managed
      1 permanent resources (0.6%)
      1 resources locked (0.6%)
      165 resources contain interesting data (98.8%)
      0 resources disappeared (0.0%)

      NOTE: This happens on Windows and Mac.

            flar Jim Graham
            snorthov Steve Northover (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: