Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConcurrentModificationException when try to migrate StereotypeApplicationStorage from default to ContainedByElements #11

Open
pdeville2 opened this issue Aug 23, 2024 · 0 comments · May be fixed by #12

Comments

@pdeville2
Copy link

When I try to migrate a model from default to ContainedByElements StereotypeApplicationStorage I get some times a ConcurrentModificationException.

However I also get that exception running existing junit test in my eclipse : Bug582622StereotypeApplicationStorageTest
image

It seems that in org.eclipse.uml2.uml.util.UMLUtil.setStereotypeApplicationStorage(Element, StereotypeApplicationStorage) we add EAnnotations on model elements while we are currently iterating on the model, and I think the issue comes from here.

I can make a suggestion to fix this bug in a pull request that is coming.

pdeville2 added a commit to pdeville2/uml2 that referenced this issue Aug 23, 2024
StereotypeApplicationStorage

Signed-off-by: Pauline DEVILLE <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant