NotificationPopupHandler.getScreenBounds throwing NPE on 11.0.0
See original GitHub issueHi everyone I just updated to ControlsFX 11.0.0 (from the RC2) and I’m getting some random reports of the NPE as below. Any suggestion? Unfortunately I can’t replicate.
java.lang.NullPointerException
at org.controlsfx.control.Notifications$NotificationPopupHandler.getScreenBounds(Notifications.java:364)
at org.controlsfx.control.Notifications$NotificationPopupHandler.show(Notifications.java:343)
at org.controlsfx.control.Notifications.show(Notifications.java:305)
at org.controlsfx.control.Notifications.showInformation(Notifications.java:280)
thanks nicola
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
NullPointerException in ControlsFX Notification - Stack Overflow
getWindows() looking for a window that is focused. null is used, if no such window is found. With the current code the primary...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Firstly, I found the error.
Utils.getWindow(null)
can return null. I will fix it now.Thanks a lot!