Project: JDT
Bug 139730 [ltk][scripting] inappropriate internal error when apply script fails [refactoring]
Reported: 2006-05-02 11:52:36 | Status: resolved fixed

Build: 3.2 RC2 1) Checked out org.eclipse.equinox.common from repository 2) Applied two refactorings (rename method and add parameter, script attached). 3) Exported the plugin as a JAR file, including the refactoring script. 4) Unzipped resulting JAR file to get the script file on disk 5) Deleted project from workspace 6) Checked out the following projects from HEAD: org.eclipse.equinox.common org.eclipse.core.jobs org.eclipse.core.filesystem org.eclipse.core.resources org.eclipse.core.runtime 7) Refactor > Apply Script. 8) Selected the script generated by the export in step 3) -> two "Internal Errors" occur and the script cannot be applied. I will attach the log.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/JavaRefactoringDescriptor.java org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/PerformRefactoringHistoryOperation.java org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/history/RefactoringHistoryWizard.java