Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315096 - NPE when creating a Remote C/C++ project with SSH only RSE connection
Summary: NPE when creating a Remote C/C++ project with SSH only RSE connection
Status: NEW
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 4.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Chris Recoskie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 11:19 EDT by Fredrik Berg Kjolstad CLA
Modified: 2013-10-28 13:02 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fredrik Berg Kjolstad CLA 2010-05-31 11:19:16 EDT
I get a NullPointerException when I create a Remote C/C++ project using RSE where the Remote System is not configured to use a dstore.processes services or when this service is configured, but not connected.

The bug is the following null-pointer exception:
An internal error occurred during: "C/C++ Indexer".
java.lang.NullPointerException


Steps to reproduce:
1. New -> Remote C/C++ Project
Remote Provider: RSE
Connection: someserver-ssh (SSH-Only Remote System)
Remote Makefile Project: Linux GCC
2. Next Next Next Finish
3. *Exception*

If I instead choose a remote system that also provides a dstore.processes service I get the same error in addition to the following:
Error Updating Discovered info. Updating discovered includes and macros. Details: Error updating discovered info.


System Information:
Local System:     Mac OS X 10.5.8.
Remote System: Linux 2.6.27
Eclipse Version:  Eclipse Helios M7
CDT Version:      cdt-master-7.0.0-I201005211239
PTP Version:       ptp-master-4.0.0-I201005201043
Comment 1 Fredrik Berg Kjolstad CLA 2010-05-31 11:56:19 EDT
One resolution would be to programatically turn of indexing and then inform the user that it has been turned off and why.
Comment 2 Chris Recoskie CLA 2013-10-28 13:02:39 EDT
FYI only dstore connections are supported with RSE.