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

Bug 421781

Summary: Indexer cannot handle missing project metadata
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ServerAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2013-11-14 16:23:03 EST
In bug 421776 we have a case where a workspace contains a project, but no project metadata exists for that project. This causes an NPE in the indexer, which causes the indexer to abort.

java.lang.NullPointerException
        at org.eclipse.orion.internal.server.search.Indexer.indexProject(Indexer.java:162)
        at org.eclipse.orion.internal.server.search.Indexer.indexWorkspace(Indexer.java:146)
        at org.eclipse.orion.internal.server.search.Indexer.indexUser(Indexer.java:130)
        at org.eclipse.orion.internal.server.search.Indexer.run(Indexer.java:288)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)