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

Bug 367333

Summary: Errors indexing projects with no name
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ServerAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.4   
Target Milestone: 0.4 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-12-21 10:13:33 EST
I see these errors in the log on orion.eclipse.org... need to figure out the cause of projects with no name (perhaps not cleanly deleted...)


!ENTRY org.eclipse.orion.server.core.search 4 0 2011-12-21 09:36:34.007
!MESSAGE Error during search indexing
!STACK 0
java.lang.RuntimeException: Failure indexing project with no name: C
        at org.eclipse.orion.internal.server.search.Indexer.indexProject(Indexer.java:151)
        at org.eclipse.orion.internal.server.search.Indexer.run(Indexer.java:223)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 John Arthorne CLA 2011-12-21 10:25:22 EST
I can see it is caused by a project that has been deleted but still has an entry in the project metadata:

Br/Name=Main
C/Id=C
C1/ContentLocation=file\:/home/admin/current/eclipse/serverworkspace/sf/sfranklin/C1


However I can't reproduce this locally by deleting a project, so I think it is a symptom of an old bug that has since been fixed ("C" would have been the third project created on orion.eclipse.org). I think I will just silently skip cases like this to avoid all the spam in our server log.