You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 10, 2018. It is now read-only.
You should not start the timer loop before the tracker has been associated with the button in the map. Otherwise, this later code can produce a NullPointerException:
Thanks Ed. I've added the fix locally. Will wait a couple more days to see if there's anything else that would be worth putting into a 7.1.01 respin and then push the update.
There is a possibility of a rare NullPointerException in RootPaneDefaultButtonTracker caused by what seems to me a simple logic error.
Basically, these two lines in
RootPaneDefaultButtonTracker
should be reversed:You should not start the timer loop before the tracker has been associated with the button in the map. Otherwise, this later code can produce a NullPointerException:
An alternative fix is to put a check for
tracker==null
before callingtracker.stopTimer()
The bug is very, very rare, but I have seen it happen. I found and fixed this issue on a forked version:
Insubstantial#137
A stack trace is included there. The root cause still exists in Substance 7.1.
The text was updated successfully, but these errors were encountered: