Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Running indexer from command line error(Indexer aborts with a java.lang.NullPointerException)
Running indexer from command line error [message #1085628] Tue, 13 August 2013 06:29
Daniel Lundgren is currently offline Daniel LundgrenFriend
Messages: 2
Registered: February 2013
Junior Member
When I run the following command:

./eclipse -data /tmp/ws -nosplash -pprovider org.eclipse.cdt.core.index.export.ExternalExportProjectProvider -application org.eclipse.cdt.core.GeneratePDOM -target /tmp/test.pdom -source /path/to/source -id "" -include /path/to/include


Indexer aborts. In the log file I found this trace:

!ENTRY org.eclipse.core.jobs 4 2 2013-08-13 08:19:42.642
!MESSAGE An internal error occurred during: "C/C++ Indexer".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.core.internal.runtime.InternalPlatform.getOS(InternalPlatform.java:400)
	at org.eclipse.core.runtime.Platform.getOS(Platform.java:1151)
	at org.eclipse.cdt.internal.core.pdom.indexer.ProjectIndexerInputAdapter.isCaseInsensitiveFileSystem(ProjectIndexerInputAdapter.java:87)
	at org.eclipse.cdt.internal.core.pdom.indexer.ProjectIndexerInputAdapter.<init>(ProjectIndexerInputAdapter.java:70)
	at org.eclipse.cdt.internal.core.pdom.indexer.ProjectIndexerInputAdapter.<init>(ProjectIndexerInputAdapter.java:62)
	at org.eclipse.cdt.internal.core.pdom.indexer.PDOMIndexerTask.<init>(PDOMIndexerTask.java:55)
	at org.eclipse.cdt.internal.core.pdom.indexer.PDOMFastIndexerTask.<init>(PDOMFastIndexerTask.java:25)
	at org.eclipse.cdt.internal.core.pdom.indexer.PDOMFastIndexer.createTask(PDOMFastIndexer.java:32)
	at org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.createDelegate(PDOMRebuildTask.java:114)
	at org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuildTask.java:75)
	at org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:137)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)


Anyone have any idea of what I might do incorrectly?
Previous Topic:Avoid "Syntaxis error" for Concat ## this ##
Next Topic:Unable to debug large executables
Goto Forum:
  


Current Time: Thu Apr 25 12:34:39 GMT 2024

Powered by FUDForum. Page generated in 0.03788 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top