Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367333 - Errors indexing projects with no name
Summary: Errors indexing projects with no name
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 10:13 EST by John Arthorne CLA
Modified: 2011-12-21 10:32 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.