Bug 75321 - IllegalMonitorStateException while synchronizing "old" workspace
Summary: IllegalMonitorStateException while synchronizing "old" workspace
Status: RESOLVED DUPLICATE of bug 73603
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 88173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-29 13:16 EDT by Frederic Fusier CLA
Modified: 2005-03-16 09:48 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2004-09-29 13:16:49 EDT
I got following exception when trying to synchronize a workspace I didn't work
on for a long time.
Unfortunately I can be more precise on how long the time is, but I would say it
was a workspace I worked with 3.1 M1 build...
Hope it will be enough to reproduce...

Here's the log of the exeception:
!ENTRY org.eclipse.core.runtime 4 2 Sep 29, 2004 19:01:12.424
!MESSAGE An internal error occurred during: "Synchronizing".
!STACK 0
java.lang.IllegalMonitorStateException
        at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1249)
        at java.text.DateFormat.parse(DateFormat.java:345)
        at
org.eclipse.team.internal.ccvs.core.util.CVSDateFormatter.entryLineToDate(DateFormat.java)
        at
org.eclipse.team.internal.ccvs.core.syncinfo.ResourceSyncInfo.setEntryLine(DateFormat.java)
        at
org.eclipse.team.internal.ccvs.core.syncinfo.ResourceSyncInfo.<init>(Unknown Source)
        at
org.eclipse.team.internal.ccvs.core.syncinfo.ResourceSyncInfo.<init>(Unknown Source)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.getSyncInfo(Unknown Source)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.getTimeStamp(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.client.AbstractStructureVisitor.sendEntryLineToServer(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.client.AbstractStructureVisitor.sendFile(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.client.FileStructureVisitor.visitFile(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.accept(Unknown Source)
        at
org.eclipse.team.internal.ccvs.core.client.AbstractStructureVisitor.visit(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.client.AbstractMessageCommand.sendLocalResourceState(Unknown
Source)
        at org.eclipse.team.internal.ccvs.core.client.Command.doExecute(Unknown
Source)
        at org.eclipse.team.internal.ccvs.core.client.Command$1.run(Unknown Source)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolder.run(Unknown Source)
        at org.eclipse.team.internal.ccvs.core.client.Command.execute(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.fetchFileRevisions(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.fetchFileRevisions(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.buildTree(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.buildRemoteTree(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot.getRemoteTree(Unknown
Source)
        at
org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.fetchVariant(Unknown
Source)
        at
org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh(Unknown Source)
        at
org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.refresh(Unknown
Source)
        at
org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh(Unknown Source)
        at
org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh(Unknown Source)
        at
org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh(Unknown Source)
        at
org.eclipse.team.internal.ui.synchronize.RefreshSubscriberJob.run(Unknown Source)
        at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

Set as major as the only workaround is to delete project and check-out it
again... (which is really painful for big workspaces).
Comment 1 Michael Valenta CLA 2004-09-29 13:46:05 EDT
This appears to be an issue with the IBM VM or class libraries and is not a 
problem in the CVS code (i.e. access to the date formatter is synchronized).

*** This bug has been marked as a duplicate of 73603 ***
Comment 2 Michael Valenta CLA 2005-03-16 09:48:03 EST
*** Bug 88173 has been marked as a duplicate of this bug. ***