Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 377643 - open Remote Include Browser history when project is closed trigger Internal Error
Summary: open Remote Include Browser history when project is closed trigger Internal E...
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 4.0.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 6.0   Edit
Assignee: Vivian Kong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-25 10:37 EDT by David Salinas CLA
Modified: 2012-04-25 11:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Salinas CLA 2012-04-25 10:37:21 EDT
Build Identifier:   PTP Remote Development Tools (RDT)	4.2.0.201203022141	org.eclipse.ptp.rdt.feature.group



An internal error occurred during: "Check Include Browser input".

java.lang.NullPointerException
    at org.eclipse.ptp.internal.rdt.ui.includebrowser.IncludeBrowserUI.isIndexed(Unknown Source)
    at org.eclipse.ptp.internal.rdt.ui.includebrowser.IBViewPart$1.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)


Reproducible: Always

Steps to Reproduce:
1. Create a remote C/C++ project with a "hello world" source file t.C, which includes a header, "t.h".

2. Open Remote Include Browser view, drag t.C to the view, should see some content in the view. 

3. Close the project, in Remote Include Browser view, go to history and click previous t.C entry. Error will pops up.

An internal error occurred during: "Check Include Browser input".

java.lang.NullPointerException
    at org.eclipse.ptp.internal.rdt.ui.includebrowser.IncludeBrowserUI.isIndexed(Unknown Source)
    at org.eclipse.ptp.internal.rdt.ui.includebrowser.IBViewPart$1.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
Comment 1 Vivian Kong CLA 2012-04-25 11:28:15 EDT
I'll take a look.
Comment 2 Vivian Kong CLA 2012-04-25 11:42:42 EDT
Fixed in master branch and backported to ptp_4_2.  Thanks Dave.