Bug 448392 - ConcurrentModificationException when Snippets View is refreshed
Summary: ConcurrentModificationException when Snippets View is refreshed
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Recommenders (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-22 11:32 EDT by Johannes Dorn CLA
Modified: 2019-07-24 14:36 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 Johannes Dorn CLA 2014-10-22 11:32:39 EDT
This happens very rarely. A CME is thrown when the snippets view is open and the repos are closed and opened, e. g. when their configuration has changed.

Could not dispatch event: org.eclipse.recommenders.internal.snipmatch.rcp.Repositories$SnippetRepositoryConfigurationChangedEvent@8dd6202 to handler [wrapper public void org.eclipse.recommenders.internal.snipmatch.rcp.Repositories.onEvent(org.eclipse.recommenders.internal.snipmatch.rcp.Repositories$SnippetRepositoryConfigurationChangedEvent) throws java.io.IOException]
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
	at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34)
	at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:100)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.ConcurrentModificationException
	at org.eclipse.emf.common.util.AbstractEList$EIterator.checkModCount(AbstractEList.java:758)
	at org.eclipse.emf.common.util.AbstractEList$EIterator.doNext(AbstractEList.java:706)
	at org.eclipse.emf.common.util.AbstractEList$EIterator.next(AbstractEList.java:692)
	at org.eclipse.recommenders.internal.snipmatch.rcp.Repositories.open(Repositories.java:54)
	at org.eclipse.recommenders.internal.snipmatch.rcp.Repositories.onEvent(Repositories.java:90)
	... 12 more