question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NotificationPopupHandler.getScreenBounds throwing NPE on 11.0.0

See original GitHub issue

Hi 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:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Cirumancommented, Apr 30, 2019

Firstly, I found the error. Utils.getWindow(null) can return null. I will fix it now.

0reactions
nicolabeghincommented, May 11, 2019

Thanks a lot!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found