Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 0.10.0
-
Fix Version/s: 2014/05
-
Component/s: KIML - Infrastructure for Meta Layout
-
Labels:None
Description
When I open a composite actor containing a state refinement, and then quickly open another one while the previous one is still opening, I get the exception shown below.
Sadly, I cannot reproduce it consistently. It is easier after starting a new runtime, as the lazy loading of GraphViz takes some time.
java.util.ConcurrentModificationException
|
at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
|
at java.util.ArrayList$Itr.next(Unknown Source)
|
at org.eclipse.xtext.formatting.impl.ElementMatcherProvider$TransitionMatcher.installAllPatterns(ElementMatcherProvider.java:206)
|
at org.eclipse.xtext.formatting.impl.ElementMatcherProvider$TransitionMatcher.<init>(ElementMatcherProvider.java:55)
|
at org.eclipse.xtext.formatting.impl.ElementMatcherProvider.createMatcher(ElementMatcherProvider.java:316)
|
at org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter.createMatcher(AbstractDeclarativeFormatter.java:87)
|
at org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter.createFormatterStream(AbstractDeclarativeFormatter.java:75)
|
at org.eclipse.xtext.serializer.impl.Serializer.serialize(Serializer.java:103)
|
at org.eclipse.xtext.serializer.impl.Serializer.serialize(Serializer.java:130)
|
at org.eclipse.xtext.resource.XtextResource.doSave(XtextResource.java:332)
|
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:1430)
|
at de.cau.cs.kieler.kiml.graphviz.layouter.GraphvizLayoutProvider.writeDotGraph(GraphvizLayoutProvider.java:186)
|
at de.cau.cs.kieler.kiml.graphviz.layouter.GraphvizLayoutProvider.doLayout(GraphvizLayoutProvider.java:131)
|
at de.cau.cs.kieler.kiml.RecursiveGraphLayoutEngine.layoutRecursively(RecursiveGraphLayoutEngine.java:99)
|
at de.cau.cs.kieler.kiml.RecursiveGraphLayoutEngine.layoutRecursively(RecursiveGraphLayoutEngine.java:90)
|
at de.cau.cs.kieler.kiml.RecursiveGraphLayoutEngine.layout(RecursiveGraphLayoutEngine.java:46)
|
at de.cau.cs.kieler.kiml.service.DiagramLayoutEngine.layout(DiagramLayoutEngine.java:570)
|
at de.cau.cs.kieler.kiml.service.DiagramLayoutEngine.layout(DiagramLayoutEngine.java:514)
|
at de.cau.cs.kieler.kiml.service.DiagramLayoutEngine$1.execute(DiagramLayoutEngine.java:239)
|
at de.cau.cs.kieler.kiml.service.util.MonitoredOperation$1.run(MonitoredOperation.java:162)
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
|
at java.lang.Thread.run(Unknown Source)
|