Closed
Description
In ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/DefaultHelpUI.java, lines 330-336:
if (adapter != null)
context = adapter.getContext(c);
String contextText = context.getText();
But javadoc of IContextProvider.getContext(Object)
says:
return context help for the provided target or
null
if none is defined.
I.e. adapter.getContext(c)
may return null
then we call context.getText()
and give NullPointerException
.