Project: JDT
Bug 39738 assertion failed in RenameResourceProcessor after creation of class in default package
Reported: 2003-07-08 06:29:13 | Status: resolved fixed

input for 20030708 org.eclipse.jdt.internal.corext.Assert$AssertionFailedException: assertion failed; at java.lang.Throwable.<init>(Throwable.java) at java.lang.Throwable.<init>(Throwable.java:75) 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.rename.RenameResourceProcessor.initi alize(RenameResourceProcessor.java:39) at org.eclipse.jdt.internal.corext.refactoring.participants.ExtensionManager.create Processor(ExtensionManager.java:152) at org.eclipse.jdt.internal.corext.refactoring.participants.ExtensionManager.getPro cessor(ExtensionManager.java:86) at org.eclipse.jdt.internal.corext.refactoring.participants.RenameExtensionManager. getProcessor(RenameExtensionManager.java:23) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameRefactoring.<init> (RenameRefactoring.java:45) at org.eclipse.jdt.ui.refactoring.RenameSupport.<init> (RenameSupport.java:151) at org.eclipse.jdt.ui.refactoring.RenameSupport.create (RenameSupport.java:202) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.createGe neric(RenameJavaElementAction.java:164) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.canEnabl e(RenameJavaElementAction.java:89) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.selectio nChanged(RenameJavaElementAction.java:59) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchSelectionChanged (SelectionDispatchAction.java) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.selectionChanged (SelectionDispatchAction.java) at org.eclipse.jdt.ui.actions.RenameAction.selectionChanged (RenameAction.java:82) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java) 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:1290) at org.eclipse.jface.viewers.StructuredViewer.handleSelect (StructuredViewer.java:657) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected (StructuredViewer.java:681) 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) 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:1383) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1366) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:61) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:40) at java.lang.reflect.Method.invoke(Method.java:335) 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/participants/xml/ObjectStateExpression.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameResourceProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java