java.util.ConcurrentModificationException

Spring JIRA | Michal Jastak | 1 decade ago
  1. 0

    I'm getting java.util.ConcurrentModificationException in HibernateTransactionManager.doGetTransaction method, see below: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at java.util.HashMap$EntryIterator.next(HashMap.java:824) at java.util.AbstractMap.toString(AbstractMap.java:586) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.hibernate.engine.PersistenceContext.toString(PersistenceContext.java:976) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.hibernate.impl.SessionImpl.toString(SessionImpl.java:1427) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.springframework.orm.hibernate3.HibernateTransactionManager.doGetTransaction(HibernateTransactionManager.java:359) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:199) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:217) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy5.loadBoardAssociation(Unknown Source)

    Spring JIRA | 1 decade ago | Michal Jastak
    java.util.ConcurrentModificationException
  2. 0

    I'm getting java.util.ConcurrentModificationException in HibernateTransactionManager.doGetTransaction method, see below: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at java.util.HashMap$EntryIterator.next(HashMap.java:824) at java.util.AbstractMap.toString(AbstractMap.java:586) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.hibernate.engine.PersistenceContext.toString(PersistenceContext.java:976) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.hibernate.impl.SessionImpl.toString(SessionImpl.java:1427) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.springframework.orm.hibernate3.HibernateTransactionManager.doGetTransaction(HibernateTransactionManager.java:359) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:199) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:217) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy5.loadBoardAssociation(Unknown Source)

    Spring JIRA | 1 decade ago | Michal Jastak
    java.util.ConcurrentModificationException
  3. 0

    Java Servlets and ImageIO error

    Stack Overflow | 4 years ago | mesx
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at java.util.HashMap$HashIterator.nextEntry()
    2. Java RT
      StringBuffer.append
      1. java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
      2. java.util.HashMap$EntryIterator.next(HashMap.java:824)
      3. java.util.AbstractMap.toString(AbstractMap.java:586)
      4. java.lang.String.valueOf(String.java:2131)
      5. java.lang.StringBuffer.append(StringBuffer.java:370)
      5 frames
    3. Hibernate
      PersistenceContext.toString
      1. org.hibernate.engine.PersistenceContext.toString(PersistenceContext.java:976)
      1 frame
    4. Java RT
      StringBuffer.append
      1. java.lang.String.valueOf(String.java:2131)
      2. java.lang.StringBuffer.append(StringBuffer.java:370)
      2 frames
    5. Hibernate
      SessionImpl.toString
      1. org.hibernate.impl.SessionImpl.toString(SessionImpl.java:1427)
      1 frame
    6. Java RT
      StringBuffer.append
      1. java.lang.String.valueOf(String.java:2131)
      2. java.lang.StringBuffer.append(StringBuffer.java:370)
      2 frames
    7. Hibernate
      HibernateTransactionManager.doGetTransaction
      1. org.springframework.orm.hibernate3.HibernateTransactionManager.doGetTransaction(HibernateTransactionManager.java:359)
      1 frame
    8. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:199)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:217)
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:50)
      3 frames
    9. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
      2 frames
    10. Unknown
      $Proxy5.loadBoardAssociation
      1. $Proxy5.loadBoardAssociation(Unknown Source)
      1 frame