java.util.ConcurrentModificationException

JFrog JIRA | Yoav Landman | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449) at java.util.AbstractList$Itr.next(AbstractList.java:420) at org.artifactory.security.SecurityServiceImpl.removeAllSecurityData(SecurityServiceImpl.java:548) at org.artifactory.security.SecurityServiceImpl$$FastClassByCGLIB$$83b96cdb.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635) at org.artifactory.security.SecurityServiceImpl$$EnhancerByCGLIB$$ea20e93.removeAllSecurityData(<generated>) at org.artifactory.security.SecurityServiceImpl.importFrom(SecurityServiceImpl.java:405) at org.artifactory.security.SecurityServiceImpl$$FastClassByCGLIB$$83b96cdb.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:628) at org.artifactory.security.SecurityServiceImpl$$EnhancerByCGLIB$$ea20e93.importFrom(<generated>) at org.artifactory.spring.ArtifactoryApplicationContext.importFrom(ArtifactoryApplicationContext.java:176) at org.artifactory.webapp.wicket.importexport.system.ImportSystemPanel$1.onSubmit(ImportSystemPanel.java:80) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1355) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:810) at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:120) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:293) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1171) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:164) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:93) at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:79) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:120) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:65) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

    JFrog JIRA | 9 years ago | Yoav Landman
    java.util.ConcurrentModificationException
  2. 0

    java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449) at java.util.AbstractList$Itr.next(AbstractList.java:420) at org.artifactory.security.SecurityServiceImpl.removeAllSecurityData(SecurityServiceImpl.java:548) at org.artifactory.security.SecurityServiceImpl$$FastClassByCGLIB$$83b96cdb.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635) at org.artifactory.security.SecurityServiceImpl$$EnhancerByCGLIB$$ea20e93.removeAllSecurityData(<generated>) at org.artifactory.security.SecurityServiceImpl.importFrom(SecurityServiceImpl.java:405) at org.artifactory.security.SecurityServiceImpl$$FastClassByCGLIB$$83b96cdb.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:628) at org.artifactory.security.SecurityServiceImpl$$EnhancerByCGLIB$$ea20e93.importFrom(<generated>) at org.artifactory.spring.ArtifactoryApplicationContext.importFrom(ArtifactoryApplicationContext.java:176) at org.artifactory.webapp.wicket.importexport.system.ImportSystemPanel$1.onSubmit(ImportSystemPanel.java:80) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1355) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:810) at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:120) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:293) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1171) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:164) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:93) at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:79) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:120) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:65) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

    JFrog JIRA | 9 years ago | Yoav Landman
    java.util.ConcurrentModificationException
  3. 0

    loop on list with remove

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

    Automated exception search integrated into your IDE

  5. 0

    How to deal with Concurrent Modification Exception (Threads forum at Coderanch)

    coderanch.com | 9 months ago
    java.util.ConcurrentModificationException

    4 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.AbstractList$Itr.checkForComodification()
    2. Java RT
      AbstractList$Itr.next
      1. java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
      2. java.util.AbstractList$Itr.next(AbstractList.java:420)
      2 frames
    3. org.artifactory.security
      SecurityServiceImpl$$FastClassByCGLIB$$83b96cdb.invoke
      1. org.artifactory.security.SecurityServiceImpl.removeAllSecurityData(SecurityServiceImpl.java:548)
      2. org.artifactory.security.SecurityServiceImpl$$FastClassByCGLIB$$83b96cdb.invoke(<generated>)
      2 frames
    4. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      2 frames
    6. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    7. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
      2 frames
    8. org.artifactory.security
      SecurityServiceImpl$$FastClassByCGLIB$$83b96cdb.invoke
      1. org.artifactory.security.SecurityServiceImpl$$EnhancerByCGLIB$$ea20e93.removeAllSecurityData(<generated>)
      2. org.artifactory.security.SecurityServiceImpl.importFrom(SecurityServiceImpl.java:405)
      3. org.artifactory.security.SecurityServiceImpl$$FastClassByCGLIB$$83b96cdb.invoke(<generated>)
      3 frames
    9. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    10. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:628)
      1 frame
    11. org.artifactory.security
      SecurityServiceImpl$$EnhancerByCGLIB$$ea20e93.importFrom
      1. org.artifactory.security.SecurityServiceImpl$$EnhancerByCGLIB$$ea20e93.importFrom(<generated>)
      1 frame
    12. org.artifactory.spring
      ArtifactoryApplicationContext.importFrom
      1. org.artifactory.spring.ArtifactoryApplicationContext.importFrom(ArtifactoryApplicationContext.java:176)
      1 frame
    13. org.artifactory.webapp
      ImportSystemPanel$1.onSubmit
      1. org.artifactory.webapp.wicket.importexport.system.ImportSystemPanel$1.onSubmit(ImportSystemPanel.java:80)
      1 frame
    14. Wicket Core
      AbstractDefaultAjaxBehavior.onRequest
      1. org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1355)
      2. org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:810)
      3. org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:120)
      4. org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)
      5. org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:293)
      5 frames
    15. org.apache.wicket
      BehaviorRequestTarget.processEvents
      1. org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
      1 frame
    16. Wicket Request
      AbstractRequestCycleProcessor.processEvents
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      1 frame
    17. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1171)
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1248)
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)
      6 frames
    18. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
      1 frame
    19. org.artifactory.webapp
      RepoFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:164)
      2. org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:93)
      3. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:79)
      3 frames
    20. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
      1 frame
    21. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:120)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:65)
      2 frames
    22. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    23. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame