| Summary: | ArrayIndexOutOfBoundsException: 2048 when autocompleting (apart from other random operations) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Craig <craighewetson> | ||||
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Olivier_Thomann | ||||
| Version: | 3.5 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Craig
Also happens on startup and shutdown of eclipse workbench Would you have steps to reproduce ? Kent, please investigate. Have you changed eclipse builds recently ? Or had any crashes ? It appears the index file for one of your projects is corrupt. Removing the file workspace\plugins\.metadata\.plugins\org.eclipse.jdt.core\savedIndexNames.txt will rebuild all of your index files. But before you delete it, please backup the *.index files if we need them to debug this problem. Created attachment 147228 [details]
SavedIndexNames
Deleting the above file fixed the problem. The workspace was used in by eclipse 3.4.2 and I reused it after upgrading to eclipse 3.5. NOTE: I've saved the entire folder: org.eclipse.jdt.core, for debugging. Sorry but the SavedIndexNames.txt is not the file we need. Its the corrupt .index file, but since we do not know which one - we would need them all. Can you zip them up & attach them. thx Do these index files reveal any of the source code? Filenames will be ok but I would get in trouble if content is exposed. Also there is 95 of these files. Is there a way to determine which file is corrupt? No there is no source code in an index file. As for finding out which file is corrupt, you could replace 10-20 of the ones in your current directory at a time, with the old ones & restart your workspace - then do a workspace-wide search. You could try to narrow down the file that way but I cannot say its definitely going to find the one that is corrupt. Satyam, didn't you fix this ? (In reply to comment #10) > Satyam, didn't you fix this ? I haven't fixed this kind of problem. IMHO, the index file would have got truncated. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |