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
MyeongHyeonLee opened DATACMNS-1758 and commented
similar issue: https://jira.spring.io/browse/DATACMNS-1735
ConcurrentModificationException occurred.
Exception:java.util.ConcurrentModificationException: null at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1042) at java.base/java.util.ArrayList$Itr.next(ArrayList.java:996) at org.springframework.data.mapping.callback.DefaultEntityCallbacks.callback(DefaultEntityCallbacks.java:83) at org.springframework.data.jdbc.core.JdbcAggregateTemplate.triggerBeforeSave(JdbcAggregateTemplate.java:414) at org.springframework.data.jdbc.core.JdbcAggregateTemplate.store(JdbcAggregateTemplate.java:335) at org.springframework.data.jdbc.core.JdbcAggregateTemplate.update(JdbcAggregateTemplate.java:183)
for (EntityCallback<T> callback : callbackDiscoverer.getEntityCallbacks(entityType, ResolvableType.forClass(callbackType))) { }
I think it is safe to cache the List locally before executing the loop.
Affects: 2.3.1 (Neumann SR1)
Issue Links:
Referenced from: pull request #453
Backported to: 2.3.2 (Neumann SR2)
The text was updated successfully, but these errors were encountered:
Mark Paluch commented
We decided to revert the optimization introduced with DATACMNS-1698
Sorry, something went wrong.
mp911de
No branches or pull requests
spring-projects-issues commentedJun 29, 2020
MyeongHyeonLee opened DATACMNS-1758 and commented
similar issue: https://jira.spring.io/browse/DATACMNS-1735
ConcurrentModificationException occurred.
I think it is safe to cache the List locally before executing the loop.
Affects: 2.3.1 (Neumann SR1)
Issue Links:
Referenced from: pull request #453
Backported to: 2.3.2 (Neumann SR2)
The text was updated successfully, but these errors were encountered: