Summary: | Exception applying code cleanup | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Danny Yates <danny> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | kevin_cuypers |
Version: | 3.2 | Keywords: | needinfo |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Danny Yates
2006-02-21 06:32:21 EST
This appears to happen only when I ask it to generate missing SerialVersionUIDs Please provide steps to reproduce. I'm afraid I can't - the project is commercial. The project is quite large - it comprises about 1300 source files spread over 4 source folders and about about 25-30 jars required for compiling. I start Eclipse with: C:\java\eclipse\eclipse3.2m5\eclipse.exe -data C:\java\eclipse\workspace32m5 -vm C:\jdk\jdk1.5.0_03\jre\bin\javaw -vmargs -Xmx1024m And compile my project against 1.4.2_04. I select Source>Cleanup and select the following options: Use 'this': off Use declaring class: on Change all accesses through instances: on Change all accesses through subtypes: on Unqualified accesses: off Use blocks: on Always Convert for loops: grayed out - presumably because I'm building on 1.4 Unnecessary code: all options checked Annotations: grayed out Add serial version ID: off This works fine. If I retry it with 'Add serial version' checked, and 'generated' selected, it gets to 'Calculate Type Hierarchy for java.io.Serializable', spends about 30 seconds moving the progress bar about 5-10% and then says 'An unexpected exception occurred while creating a change object. See the error log for more details' Sorry there is not enough information to reproduce the problem. Please reopen if you can isolate steps to reproduce that don't contain your source. Hi Jerome, This bug is still present in 3.2. I can e-mail you the project privately if that helps, on the understanding that it is kept in the strictest confidence and none of the code is reproduced anywhere - including in any test cases? Pinged our legal adviser Sorry Danny, our legal adviser tells me that I cannot accept your project as this would cause all kinds of legal problems. If you could build a separate project with no confidential source and with the same problem, that would be great. I quite understand. The problem is that I can't reproduce it (plus time, etc. etc.). It happens with two unrelated projects that are both quite big and I expect size is the key to it. Is it possible to get the whole of the Eclipse source into one project? If so, perhaps that will allow the problem to be reproduced? All I'm doing is a code cleanup at the project level with the 'add generated svuid' option set. The project is perfectly normal (apart from having a few linked source resources and being quite big). It compiles fine under Eclipse in normal operation. It's just the cleanup that causes problems... :-( No action planned until we get steps to reproduce. *** Bug 128783 has been marked as a duplicate of this bug. *** *** Bug 184382 has been marked as a duplicate of this bug. *** As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. |