RFR: 8352209: NPE com.sun.prism.d3d.D3DTextureData.getContext [v3]

John Hendrikx jhendrikx at openjdk.org
Mon Nov 3 14:04:46 UTC 2025


On Mon, 3 Nov 2025 13:35:26 GMT, Alessadro Parisi <duke at openjdk.org> wrote:

> I have an app that performs a lot of rendering. It creates and needs to store many Canvas objects. I’ve noticed that when the maximum allowed VRAM is exhausted, the app becomes unresponsive and starts throwing multiple NullPointerExceptions. Does this PR solve the issue?

For me it did (I also use large canvas/writableimage and just many images in general).  I included the affected classes, and NPE's went away, and the app keeps functioning (so I'm guessing it is falling back on normal RAM).

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1951#issuecomment-3480703040


More information about the openjfx-dev mailing list