Bug 7813 - NPE in SearchPageDescriptor.readExtensionScorePairs/StringTokenizer
Summary: NPE in SearchPageDescriptor.readExtensionScorePairs/StringTokenizer
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows NT
: P2 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 7817 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-16 16:55 EST by Knut Radloff CLA
Modified: 2002-01-17 04:35 EST (History)
2 users (show)

See Also:


Attachments
NPE in SearchPageDescriptor.readExtensionScorePairs (2.78 KB, text/plain)
2002-01-16 16:56 EST, Knut Radloff CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Radloff CLA 2002-01-16 16:55:42 EST
build 20020115

I had a method reference selected in a java file. When I selected Edit->Search 
I got an internal error with the attached walkback. When I tried to open the 
Search dialog again it worked.
Comment 1 Knut Radloff CLA 2002-01-16 16:56:37 EST
Created attachment 228 [details]
NPE in SearchPageDescriptor.readExtensionScorePairs
Comment 2 Erich Gamma CLA 2002-01-16 17:21:39 EST
Knuth is this reproduceable?
Comment 3 Knut Radloff CLA 2002-01-16 18:20:31 EST
Actually, it is reproducable. Happens everytime after I restart Eclipse.
Steps to reproduce:
-download /va2000/INCOMING/forKnut/7813.zip from walleye
-unzip the workspace (called Platform-UI) and start Eclipse with it 
-in the file AddBookmarkAction.java (open in the editor) select the word 
getAdapter in the createMarker(String) method.
-select Edit->Search
->NPE occurs the first time you do this after starting Eclipse
Comment 4 Erich Gamma CLA 2002-01-17 04:17:08 EST
*** Bug 7817 has been marked as a duplicate of this bug. ***
Comment 5 Dani Megert CLA 2002-01-17 04:34:53 EST
The attribute "EXTENSIONS" in the SearchPages plugin.xml extension is specified
as optional but was not treated as such in the code. The new search page
provided by the Help plug-in does not provide this attribute (that's ok).