WebView crashes after windows is restored from hibernate.
Screenshot is attached.
Stack trace:
java.lang.NullPointerException
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:251)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1000)
at com.sun.webpane.sg.prism.theme.RendererImpl.render(RendererImpl.java:15)
at com.sun.webpane.sg.theme.RenderThemeImpl.drawWidget(RenderThemeImpl.java:260)
at com.sun.webpane.sg.prism.WCGraphicsPrismContext.drawWidget(WCGraphicsPrismContext.java:654)
at com.sun.webpane.platform.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:301)
at com.sun.webpane.platform.graphics.WCRenderQueue.decode(WCRenderQueue.java:30)
at com.sun.webpane.platform.WebPage.paint2GC(WebPage.java:636)
at com.sun.webpane.platform.WebPage.paint(WebPage.java:615)
at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:77)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:103)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:290)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1000)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:179)
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:352)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:103)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:290)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1000)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:179)
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:352)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:103)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:290)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1000)
at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(PaintRunnable.java:137)
at com.sun.javafx.tk.quantum.PaintRunnable.run(PaintRunnable.java:236)
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)
Screenshot is attached.
Stack trace:
java.lang.NullPointerException
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:251)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1000)
at com.sun.webpane.sg.prism.theme.RendererImpl.render(RendererImpl.java:15)
at com.sun.webpane.sg.theme.RenderThemeImpl.drawWidget(RenderThemeImpl.java:260)
at com.sun.webpane.sg.prism.WCGraphicsPrismContext.drawWidget(WCGraphicsPrismContext.java:654)
at com.sun.webpane.platform.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:301)
at com.sun.webpane.platform.graphics.WCRenderQueue.decode(WCRenderQueue.java:30)
at com.sun.webpane.platform.WebPage.paint2GC(WebPage.java:636)
at com.sun.webpane.platform.WebPage.paint(WebPage.java:615)
at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:77)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:103)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:290)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1000)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:179)
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:352)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:103)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:290)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1000)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:179)
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:352)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:103)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:290)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1000)
at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(PaintRunnable.java:137)
at com.sun.javafx.tk.quantum.PaintRunnable.run(PaintRunnable.java:236)
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)
- duplicates
-
JDK-8114383 Webnode needs to handle screen lock.... NPE produced.
-
- Closed
-
- is blocked by
-
JDK-8101496 Request for a RenderTarget backed by an in-memory buffer
-
- Closed
-
- relates to
-
JDK-8091605 Introduce a class to encapsulate RTTexture and ResourceListener
-
- Open
-