Very, very rarely I was encountering an NPE when closing the Network Tree (Configure Nodes) window.
The cause was a PropertyChangeEvent arriving after the release() call had (in theory) closed everything down. That nulled-out the timer reference. This detects that condition and ignores the event with a warning in the log.
Not clear to me whether that log message should be a warning or some lower level, though.
Very, very rarely I was encountering an NPE when closing the Network Tree (Configure Nodes) window.
The cause was a PropertyChangeEvent arriving after the
release()
call had (in theory) closed everything down. That nulled-out thetimer
reference. This detects that condition and ignores the event with a warning in the log.Not clear to me whether that log message should be a warning or some lower level, though.