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

IllegalArgumentException in ES2 pipeline

XMLWordPrintable

      Run runtime/toys/WebLauncher, go to javafx-jira.kenai.com, login and open any issue. An exception will be thrown:
           [java] java.lang.IllegalArgumentException: Upload requires 2000 elements, but only 1715 elements remain in the buffer
           [java] at com.sun.prism.impl.BaseTexture.checkUpdateParams(BaseTexture.java:171)
           [java] at com.sun.prism.es2.ES2Texture.update(ES2Texture.java:528)
           [java] at com.sun.prism.impl.BaseTexture.update(BaseTexture.java:109)
           [java] at com.sun.prism.impl.BaseResourceFactory.createTexture(BaseResourceFactory.java:116)
           [java] at com.sun.prism.impl.BaseResourceFactory.getCachedTexture(BaseResourceFactory.java:96)
           [java] at com.sun.prism.impl.BaseResourceFactory.getCachedTexture(BaseResourceFactory.java:87)
           [java] at com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(BaseShaderContext.java:357)
           [java] at com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(BaseShaderContext.java:292)
           [java] at com.sun.prism.impl.ps.BaseShaderGraphics.renderGeneralRoundedPgram(BaseShaderGraphics.java:720)
           [java] at com.sun.prism.impl.ps.BaseShaderGraphics.renderGeneralRoundedRect(BaseShaderGraphics.java:421)
           [java] at com.sun.prism.impl.ps.BaseShaderGraphics.fillRect(BaseShaderGraphics.java:739)
           [java] at com.sun.webpane.sg.prism.WCGraphicsPrismContext.drawPattern(WCGraphicsPrismContext.java:599)
           [java] at com.sun.webpane.platform.graphics.GraphicsDecoder.drawPattern(GraphicsDecoder.java:402)
           [java] at com.sun.webpane.platform.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:190)
           [java] at com.sun.webpane.platform.graphics.WCRenderQueue.decode(WCRenderQueue.java:72)
           [java] at com.sun.webpane.platform.WebPage.paint2GC(WebPage.java:678)
           [java] at com.sun.webpane.platform.WebPage.paint(WebPage.java:658)
           [java] at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:71)
           [java] at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:188)
           [java] at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:42)
           [java] at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1131)
           [java] at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:205)
           [java] at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:400)
           [java] at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:188)
           [java] at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:42)
           [java] at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1131)
           [java] at com.sun.javafx.tk.quantum.PaintRunnable.doPaint(PaintRunnable.java:217)
           [java] at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(PaintRunnable.java:154)
           [java] at com.sun.javafx.tk.quantum.PaintRunnable.run(PaintRunnable.java:329)
           [java] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
           [java] at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
           [java] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
           [java] at com.sun.prism.render.RenderJob.run(RenderJob.java:29)
           [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
           [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
           [java] at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:80)
           [java] at java.lang.Thread.run(Thread.java:680)

      This is a regression from some 2.0.2 change, Presidio works fine.

            ckyang Chien Yang (Inactive)
            peterz Peter Zhelezniakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: