Community
Participate
Working Groups
Build 3.4M4 At some point during development, I got some exception in console (see below). However, it never recovered from this state. I had to exit, manually discard the offending index files and restart. I would have hoped that it would have done this automatically for me as standard crash recovery. !ENTRY org.eclipse.core.jobs 4 2 2007-12-21 16:58:23.750 !MESSAGE An internal error occurred during: "Java Search". !STACK 0 java.lang.NegativeArraySizeException at org.eclipse.jdt.internal.compiler.util.HashtableOfObject.<init>(HashtableOfObject.java:38) at org.eclipse.jdt.internal.core.index.DiskIndex.readCategoryTable(DiskIndex.java:624) at org.eclipse.jdt.internal.core.index.DiskIndex.addQueryResults(DiskIndex.java:182) at org.eclipse.jdt.internal.core.index.Index.query(Index.java:134) at org.eclipse.jdt.internal.core.search.matching.MethodPattern.queryIn(MethodPattern.java:352) at org.eclipse.jdt.internal.core.search.matching.InternalSearchPattern.findIndexMatches(InternalSearchPattern.java:73) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.findIndexMatches(MatchLocator.java:307) at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternSearchJob.java:117) at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(PatternSearchJob.java:64) at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:279) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.findMatches(BasicSearchEngine.java:200) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.search(BasicSearchEngine.java:500) at org.eclipse.jdt.core.search.SearchEngine.search(SearchEngine.java:550) at org.eclipse.jdt.internal.ui.search.JavaSearchQuery.run(JavaSearchQuery.java:143) at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:94) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
btw the logged exception was also associated with some DBG data: -------------------- DEBUG -------------------- file = D:\eclipse\workspaces\dev3.4\plugins\.metadata\.plugins\org.eclipse.jdt.core\1689418278.index offset = 430653 size = -2143717719 -------------------- END --------------------
*** Bug 220222 has been marked as a duplicate of this bug. ***
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.