Community
Participate
Working Groups
If ScrollingGraphicalViewer.reveal is called while workbench shutdown is in progress, the call to getFigureCanvas can return null, resulting in an NPE at line 89. There may be other cases where this occurs, but workbench shutdown is the only one I have observed to date.
From the description you provide it does not get quite clear why reveal gets called during shutdown of the workbench. Could you provide a stack trace? I assume this could pretty much result from a misuse of the reveal method.
I will provide a stacktrace if I see it again - 4 months have elapsed since the bug was logged and I don't have a stacktrace on-hand. But the fact remains that this is not coded defensively, making the NPE possible.