|| | |||Browse by category|
http://www.kbpublisher.com - http://www.kbpublisher.com
[b]text[/b] - Bold text.
[u]text[/u] - Underline text.
[i]text[/i] - Italic text.
[color=green]text[/color] - Colored text.
[url]kbpublisher.com[/url] - kbpublisher.com
[url=kbpublisher.com]text[/url] - text
[email]firstname.lastname@example.org[/email] - email@example.com
[h1]text[/h1] - Caption text.
- item 1
- item 2
- item 1
- item 2
Why do I get a "ConcurrentModificationException" during a diagram refresh in a JSF application?
ConcurrentModificationException could occur when using
diagrammer.refresh() in a JSF diagrammer application:
"The IlvGraphicVector was modified while enumerating its contents. If you are using multiple threads, probably some synchronization is missing. Synchronize adding, removing, accessing and enumerating over elements.
If you are using only a single thread, probably some objects were added or removed while enumerating over elements. In this case consider using ilog.views.IlvBufferedGraphicEnumeration. To debug this situation, set the static flag ilog.views.IlvGraphicVector.DEBUG to true and check the stack trace."
If you get this exception, you can try synchronizing the associated grapher of the SDM engine. If this does not help then follow the instructions provided in the exception by double checking to ensure the objects are not being added or removed while enumerating over an
ilog.views.IlvGraphicVector. In this case, you should consider using
ilog.views.IlvBufferedGraphicEnumeration as the exception message suggests to safely add or remove objects while enumerating.
If that still does not help then set the static flag
ilog.views.IlvGraphicVector.DEBUG to true and check the stack trace. You can send the stack trace to RogueWave Support for further analysis.