Bug 60114

Summary: Cannot expand children of HEAD
Product: [Eclipse Project] Platform Reporter: Tod Creasey <Tod_Creasey>
Component: ResourcesAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: daniel_megert, douglas.pollock, eclipse, jared_burns, Olivier_Thomann, pascal, sxenos
Version: 3.0   
Target Milestone: 3.0 M9   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tod Creasey CLA 2004-04-27 11:12:51 EDT
20040427

When I try to connect to HEAD and look at the contents I get the following 
exception

!ENTRY org.eclipse.compare 4 1 Apr 27, 2004 11:01:18.852
!MESSAGE target 'org.eclipse.compare.TextMergeViewerCreator' not found
!ENTRY org.eclipse.core.runtime 4 2 Apr 27, 2004 11:01:48.430
!MESSAGE An internal error occurred during: "Fetching children of HEAD".
!STACK 0
java.lang.IllegalArgumentException: endRule without matching beginRule: 
org.eclipse.core.internal.resources.WorkManager$NotifyRule@157b39f
	at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:58)
	at org.eclipse.core.internal.jobs.ImplicitJobs.end
(ImplicitJobs.java:366)
	at org.eclipse.core.internal.jobs.JobManager.endRule
(JobManager.java:426)
	at org.eclipse.core.internal.resources.WorkManager.endNotify
(WorkManager.java:174)
	at org.eclipse.core.internal.resources.Workspace.endOperation
(Workspace.java:886)
	at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1659)
	at org.eclipse.team.internal.ccvs.core.resources.EclipseResource.run
(EclipseResource.java:265)
	at org.eclipse.team.internal.ccvs.core.client.Command.execute
(Command.java:349)
	at org.eclipse.team.internal.ccvs.core.client.Checkout.getRemoteModules
(Checkout.java:176)
	at 
org.eclipse.team.internal.ccvs.core.resources.RemoteModule.getRemoteModules
(RemoteModule.java:59)
	at 
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.members
(CVSRepositoryLocation.java:633)
	at 
org.eclipse.team.internal.ccvs.ui.repo.RepositoryRoot.getDefinedModulesCache
(RepositoryRoot.java:98)
	at 
org.eclipse.team.internal.ccvs.ui.repo.RepositoryRoot.getDefinedModules
(RepositoryRoot.java:113)
	at 
org.eclipse.team.internal.ccvs.ui.operations.FetchMembersOperation.execute
(FetchMembersOperation.java:111)
	at org.eclipse.team.internal.ccvs.ui.operations.CVSOperation.run
(CVSOperation.java:81)
	at 
org.eclipse.team.internal.ccvs.ui.model.CVSTagElement.fetchDeferredChildren
(CVSTagElement.java:139)
	at org.eclipse.ui.progress.DeferredTreeContentManager$1.run
(DeferredTreeContentManager.java:142)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Comment 1 Tod Creasey CLA 2004-04-27 11:14:37 EDT
It looks like it is failing on loading modules
Comment 2 Michael Valenta CLA 2004-04-27 11:32:34 EDT
*** Bug 60120 has been marked as a duplicate of this bug. ***
Comment 3 Michael Valenta CLA 2004-04-27 11:34:59 EDT
Not sure why this is happening. We haven't made any changes in this area and 
we don't get the error using our code form HEAD with last weeks build. I've 
just instralled this weeks build and will try and reproduce.

Also, we shouldn't even be obtaining a scheduling rule for expansion in the 
repositories view so perhaps something has changed for the case where null is 
past to IWorkspace#run().
Comment 4 Michael Valenta CLA 2004-04-27 12:03:49 EDT
This is a problem in the resources plugin
Comment 5 Michael Valenta CLA 2004-04-27 12:15:41 EDT
*** Bug 60129 has been marked as a duplicate of this bug. ***
Comment 6 Jim des Rivieres CLA 2004-04-27 12:31:45 EDT
*** Bug 59273 has been marked as a duplicate of this bug. ***
Comment 7 Michael Valenta CLA 2004-04-27 12:56:13 EDT
*** Bug 60131 has been marked as a duplicate of this bug. ***
Comment 8 John Arthorne CLA 2004-04-27 13:01:32 EDT
This was introduced yesterday while attempting to fix bug 59852.  I was
obtaining a rule within endOperation that may not necessarily be contained
within the rule passed to IWorkspace.run. Fixed and released to HEAD, and
regression tests added to WorkspaceConcurrencyTest.
Comment 9 Michael Valenta CLA 2004-04-27 19:54:48 EDT
*** Bug 60195 has been marked as a duplicate of this bug. ***
Comment 10 Michael Valenta CLA 2004-05-03 16:28:47 EDT
*** Bug 60811 has been marked as a duplicate of this bug. ***