Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 404923 - NPE if double click previous search result with project closed
Summary: NPE if double click previous search result with project closed
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 6.0.6   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 6.0.6   Edit
Assignee: Chris Recoskie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-04 12:58 EDT by cong wang CLA
Modified: 2013-05-27 09:12 EDT (History)
3 users (show)

See Also:


Attachments
add a null pointer check logic. (815 bytes, patch)
2013-04-04 13:03 EDT, cong wang CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cong wang CLA 2013-04-04 12:58:28 EDT

    
Comment 1 cong wang CLA 2013-04-04 13:03:19 EDT
Created attachment 229341 [details]
add a null pointer check logic.
Comment 2 Chris Recoskie CLA 2013-04-04 14:41:07 EDT
Applied to ptp_6_0 and master.
Comment 3 Beth Tibbitts CLA 2013-04-04 15:02:29 EDT
Can you please explain what this problem was? 
What do you do in order to cause the problem before you fixed it?
Comment 4 cong wang CLA 2013-04-04 15:07:01 EDT
To reproduce the problem:
1. import a pure remote project from server. 
2. index this project. 
3. right click on a method/function to invoke call hierarchy, which is shown in remote call hierarchy view.
4. delete the project, and do not close the remote call hierarchy view.
5. double click on the method/function in the remote call hierarchy view.
6. the file in cache will be opened with an NPE message.

Expected:
step 6: file is opened without any error message.