RFR: JDK-8298104: NPE on synchronizeSceneNodes()
buedi
duke at openjdk.org
Fri May 5 08:48:35 UTC 2023
On Wed, 3 May 2023 11:46:50 GMT, buedi <duke at openjdk.org> wrote:
> A null pointer exception occurs on the ScenePulseListener when iterating through the dirty node list.
> A null check is needed on the node before calling node.getScene().
>
> The error occurs occasionally and causes the application to crash.
Hi John, thank you for this information. I couldn't find any instances of `ConcurrentModificationException`, but about an hour ago before the NPE, we did have an `IllegalStateException`. Could this be the cause of the issue?

Two weeks ago, we fixed the issue by implementing a check to see if the dialog header was being called from a JavaFX thread.

-------------
PR Comment: https://git.openjdk.org/jfx/pull/1123#issuecomment-1535930576
More information about the openjfx-dev
mailing list