RFR: JDK-8298104: NPE on synchronizeSceneNodes()
buedi
duke at openjdk.org
Wed May 3 20:40:10 UTC 2023
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.
-------------
Commit messages:
- Add null check to synchronizeSceneNodes()
Changes: https://git.openjdk.org/jfx/pull/1123/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1123&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8298104
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jfx/pull/1123.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1123/head:pull/1123
PR: https://git.openjdk.org/jfx/pull/1123
More information about the openjfx-dev
mailing list