Community
Participate
Working Groups
I have several projects in my workspace, which I can't rebuild any more (Message: "rebuild failed - null") The problem started to show up, after I switched to JDK 1.4 compiler compliance (although I am not sure, whether that action was actually causing the problem). Switching back to JDK 1.3 compiler compliance did not solve the problem. In the .log file of Eclipse, one can find a ContextStackoverflow caused by CompilationResult.quickPrioritize. I've attached the .log file containing the stack trace.
Created attachment 1634 [details] .log containing stacktrace of reported error
Tom: Which build/drop are you using? Does changing the number of problems per compilation unit change the behaviour? See Preferences->Java->Compiler->Errors and Warnings...
If quicksort is looping, then we might have the same bug in another quick* method. Need to investigate.
From Tom: I am using the final 2.0 build (200206271827). Yes! Setting the Compiler Preferences to not report any deprecations (and there are in fact many in one class I am compiling) did fix the problem.
The quick sort algorithm was replaced with another (from the search indexing class Util) which is log 2 based... the previous one was order N when all the items were equal. It would divide 100 elements into 1-1 and 2-100, 2-2 and 3-100... instead of 1- 49 and 51-100, etc.
*** Bug 22392 has been marked as a duplicate of this bug. ***
Verified.
Verified in 2.1 M1