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
Avoid FindReplaceOverlay setTextEditorActionsActivated resulting in NPE
- The FindReplaceOverlay's setTextEditorActionsActivated method
reflectively invokes AbstractTextEditor.setActionActivation(boolean) and
that method assumes that getEditorSite().getActionBarContributor()
returns non-null but MultiPageEditorSite.getActionBarContributor()
returns null so in PDE's target editor, this leads to an NPE.
- AbstractTextEditor.setActionActivation(boolean) must guard against a
null action contributor to avoid NPE and instead should get and use the
action bar contributor of the containing multi-page editor.
0 commit comments