Project: JDT
Bug 40706 Error in the log & error dialog [refactoring] [ccp]
Reported: 2003-07-24 08:49:07 | Status: resolved fixed

build I20030723 I selected two debug projects in the package explorer, and this error appeared - could not reproduce. !ENTRY org.eclipse.jface 4 2 Jul 24, 2003 07:46:55.415 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". !STACK 0 org.eclipse.jdt.internal.corext.Assert$AssertionFailedException: assertion failed; at java.lang.Throwable.<init>(Throwable.java) at java.lang.Throwable.<init>(Throwable.java) at org.eclipse.jdt.internal.corext.Assert$AssertionFailedException.<init> (Assert.java:55) at org.eclipse.jdt.internal.corext.Assert.isTrue(Assert.java:136) at org.eclipse.jdt.internal.corext.Assert.isTrue(Assert.java:121) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$FilesFolder sAndCusReorgPolicy.verifyDestination(ReorgPolicyFactory.java:321) at org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory$ReorgPolicy .setDestination(ReorgPolicyFactory.java:232) at org.eclipse.jdt.internal.corext.refactoring.reorg.CopyRefactoring.setDestination (CopyRefactoring.java:82) at org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgCopyStarter.create (ReorgCopyStarter.java:49) at org.eclipse.jdt.internal.ui.refactoring.reorg.PasteAction$JavaElementAndResource Paster.canPasteOn(PasteAction.java:349) at org.eclipse.jdt.internal.ui.refactoring.reorg.PasteAction.canOperateOn (PasteAction.java:98) at org.eclipse.jdt.internal.ui.refactoring.reorg.PasteAction.selectionChanged (PasteAction.java:83) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchSelectionChanged (SelectionDispatchAction.java:184) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.selectionChanged (SelectionDispatchAction.java:179) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java) at org.eclipse.core.runtime.Platform.run(Platform.java) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged (Viewer.java:157) at org.eclipse.jface.viewers.StructuredViewer.updateSelection (StructuredViewer.java:1282) at org.eclipse.jface.viewers.StructuredViewer.handleSelect (StructuredViewer.java:652) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected (StructuredViewer.java:676) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent (OpenStrategy.java:178) at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:173) at org.eclipse.jface.util.OpenStrategy$1.handleEvent (OpenStrategy.java:308) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1680) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1663) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject.java:207) at java.lang.reflect.Method.invoke(Method.java:271) at org.eclipse.core.launcher.Main.basicRun(Main.java:291) at org.eclipse.core.launcher.Main.run(Main.java:747) at org.eclipse.core.launcher.Main.main(Main.java:583)

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java