java.util.ConcurrentModificationException

Oracle Community | 666705 | 10 years ago
  1. 0

    Exception: java.util.ConcurrentModificationException

    Oracle Community | 10 years ago | 666705
    java.util.ConcurrentModificationException
  2. 0

    Foreign JMS and XA

    Google Groups | 1 decade ago | Dmitri Maximovich
    java.util.ConcurrentModificationException
  3. 0

    java.util.ConcurrentModificationException while getObjectById

    objectmix.com | 1 year ago
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Concurrent calls from within different threads (servlets) to AbstractApplicationContext.getBeansOfType() leads to the following exception: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at java.util.HashMap$KeyIterator.next(HashMap.java:818) at org.springframework.beans.factory.support.AbstractBeanFactory.getSingletonNames(AbstractBeanFactory.java:481) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:1 at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:468) at de.deka.techarch.spring.bean.BeanUtils.getFirstInterceptedBeanOfType(BeanUtils.java:67) at de.deka.dekanet.service.context.BusinessServiceFactory.getService(BusinessServiceFactory.java:86) Our code which calls ListableBeanFactory.getBeansOfType() is as follows: /** * Returns the first bean from the {@link Map} returned by * <code>ListableBeanFactory.getBeansOfType(type, true, true)</code> * which is an instances of {@link java.lang.reflect.Proxy}</code>. */ public static final Object getFirstProxiedBeanOfType( ListableBeanFactory factory, Class type) { Map names = factory.getBeansOfType(type, true, true); Iterator iter = names.keySet().iterator(); while (iter.hasNext()) { String name = (String)iter.next(); Object bean = factory.getBean(name); if (bean instanceof Proxy) { return bean; } } return null; }

    Spring JIRA | 1 decade ago | Torsten Juergeleit
    java.util.ConcurrentModificationException
  6. 0

    why ConcurrentModificationException ?

    Oracle Community | 1 decade ago | 843790
    java.util.ConcurrentModificationException

  1. iridic 2 times, last 2 weeks ago
  2. franky li 1 times, last 1 month ago
  3. bpbhat77 2 times, last 3 months ago
  4. bpbhat77 1 times, last 5 months ago
  5. asvid 2 times, last 6 months ago
1 more registered users
9 unregistered visitors
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
    HashMap$KeyIterator.next
    1. java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
    2. java.util.HashMap$KeyIterator.next(HashMap.java:818)
    2 frames
  3. weblogic.rjvm
    ConnectionRuntime.getConnections
    1. weblogic.rjvm.ConnectionRuntime.<init>(ConnectionRuntime.java:68)
    2. weblogic.rjvm.ConnectionRuntime.getConnections(ConnectionRuntime.java:26)
    2 frames
  4. weblogic.t3.srvr
    ServerRuntime.getConnections
    1. weblogic.t3.srvr.ServerRuntime.getConnections(ServerRuntime.java:871)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor1151.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  6. weblogic.management.internal
    DynamicMBeanImpl.getAttribute
    1. weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:574)
    1 frame
  7. Java RT
    MBeanServerImpl.getAttribute
    1. com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
    2. com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
    2 frames
  8. weblogic.management.internal
    RemoteMBeanServerImpl_WLSkel.invoke
    1. weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:287)
    2. weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
    2 frames
  9. weblogic.rmi.internal
    BasicServerRef$1.run
    1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    2. weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    2 frames
  10. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    1 frame
  11. weblogic.security.service
    SecurityManager.runAs
    1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    1 frame
  12. weblogic.rmi.internal
    BasicExecuteRequest.execute
    1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    2. weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    2 frames
  13. weblogic.kernel
    ExecuteThread.run
    1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    2 frames