Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320650

Summary: [RDT] NullPointerException raised when rebuilding Index
Product: [Tools] PTP Reporter: mbunse
Component: RDTAssignee: Project Inbox <ptp-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: g.watson
Version: 4.0.3   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description mbunse CLA 2010-07-22 12:37:19 EDT
Build Identifier: 4.0.0.201006142322

In a created Remote C/C++ Project, when I click in Index->Rebuild I get an error:

An internal error occurred during: "C/C++ Indexer".

Stack Trace:


java.lang.NullPointerException
	at org.eclipse.ptp.internal.rdt.core.index.RemoteIndexLifecycleService.reindex(RemoteIndexLifecycleService.java:99)
	at org.eclipse.ptp.internal.rdt.core.index.RemoteIndexLifecycleService.reindex(RemoteIndexLifecycleService.java:75)
	at org.eclipse.ptp.internal.rdt.core.index.RemoteIndexerTask.run(RemoteIndexerTask.java:93)
	at org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuildTask.java:84)
	at org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:137)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Reproducible: Always

Steps to Reproduce:
1. Create remote project
2. Select Index->Rebuild
Comment 1 Greg Watson CLA 2010-12-15 19:05:36 EST
does this problem occur with the Helios SR1 release?
which remote provider (RSE or Remote Tools) are you using?
Comment 2 Thomas . CLA 2011-05-13 03:32:05 EDT
(In reply to comment #1)
> does this problem occur with the Helios SR1 release?
> which remote provider (RSE or Remote Tools) are you using?

I have the same problem and yes, it still occurs with Helios SR2.
Comment 3 Thomas . CLA 2011-05-13 03:33:46 EDT
(In reply to comment #1)
> does this problem occur with the Helios SR1 release?
> which remote provider (RSE or Remote Tools) are you using?

Is there any documentation about the different service providers?
They look very similar and I don not know which one is the appropriate selection.  I tried them both, but it makes no difference: it doesn't work at all.
Comment 4 Greg Watson CLA 2014-05-29 11:45:31 EDT
Old bug. Please check if this is still a problem and reopen if necessary.