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

Prism: ES2RTTexture.create() RuntimeException: Requested texture dimensions ... exceed maximum texture size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • javafx
    • None

      I'm reporting this, because it looks like a stack trace in the JavaFX runtime, but it has never happened before in hundreds of runs of my code. So this may be FYI only. The exception message itself does not seem to make sense, in terms of dimensions of 0x0 exceeding texture size (16384).

      The exception happened towards the end of an animation that was rotating and shrinking a pane to 0 size. After the exception, a small image remained on the screen.


      java.lang.RuntimeException: Requested texture dimensions (0x0) require dimensions (0x0) that exceed maximum texture size (16384)
      at com.sun.prism.es2.ES2RTTexture.create(ES2RTTexture.java:220)
      at com.sun.prism.es2.ES2ResourceFactory.createRTTexture(ES2ResourceFactory.java:157)
      at com.sun.javafx.sg.prism.NGSubScene.renderContent(NGSubScene.java:204)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:477)
      at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:323)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
      at java.lang.Thread.run(Thread.java:745)

            Unassigned Unassigned
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: