Summary: | ConcurrentModificationException in DefaultOperationHistory | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Benjamin Muskalla <b.muskalla> |
Component: | Compare | Assignee: | Platform-Compare-Inbox <platform-compare-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.4 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Benjamin Muskalla
2008-04-14 08:14:01 EDT
This just happend again while synchronizing my workspace with CVS. -- Error Log -- Date: Mon Apr 14 20:49:14 CEST 2008 Message: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". Severity: Error Plugin ID: org.eclipse.core.resources Stack Trace: java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) at java.util.AbstractList$Itr.next(AbstractList.java:343) at org.eclipse.team.internal.core.subscribers.BatchingLock$ThreadInfo.ruleContains(BatchingLock.java:214) at org.eclipse.team.internal.core.subscribers.BatchingLock.getThreadInfo(BatchingLock.java:245) at org.eclipse.team.internal.core.subscribers.BatchingLock.isWithinActiveOperationScope(BatchingLock.java:332) at org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer.isWithinActiveOperationScope(EclipseSynchronizer.java:1620) at org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer.syncFilesChangedExternally(EclipseSynchronizer.java:703) at org.eclipse.team.internal.ccvs.core.util.SyncFileChangeListener.resourceChanged(SyncFileChangeListener.java:153) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:288) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:282) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1022) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1809) at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:39) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Ben, do you think they are related? I'm not so sure of that. I dare say that the exception from comment 0 is more related to org.eclipse.core.commands plug-in, so I think you should talk to these guys. As for the one from comment 1, I can see two options here: * synchronize access to the "rules" collection in the BatchingLock.ThreadInfo class * make a copy of the "rules" collection before iterating over in it in the BatchingLock.ThreadInfo#ruleContains(IResource) method I think I will go with the later. 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. |