Project: JDT
Bug 26252 "Move to Top Level..." fails with stacktrace [refactoring]
Reported: 2002-11-14 05:43:01 | Status: resolved fixed

I20021113 Performing "Refactor->Move to Top Level..." results in the following stacktrace: java.lang.reflect.InvocationTargetException at org.eclipse.jdt.internal.ui.refactoring.CreateChangeOperation.run (CreateChangeOperation.java:106) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:95) Caused by: Java Model Exception: Core Exception [code 4] Overlapping text edits at org.eclipse.jdt.internal.corext.refactoring.structure.MoveInnerToTopRefactoring .createChange(MoveInnerToTopRefactoring.java:277) at org.eclipse.jdt.internal.ui.refactoring.CreateChangeOperation.run (CreateChangeOperation.java:98) ... 1 more

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_nonstatic_33/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_nonstatic_33/out/A.java org.eclipse.jdt.ui.tests.refactoring/resources/MoveInnerToTopLevel/test_nonstatic_33/out/I.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInnerToTopLevelTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java