On Wed, 5 Nov 2025 08:47:47 GMT, Alessadro Parisi <[email protected]> wrote:

> I was finally able to compile JavaFX with this PR and integrate it into my 
> maven project. This does not seem to fix my issue entirely. While I don't see 
> expections like these anymore: `NullPointerException: Cannot invoke 
> "com.sun.prism.RTTexture.createGraphics()" because <local9> is null` I now 
> see this: `java.lang.NullPointerException: Cannot invoke 
> "com.sun.prism.RTTexture.createGraphics()" because "newtex" is null` or this 
> `java.lang.NullPointerException: Cannot invoke 
> "com.sun.prism.Texture.assertLocked()" because "this.maskTex" is null` and 
> the app still freezes
> 
> Is this related or an entirely different issue?

Hard to judge just from those messages, but it is possible the root cause is 
similar. The check I added is only in one place and it might not cover all 
cases. Can you provide a full stacktrace for each of those NPEs?

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

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

Reply via email to