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

Bug 5106

Summary: CRC error closing stream connection
Product: [Eclipse Project] Platform Reporter: John Arthorne <john.arthorne>
Component: TeamAssignee: Kevin McGuire <Kevin_McGuire>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description John Arthorne CLA 2001-10-19 10:18:16 EDT
I had a workspace with about twenty projects, connected to two repositories 
(corerepo and dev.eclipse.org).  I selected all projects, and chose synchronize. 
 Around the time the progress bar was getting to the end, I got an error dialog 
that simply said something like: 

Title: Unable to Synchronize
Text: Unable to close connection.

It did not come up with contents in the sync view.  You would think that an 
error while closing the connection wouldn't be a show stopper.  I.e., the 
information has already been retrieved, so it can show it to me in the sync 
view.  Maybe something like this should just add an informational status message 
to the status object returned by the API method, and not throw an exception.

I was not able to reproduce it.  The following stack trace was in the log:

Log: Fri Oct 19 10:08:13 EDT 2001
4 org.eclipse.vcm.core 4 Cannot close connection
java.io.IOException: crc error
	at 
org.eclipse.vcm.internal.core.ccvs.ssh.ServerPacket$PacketInputStream.close(Serv
erPacket.java:49)
	at 
org.eclipse.vcm.internal.core.ccvs.ssh.Client$StandardInputStream.close(Client.j
ava:111)
	at 
org.eclipse.vcm.internal.core.ccvs.ssh.SSHServerConnection.close(SSHServerConnec
tion.java:42)
	at 
org.eclipse.vcm.internal.core.ccvs.client.Connection.close(Connection.java:75)
	at 
org.eclipse.vcm.internal.core.ccvs.client.Client.disconnect(Client.java:245)
	at 
org.eclipse.vcm.internal.core.ccvs.CVSAdapter.internalFetchRemoteTree(CVSAdapter
.java:785)
	at 
org.eclipse.vcm.internal.core.ccvs.CVSAdapter.fetchRemoteTree(CVSAdapter.java:68
8)
	at org.eclipse.vcm.internal.core.Subscriber.refresh(Subscriber.java:600)
	at org.eclipse.vcm.internal.core.Subscriber$3.run(Subscriber.java:563)
	at 
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1232)
	at org.eclipse.vcm.internal.core.Subscriber.run(Subscriber.java:627)
	at 
org.eclipse.vcm.internal.core.SharingManager.run(SharingManager.java:771)
	at org.eclipse.vcm.internal.core.Subscriber.refresh(Subscriber.java:557)
	at 
org.eclipse.vcm.internal.ui.sync.Repository.doServerDelta(Repository.java:207)
	at 
org.eclipse.vcm.internal.ui.sync.Repository$2.execute(Repository.java:251)
	at 
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.j
ava:64)
	at 
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1232)
	at 
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.jav
a:78)
	at 
org.eclipse.vcm.internal.ui.sync.Repository.localServerDelta(Repository.java:255
)
	at 
org.eclipse.vcm.internal.ui.sync.SyncCompareInput$3.run(SyncCompareInput.java:43
4)
	at 
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1232)
	at 
org.eclipse.vcm.internal.ui.sync.SyncCompareInput.prepareInput(SyncCompareInput.
java:440)
	at 
org.eclipse.compare.CompareEditorInput.run(CompareEditorInput.java:291)
	at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.jav
a:98)
Comment 1 James Moody CLA 2001-10-19 10:34:20 EDT

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