Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325999 - [Help][Criteria] NPE when searching with scope if hits are in extradir
Summary: [Help][Criteria] NPE when searching with scope if hits are in extradir
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M3   Edit
Assignee: Chris Goldthorpe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 13:38 EDT by Chris Goldthorpe CLA
Modified: 2010-09-22 17:05 EDT (History)
0 users

See Also:


Attachments
Patch (1.34 KB, patch)
2010-09-22 17:04 EDT, Chris Goldthorpe CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Goldthorpe CLA 2010-09-22 13:38:01 EDT
I20100921-1024

Run the help test D2
With the scope set to "tk" search for "searchable" (without the quotes).

Expected result: there are several search hits
Actual result: No search hits and an NPE:

java.lang.NullPointerException
	at org.eclipse.help.internal.base.scope.FilterScope.inScope(FilterScope.java:37)
Comment 1 Chris Goldthorpe CLA 2010-09-22 17:04:09 EDT
Created attachment 179416 [details]
Patch
Comment 2 Chris Goldthorpe CLA 2010-09-22 17:05:30 EDT
Patch committed to HEAD, Fixed