Community
Participate
Working Groups
Build 20020530. Got the following walkbacks while attempting to move *.java files. Scenario: - Imported from a *.jar file. - Selected an incorrect destination such that a bogus package was created (e.g., org.eclipse.ui.internal.org.eclipse.ui.internal) - Selected the files from the bogus package and moved them to their correct place. - The files were not moved. !ENTRY org.eclipse.ui 4 0 May 31, 2002 10:18:19.618 !MESSAGE java.lang.ArrayStoreException !STACK 0 java.lang.ArrayStoreException at java.lang.System.arraycopy(Native Method) at java.util.ArrayList.toArray(ArrayList.java(Compiled Code)) at org.eclipse.jdt.internal.corext.refactoring.structure.ReferenceFinderUtil.getTyp esReferencedIn(ReferenceFinderUtil.java:33) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveRefactoring.checkReference sToNotPublicTypes(MoveRefactoring.java:100) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveRefactoring.checkInput (MoveRefactoring.java:82) at org.eclipse.jdt.internal.corext.refactoring.base.Refactoring.checkPreconditions (Refactoring.java:84) at org.eclipse.jdt.internal.ui.reorg.JdtMoveAction.doReorg (JdtMoveAction.java:127) at org.eclipse.jdt.internal.ui.reorg.ReorgDestinationAction.run (ReorgDestinationAction.java:105) at org.eclipse.jdt.internal.ui.reorg.JdtMoveAction.run (JdtMoveAction.java:63) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun (SelectionDispatchAction.java:178) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run (SelectionDispatchAction.java:156) at org.eclipse.jdt.ui.actions.MoveAction.run(MoveAction.java:62) at org.eclipse.jface.action.Action.runWithEvent(Action.java:749) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent (ActionContributionItem.java(Compiled Code)) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java(Compiled Code)) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java(Compiled Code)) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1128) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:739) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:200) at org.eclipse.core.launcher.Main.run(Main.java:643) at org.eclipse.core.launcher.Main.main(Main.java:476) !ENTRY org.eclipse.ui 4 4 May 31, 2002 10:18:35.742 !MESSAGE Unhandled exception caught in event loop. !ENTRY org.eclipse.ui 4 0 May 31, 2002 10:18:35.742 !MESSAGE java.lang.ArrayStoreException !STACK 0 java.lang.ArrayStoreException at java.lang.System.arraycopy(Native Method) at java.util.ArrayList.toArray(ArrayList.java(Compiled Code)) at org.eclipse.jdt.internal.corext.refactoring.structure.ReferenceFinderUtil.getTyp esReferencedIn(ReferenceFinderUtil.java:33) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveRefactoring.checkReference sToNotPublicTypes(MoveRefactoring.java:100) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveRefactoring.checkInput (MoveRefactoring.java:82) at org.eclipse.jdt.internal.corext.refactoring.base.Refactoring.checkPreconditions (Refactoring.java:84) at org.eclipse.jdt.internal.ui.reorg.JdtMoveAction.doReorg (JdtMoveAction.java:127) at org.eclipse.jdt.internal.ui.reorg.ReorgDestinationAction.run (ReorgDestinationAction.java:105) at org.eclipse.jdt.internal.ui.reorg.JdtMoveAction.run (JdtMoveAction.java:63) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun (SelectionDispatchAction.java:178) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run (SelectionDispatchAction.java:156) at org.eclipse.jdt.ui.actions.MoveAction.run(MoveAction.java:62) at org.eclipse.jface.action.Action.runWithEvent(Action.java:749) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent (ActionContributionItem.java(Compiled Code)) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java(Compiled Code)) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java(Compiled Code)) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1128) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:739) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:200) at org.eclipse.core.launcher.Main.run(Main.java:643) at org.eclipse.core.launcher.Main.main(Main.java:476)
Acutally, move in general appears to be broken. I thought it was related to import, but I just got the problem attempting to move a class from one package to another (org.eclipse.ui to org.eclipse.ui.part).
*** This bug has been marked as a duplicate of 18418 ***