Closed hlf0319 closed 4 years ago
Hi, @vlaaad , sorry for the distraction. I just ran into the above issue, would you be able to take a quick peek?
this repo is inactive - if you think you found a bug, please report it through the usual channels (https://bugreport.java.com/bugreport/ or directly at jbs if you have write access) - and don't forget to add a reproducible example demonstrating the issue :)
Thanks @kleopatra , will report in https://bugreport.java.com/bugreport/
Filed a bug with review ID 9066631 Also uploaded a small project with repro - https://github.com/hlf0319/repro-openjdk-jfx-637 I feel the problem is caused due to my onAction inside my customized ListCell.
Hi, is there any update on this? I am also running into the same NPE due to a null Scene, but I can't seem to find the bugreport ID you mentioned.
Filed as: https://bugs.openjdk.java.net/browse/JDK-8252630 which is closed as a duplicate of https://bugs.openjdk.java.net/browse/JDK-8244234
I think this is happening after this change https://github.com/javafxports/openjdk-jfx/pull/544 (https://github.com/javafxports/openjdk-jfx/issues/465)
I implemented my customized ListCell (label and menuButton inside anchorPane) I am getting NPE when I remove the last item from the list (it only happens when I remove the last item, removing from any other positions are fine)
Sample implementation of my
updateItem
: