Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336489

Summary: Synchronize view fails but update in navigator works
Product: [Eclipse Project] Platform Reporter: Claudiu Soroiu <csoroiu+eclipse>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3    
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Claudiu Soroiu CLA 2011-02-07 06:09:49 EST
Build Identifier: Build id: I20110127-2034

After an update (i cannot confirm wether it was eclipse client or cygwin cvs 1.12.13 client) the synchronized view failed with following exception 
org.eclipse.team.internal.ccvs.core.connection.CVSServerException: The server reported an error while performing the "cvs update" command.
	at org.eclipse.team.internal.ccvs.core.resources.UpdateContentCachingService.cacheFileContents(UpdateContentCachingService.java:235)
	at org.eclipse.team.internal.ccvs.core.resources.UpdateContentCachingService.buildRemoteTree(UpdateContentCachingService.java:118)
	at org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot.getRemoteTree(CVSWorkspaceRoot.java:176)
	at org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.fetchVariant(CVSResourceVariantTree.java:78)
	at org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh(AbstractResourceVariantTree.java:84)
	at org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.refresh(CVSResourceVariantTree.java:334)
	at org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh(AbstractResourceVariantTree.java:54)
	at org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh(ResourceVariantTreeSubscriber.java:162)
	at org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh(ResourceVariantTreeSubscriber.java:126)
	at org.eclipse.team.core.subscribers.Subscriber.refresh(Subscriber.java:466)
	at org.eclipse.team.internal.ccvs.core.CVSWorkspaceSubscriber.refreshWithContentFetch(CVSWorkspaceSubscriber.java:434)
	at org.eclipse.team.internal.ccvs.ui.mappings.WorkspaceSubscriberContext.refresh(WorkspaceSubscriberContext.java:305)
	at org.eclipse.team.core.mapping.provider.SynchronizationContext.refresh(SynchronizationContext.java:109)
	at org.eclipse.team.internal.ui.synchronize.RefreshModelParticipantJob.doRefresh(RefreshModelParticipantJob.java:69)
	at org.eclipse.team.internal.ui.synchronize.RefreshParticipantJob.run(RefreshParticipantJob.java:309)
	at org.eclipse.team.internal.ui.synchronize.RefreshModelParticipantJob.run(RefreshModelParticipantJob.java:117)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Contains: Tora: The server did not provide any additional information.

after narrowing down the problem and looking at CVS internal files i found a line in one Entries file:
/tant/1.19/Result of merge+Wed Nov 17 04:54:47 2010//

it seems that if the date field in Entries file is "Result of merge+"+<date>
instead of just "Result of merge" or <date> alone the Synchronize view fails even if the update operation on the project worked without any problems.

I cannot confirm how i managed to get that line in entries file but for sure there is a bug in the synchronize view or cvs client code.


/tant/1.19/Result of merge+Wed Nov 17 04:54:47 2010//

Reproducible: Always

Steps to Reproduce:
1. have a Entries file containing a line like 
/tant/1.19/Result of merge+Wed Nov 17 04:54:47 2010//
2. right click on project and choose Team/Synchronize with repository
3. dialog pops out with the error and log contains exception.

I tested with 3.7M4 and 3.7M5 but i think it reproduces with 3.6 and 3.5.
After i removed either the Result of merge string or the date, it worked
Comment 1 Lars Vogel CLA 2019-09-24 13:59:49 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Eclipse Genie CLA 2021-10-05 13:30:08 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.