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

WebView Bug: miter limit < 1

XMLWordPrintable

    • web

      I was testing HTML5 canvas abilities. JavaFX could not draw fully the canvas elements on this page http://www.rgraph.net/examples/bar.html. It has thrown the following exception:

      java.lang.IllegalArgumentException: miter limit < 1
      at com.sun.prism.BasicStroke.set(BasicStroke.java:79)
      at com.sun.prism.BasicStroke.<init>(BasicStroke.java:42)
      at com.sun.webpane.sg.prism.WCGraphicsPrismContext.strokeRect(WCGraphicsPrismContext.java:1083)
      at com.sun.webpane.platform.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:111)
      at com.sun.webpane.platform.graphics.WCRenderQueue.decode(WCRenderQueue.java:34)
      at com.sun.webpane.platform.graphics.WCRenderQueue.decode(WCRenderQueue.java:50)
      at com.sun.webpane.platform.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:362)
      at com.sun.webpane.platform.graphics.WCRenderQueue.decode(WCRenderQueue.java:34)
      at com.sun.webpane.platform.WebPage.paint2GC(WebPage.java:635)
      at com.sun.webpane.platform.WebPage.paint(WebPage.java:614)
      at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:81)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:109)
      at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:302)
      at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
      at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1035)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:181)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:332)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:109)
      at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:298)
      at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
      at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1035)
      at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(PaintRunnable.java:138)
      at com.sun.javafx.tk.quantum.PaintRunnable.run(PaintRunnable.java:238)
      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$ObservedRunnable.run(QuantumRenderer.java:70)
      at java.lang.Thread.run(Thread.java:662)

            malenkov Sergey Malenkov (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: