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

IllegalArgumentException from BaseTexture.checkUpdateParams when running WebLauncher toy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • fx2.1
    • javafx
    • None
    • Mac

    • web

      Running the WebLauncher toy, the default page popped in, then this exception occurred with no interaction at all with the app (no key presses, no mouse events, etc.)

      ----- WebLauncher -----
      java -cp ../../../artifacts/sdk/rt/lib/jfxrt.jar:dist/WebLauncher.jar WebLauncher
      java.lang.IllegalArgumentException: Upload requires 67700 elements, but only 55845 elements remain in the buffer
      at com.sun.prism.impl.BaseTexture.checkUpdateParams(BaseTexture.java:171)
      at com.sun.prism.es2.ES2Texture.update(ES2Texture.java:528)
      at com.sun.prism.impl.BaseTexture.update(BaseTexture.java:109)
      at com.sun.prism.impl.BaseResourceFactory.createTexture(BaseResourceFactory.java:121)
      at com.sun.prism.impl.BaseResourceFactory.getCachedTexture(BaseResourceFactory.java:100)
      at com.sun.prism.impl.BaseResourceFactory.getCachedTexture(BaseResourceFactory.java:91)
      at com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(BaseShaderContext.java:357)
      at com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(BaseShaderContext.java:292)
      at com.sun.prism.impl.ps.BaseShaderGraphics.renderGeneralRoundedPgram(BaseShaderGraphics.java:720)
      at com.sun.prism.impl.ps.BaseShaderGraphics.renderGeneralRoundedRect(BaseShaderGraphics.java:421)
      at com.sun.prism.impl.ps.BaseShaderGraphics.fillRect(BaseShaderGraphics.java:739)
      at com.sun.webpane.sg.prism.WCGraphicsPrismContext.drawPattern(WCGraphicsPrismContext.java:586)
      at com.sun.webpane.platform.graphics.GraphicsDecoder.drawPattern(GraphicsDecoder.java:402)
      at com.sun.webpane.platform.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:190)
      at com.sun.webpane.platform.graphics.WCRenderQueue.decode(WCRenderQueue.java:70)
      at com.sun.webpane.platform.WebPage.paint2GC(WebPage.java:678)
      at com.sun.webpane.platform.WebPage.paint(WebPage.java:658)
      at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:71)
      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:1143)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:205)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:420)
      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:1143)
      at com.sun.javafx.tk.quantum.PaintRunnable.doPaint(PaintRunnable.java:217)
      at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(PaintRunnable.java:151)
      at com.sun.javafx.tk.quantum.PaintRunnable.run(PaintRunnable.java:352)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      at com.sun.prism.render.RenderJob.run(RenderJob.java:29)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:101)
      at java.lang.Thread.run(Thread.java:680)

            peterz Peter Zhelezniakov
            dgrieve David Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: