Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317525

Summary: [Help] NPE creating new scope in search view - Fix in Eclipse 3.7
Product: [Eclipse Project] Platform Reporter: Chris Goldthorpe <cgold>
Component: User AssistanceAssignee: Chris Goldthorpe <cgold>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Chris Goldthorpe CLA 2010-06-21 18:15:29 EDT
+++ This bug was initially created as a clone of Bug #314589 +++

I20100526-0800

Open the error log view
In the help view create a new scope and edit it
Click on the button "Search only the following topics"

An NPE is generated:

java.lang.NullPointerException
	at org.eclipse.help.ui.internal.search.LocalHelpPage$2.widgetSelected(LocalHelpPage.java:101)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
etc.
Comment 1 Chris Goldthorpe CLA 2010-06-21 18:18:08 EDT
The patch from Bug #314589  has been committed to HEAD.