Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 246285 - [Help] Null Pointer exceptions in ReusableHelpPart.java and SearchPart.java
Summary: [Help] Null Pointer exceptions in ReusableHelpPart.java and SearchPart.java
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.4.2   Edit
Assignee: platform-ua-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 17:03 EDT by Raji Akella CLA
Modified: 2008-10-10 17:55 EDT (History)
1 user (show)

See Also:


Attachments
Patch (1.94 KB, text/plain)
2008-09-04 17:06 EDT, Raji Akella CLA
cgold: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raji Akella CLA 2008-09-04 17:03:36 EDT
Build ID: 3.4

Steps To Reproduce:
There are a few minor logic/timing errors within the help code relative to the activity manager listener that may reference a field that initializes after the listener is set up and is torn down before the listener is removed. In addition, if the search view doesn't completely initialize, trying to remove the view causes further exceptions. A possible patch is attached. 


More information:
Comment 1 Raji Akella CLA 2008-09-04 17:06:06 EDT
Created attachment 111722 [details]
Patch
Comment 2 Chris Goldthorpe CLA 2008-09-09 14:59:54 EDT
Looks like a safe fix, I will add this in the next milestone.
Comment 3 Chris Goldthorpe CLA 2008-10-10 17:54:09 EDT
Fixed in HEAD.
Comment 4 Chris Goldthorpe CLA 2008-10-10 17:55:17 EDT
Fixed in 3.4 maintenance stream.