Community
Participate
Working Groups
When checking out a project from CVS, I got an "Internal Error" dialog box. Examining the log, I found an IllegalArgumentException (see below). Further investigation revealed that this happens with any file in the CVS archive that has a date of 1999. I don't have files with an earlier date in the archive, but all files with dates from 2000 on check out fine. The log: !ENTRY org.eclipse.ui 4 4 Mar 13, 2003 11:17:01.743 !MESSAGE Unhandled exception caught in event loop. !ENTRY org.eclipse.ui 4 0 Mar 13, 2003 11:17:01.763 !MESSAGE Negative time !STACK 0 java.lang.IllegalArgumentException: Negative time at java.io.File.setLastModified(File.java:1172) at org.eclipse.team.internal.ccvs.core.resources.EclipseFile.setTimeStamp(EclipseFile.java:103) at org.eclipse.team.internal.ccvs.core.client.UpdatedHandler.handle(UpdatedHandler.java:105) at org.eclipse.team.internal.ccvs.core.client.Request.executeRequest(Request.java:213) at org.eclipse.team.internal.ccvs.core.client.Command.doExecute(Command.java:403) at org.eclipse.team.internal.ccvs.core.client.Checkout.doExecute(Checkout.java:160) at org.eclipse.team.internal.ccvs.core.client.Command$1.run(Command.java:335) at org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer.run(EclipseSynchronizer.java:1252) at org.eclipse.team.internal.ccvs.core.resources.EclipseFolder$3.run(EclipseFolder.java:302) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1591) at org.eclipse.team.internal.ccvs.core.resources.EclipseFolder.run(EclipseFolder.java:299) at org.eclipse.team.internal.ccvs.core.client.Command.execute(Command.java:346) at org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot$1.run(CVSWorkspaceRoot.java:187) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1591) at org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot.checkout(CVSWorkspaceRoot.java:215) at org.eclipse.team.internal.ccvs.ui.actions.AddToWorkspaceAction$1.execute(AddToWorkspaceAction.java:95) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:65) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1591) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:79) at org.eclipse.team.internal.ccvs.ui.repo.RepositoryManager.run(RepositoryManager.java:790) at org.eclipse.team.internal.ccvs.ui.actions.CVSAction$1.run(CVSAction.java:242) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:95)
I have just created a project with a file revision date May 5, 1999, and checked it out into eclipse without error, and the resource history correctly shows the revision date on it. Maybe it's something different between your setup and mine. I'd like to know what the offending RCS delta looks like. (that is, the part of the ",v" file with the info about the revision). Also, which version of the CVS server are you using? Which platform?
The version is cvs 1.10 on Solaris 2.8 The RCS delta of one of the files is below. head 1.3; ... 1.3 date 99.12.07.00.00.08; author cvswrite; state Exp; branches; next 1.2; 1.2 date 99.05.01.04.01.51; author webdav; state Exp; branches; next 1.1; 1.1 date 99.03.26.01.43.51; author webdav; state dead; branches 1.1.2.1; next ;
Eclipse only supports CVS server version 1.11.1p1 and beyond. Please upgrade your server verions. If the problem persists after that, please reopen.