Project: Eclipse_Platform_UI
Bug 12758 NPE in SelectionEnabler
Reported: 2002-04-04 03:48:20 | Status: resolved fixed

SelectionEnabler.isEnabledFor(ITextSelection) should do a null check for classes just as SelectionEnabler.isEnabledFor(IStructuredSelection) does. Otherwise, I get an NPE in SelectionEnabler.verifyElement(ITextSelection).

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/SelectionEnabler.java