Bug 40124 - [KeyBindings] ConcurrentModificationException when opening file in CVS Compare window
Summary: [KeyBindings] ConcurrentModificationException when opening file in CVS Compar...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Chris McLaren CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-15 12:25 EDT by Debbie Wilson CLA
Modified: 2003-07-15 15:37 EDT (History)
2 users (show)

See Also:


Attachments
Log for text editor (10.49 KB, text/plain)
2003-07-15 13:02 EDT, Tod Creasey CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Debbie Wilson CLA 2003-07-15 12:25:51 EDT
I20030715
- clean workspace
- check out a project from CVS 
- change one of the files in Java perspective
- right click on the file in the Package Explorer to get the context menu
- Compare With->Latest from HEAD
- get a CVS Compare Window with this one file in it
- double click on the file in the CVS Compare Window
- get message "An error has occurred.  See error log for more details".

Error log shows the following:
java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification
(AbstractList.java:448)
	at java.util.AbstractList$Itr.next(AbstractList.java:419)
	at 
org.eclipse.ui.internal.contexts.ContextActivationService.fireContextActivation
ServiceChanged(Unknown Source)
	at 
org.eclipse.ui.internal.contexts.ContextActivationService.activateContext
(Unknown Source)
	at org.eclipse.ui.internal.KeyBindingService.setScopes(Unknown Source)
	at org.eclipse.ui.internal.PartSite.getKeyBindingService(Unknown 
Source)
	at 
org.eclipse.compare.contentmergeviewer.ContentMergeViewer.buildControl(Unknown 
Source)
	at org.eclipse.compare.contentmergeviewer.TextMergeViewer.<init>
(Unknown Source)
	at org.eclipse.jdt.internal.ui.compare.JavaMergeViewer.<init>(Unknown 
Source)
	at 
org.eclipse.jdt.internal.ui.compare.JavaContentViewerCreator.createViewer
(Unknown Source)
	at org.eclipse.compare.internal.ViewerDescriptor.createViewer(Unknown 
Source)
	at org.eclipse.compare.internal.CompareUIPlugin.findContentViewer
(Unknown Source)
	at org.eclipse.compare.CompareEditorInput.findContentViewer(Unknown 
Source)
	at org.eclipse.compare.CompareEditorInput$5.getViewer(Unknown Source)
	at org.eclipse.compare.CompareViewerSwitchingPane.setInput(Unknown 
Source)
	at org.eclipse.compare.CompareEditorInput$11.run(Unknown Source)
	at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:84)
	at org.eclipse.compare.CompareEditorInput.feed1(Unknown Source)
	at org.eclipse.compare.CompareEditorInput.access$1(Unknown Source)
	at org.eclipse.compare.CompareEditorInput$6.open(Unknown Source)
	at org.eclipse.compare.CompareViewerSwitchingPane$1.open(Unknown 
Source)
	at org.eclipse.jface.viewers.StructuredViewer$2.run(Unknown Source)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(Unknown 
Source)
	at org.eclipse.core.runtime.Platform.run(Unknown Source)
	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(Unknown Source)
	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(Unknown 
Source)
	at org.eclipse.team.internal.ui.sync.CatchupReleaseViewer.handleOpen
(Unknown Source)
	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Unknown 
Source)
	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(Unknown Source)
	at org.eclipse.jface.util.OpenStrategy.access$2(Unknown Source)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(Unknown Source)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2188)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1878)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
	at org.eclipse.ui.internal.Workbench.run(Unknown Source)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(Unknown 
Source)
	at org.eclipse.core.boot.BootLoader.run(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Unknown Source)
	at org.eclipse.core.launcher.Main.run(Unknown Source)
	at org.eclipse.core.launcher.Main.main(Unknown Source)
Comment 1 Tod Creasey CLA 2003-07-15 13:01:50 EDT
You can also get this by trying to open a text editor on a plugin.xml (I will 
attach the log).
Comment 2 Tod Creasey CLA 2003-07-15 13:02:18 EDT
Created attachment 5468 [details]
Log for text editor
Comment 3 Chris McLaren CLA 2003-07-15 15:37:21 EDT
fixed in HEAD