Bug 7026

Summary: walkback on rename project - could not reproduce
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2001-12-18 05:14:26 EST
when stepping through rename project test i got the following:
maybe it'll help to track the rename-project-does-not-refresh-package-viewer 
problem

Log: Tue Dec 18 11:14:43 GMT+01:00 2001
2 org.eclipse.core.resources 2 Problems occurred when invoking code from plug-
in: org.eclipse.core.resources.
java.lang.IllegalArgumentException: Path must include project and resource name.
	at org.eclipse.jdt.internal.core.JavaModelManager.resourceChanged
(JavaModelManager.java:1109)
	at org.eclipse.core.internal.events.NotificationManager$1.run
(NotificationManager.java:125)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:818)
	at org.eclipse.core.runtime.Platform.run(Platform.java:395)
	at org.eclipse.core.internal.events.NotificationManager.notify
(NotificationManager.java:140)
	at org.eclipse.core.internal.events.NotificationManager.broadcastChanges
(NotificationManager.java:43)
	at org.eclipse.core.internal.events.NotificationManager.broadcastChanges
(NotificationManager.java:64)
	at org.eclipse.core.internal.resources.Workspace.broadcastChanges
(Workspace.java:121)
	at org.eclipse.core.internal.resources.Workspace.endOperation
(Workspace.java:709)
	at org.eclipse.core.internal.resources.Project.internalMove
(Project.java:767)
	at org.eclipse.core.internal.resources.Project.move(Project.java:967)
	at 
org.eclipse.jdt.internal.corext.refactoring.changes.RenameJavaProjectChange.doRe
name(RenameJavaProjectChange.java:77)
	at 
org.eclipse.jdt.internal.corext.refactoring.AbstractJavaElementRenameChange.perf
orm(AbstractJavaElementRenameChange.java:67)
	at org.eclipse.jdt.ui.tests.refactoring.RefactoringTest.performChange
(RefactoringTest.java:123)
	at 
org.eclipse.jdt.ui.tests.refactoring.RefactoringTest.performRefactoring
(RefactoringTest.java:112)
	at org.eclipse.jdt.ui.tests.refactoring.RenameJavaProjectTests.test0
(RenameJavaProjectTests.java:48)
	at java.lang.reflect.Method.invoke(Native Method)
	at junit.framework.TestCase.runTest(TestCase.java:166)
	at junit.framework.TestCase.runBare(TestCase.java:140)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:131)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java:168)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:202)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
(RemoteTestRunner.java:116)
	at org.eclipse.jdt.junit.eclipse.internal.RemotePluginTestRunner.main
(RemotePluginTestRunner.java:25)
	at org.eclipse.jdt.junit.eclipse.internal.UITestApplication.runEventLoop
(UITestApplication.java:31)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:758)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:820)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
	at org.eclipse.core.launcher.Main.run(Main.java:502)
	at org.eclipse.core.launcher.UIMain.main(UIMain.java:52)
Comment 1 Erich Gamma CLA 2001-12-18 05:28:54 EST
might be related to 7033
Comment 2 Erich Gamma CLA 2001-12-18 05:33:41 EST
sorry I meant bug 7029
Comment 3 Jerome Lanneluc CLA 2001-12-18 07:56:28 EST

*** This bug has been marked as a duplicate of 7030 ***