Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 20750 - Internal error when sync with compare file contents
Summary: Internal error when sync with compare file contents
Status: RESOLVED DUPLICATE of bug 20729
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin McGuire CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-20 14:51 EDT by Cagatay Kavukcuoglu CLA
Modified: 2002-06-21 03:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cagatay Kavukcuoglu CLA 2002-06-20 14:51:22 EDT
Build F3. I got the following when synching a project with 800-900 files using
compare file contents option.

!ENTRY org.eclipse.team.ui 4 1 Jun 20, 2002 13:47:34.588
!MESSAGE Internal error
!STACK 0
java.lang.NullPointerException
	at
org.eclipse.team.internal.ccvs.core.client.Request.executeRequest(Request.java:179)
	at
org.eclipse.team.internal.ccvs.core.client.ValidRequests.execute(ValidRequests.java:24)
	at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:319)
	at org.eclipse.team.internal.ccvs.core.client.Session.run(Session.java:187)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.getContents(RemoteFile.java:140)
	at
org.eclipse.team.core.sync.RemoteSyncElement.getContents(RemoteSyncElement.java:319)
	at org.eclipse.team.core.sync.RemoteSyncElement.compare(RemoteSyncElement.java:288)
	at
org.eclipse.team.core.sync.RemoteSyncElement.getSyncKind(RemoteSyncElement.java:211)
	at
org.eclipse.team.internal.ccvs.core.resources.CVSRemoteSyncElement.getSyncKind(CVSRemoteSyncElement.java:328)
	at
org.eclipse.team.internal.ui.sync.SyncCompareInput.collectResourceChanges(SyncCompareInput.java:269)
	at
org.eclipse.team.internal.ccvs.ui.sync.CVSSyncCompareInput.collectResourceChanges(CVSSyncCompareInput.java:367)
	at
org.eclipse.team.internal.ui.sync.SyncCompareInput.collectResourceChanges(SyncCompareInput.java:277)
	at
org.eclipse.team.internal.ccvs.ui.sync.CVSSyncCompareInput.collectResourceChanges(CVSSyncCompareInput.java:367)
	at
org.eclipse.team.internal.ui.sync.SyncCompareInput.collectResourceChanges(SyncCompareInput.java:277)
	at
org.eclipse.team.internal.ccvs.ui.sync.CVSSyncCompareInput.collectResourceChanges(CVSSyncCompareInput.java:367)
	at
org.eclipse.team.internal.ui.sync.SyncCompareInput.collectResourceChanges(SyncCompareInput.java:277)
	at
org.eclipse.team.internal.ccvs.ui.sync.CVSSyncCompareInput.collectResourceChanges(CVSSyncCompareInput.java:367)
	at
org.eclipse.team.internal.ui.sync.SyncCompareInput.doServerDelta(SyncCompareInput.java:257)
	at
org.eclipse.team.internal.ui.sync.SyncCompareInput$2.run(SyncCompareInput.java:220)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1361)
	at
org.eclipse.team.internal.ui.sync.SyncCompareInput.prepareInput(SyncCompareInput.java:230)
	at
org.eclipse.team.internal.ccvs.ui.sync.CVSSyncCompareInput.access$3(CVSSyncCompareInput.java:1)
	at
org.eclipse.team.internal.ccvs.ui.sync.CVSSyncCompareInput$5.run(CVSSyncCompareInput.java:334)
	at org.eclipse.team.internal.ccvs.ui.CVSUIPlugin.runWithRefresh(CVSUIPlugin.java:149)
	at
org.eclipse.team.internal.ccvs.ui.sync.CVSSyncCompareInput$4.run(CVSSyncCompareInput.java:332)
	at org.eclipse.team.internal.ccvs.core.client.Session.run(Session.java:163)
	at
org.eclipse.team.internal.ccvs.ui.sync.CVSSyncCompareInput.prepareInput(CVSSyncCompareInput.java:329)
	at
org.eclipse.team.internal.ui.sync.SyncCompareInput$3.run(SyncCompareInput.java:362)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:98)
Comment 1 Kevin McGuire CLA 2002-06-20 15:03:06 EDT

*** This bug has been marked as a duplicate of 20729 ***
Comment 2 Kevin McGuire CLA 2002-06-20 15:30:07 EDT
Were you working against dev.eclipse.org or some other server?
If other, can you please tell us server version?
Comment 3 Cagatay Kavukcuoglu CLA 2002-06-21 03:52:49 EDT
This is against a local CVSNT 1.11.1.1 (build 27). The repository had problems
at the time I got the exception. Specifically, CVSROOT/history file was not in
sync with the repository files.