Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endless java.lang.NullPointerException: "com.sun.prism.d3d.D3DTextureResource.getResource()" is null #1544

Open
Mararsh opened this issue Sep 7, 2022 · 1 comment
Assignees
Labels
Fatal. Function failure reason: Third-party Issue This may be some issue caused by third-party library or baseline codes.

Comments

@Mararsh
Copy link
Owner

Mararsh commented Sep 7, 2022

java.lang.NullPointerException: Cannot invoke "com.sun.prism.d3d.D3DTextureData.getContext()" because the return value of "com.sun.prism.d3d.D3DTextureResource.getResource()" is null
at [email protected]/com.sun.prism.d3d.D3DTexture.getContext(D3DTexture.java:85)
at [email protected]/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:210)
at [email protected]/com.sun.prism.d3d.D3DTexture.update(D3DTexture.java:154)
at [email protected]/com.sun.prism.impl.BaseContext.flushMask(BaseContext.java:115)
at [email protected]/com.sun.prism.impl.BaseContext.drawQuads(BaseContext.java:124)
at [email protected]/com.sun.prism.impl.VertexBuffer.flush(VertexBuffer.java:98)
at [email protected]/com.sun.prism.impl.BaseContext.flushVertexBuffer(BaseContext.java:107)
at [email protected]/com.sun.prism.impl.ps.BaseShaderContext.setRenderTarget(BaseShaderContext.java:789)
at [email protected]/com.sun.prism.impl.BaseContext.setRenderTarget(BaseContext.java:149)
at [email protected]/com.sun.prism.impl.ps.BaseShaderContext.checkState(BaseShaderContext.java:679)
at [email protected]/com.sun.prism.impl.ps.BaseShaderContext.validateTextureOp(BaseShaderContext.java:612)
at [email protected]/com.sun.prism.impl.ps.BaseShaderContext.validateTextureOp(BaseShaderContext.java:523)
at [email protected]/com.sun.prism.impl.BaseGraphics.drawTexture(BaseGraphics.java:432)
at [email protected]/com.sun.prism.impl.ps.BaseShaderGraphics.drawTexture(BaseShaderGraphics.java:157)
at javafx.web/com.sun.javafx.webkit.prism.WCPageBackBufferImpl.flush(WCPageBackBufferImpl.java:71)
at javafx.web/com.sun.webkit.WebPage.paint(WebPage.java:712)
at javafx.web/com.sun.javafx.sg.prism.web.NGWebView.renderContent(NGWebView.java:95)
at [email protected]/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)
at [email protected]/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
at [email protected]/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
at [email protected]/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:579)
at [email protected]/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)
at [email protected]/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
at [email protected]/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
at [email protected]/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:579)
at [email protected]/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)
at [email protected]/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
at [email protected]/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
at [email protected]/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:579)
at [email protected]/com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:2313)
at [email protected]/com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:2207)
at [email protected]/com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:2233)
at [email protected]/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2066)
at [email protected]/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
at [email protected]/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
at [email protected]/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:579)
at [email protected]/com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:2313)
at [email protected]/com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:2207)
at [email protected]/com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:2233)
at [email protected]/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2066)
at [email protected]/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
at [email protected]/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
at [email protected]/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:579)
at [email protected]/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)
at [email protected]/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
at [email protected]/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)
at [email protected]/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:579)
at [email protected]/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)
at [email protected]/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)
at [email protected]/com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:480)
at [email protected]/com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:321)
at [email protected]/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:92)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at [email protected]/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at [email protected]/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:126)
at java.base/java.lang.Thread.run(Thread.java:833)

@Mararsh Mararsh self-assigned this Sep 7, 2022
@Mararsh Mararsh added reason: Third-party Issue This may be some issue caused by third-party library or baseline codes. Fatal. Function failure labels Sep 7, 2022
@Mararsh
Copy link
Owner Author

Mararsh commented Sep 7, 2022

When load following address with WebView, this error appears endlessly and causes app blocked:

https://wenku.baidu.com/view/5f1c8a0dccc789eb172ded630b1c59eef8c79a15.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fatal. Function failure reason: Third-party Issue This may be some issue caused by third-party library or baseline codes.
Projects
None yet
Development

No branches or pull requests

1 participant