11 Replies Latest reply on Sep 14, 2004 8:52 AM by Bela Ban

    ConcurrentModificationException in log.debug() statement

    Ørjan Austvold Newbie

      Hi,

      I'm using JbossCache1_1, and found that this exception occured occationally.

      For some reason the statement

      log.debug("commit(): releasing lock " + lock);

      on line 2792 in TreeCache.java.

      Best regards,
      Ørjan



      ERROR 2004-09-03 09:54:32,098 [unknown ] [http8888-Processor10] org.jboss.cache.interceptors.OrderedSynchronizationHandler.afterCompletion - failed calling afterCompletion() on org.jboss.cache.interceptors.TransactionInterceptor$SynchronizationHandler@b471fe
      java.util.ConcurrentModificationException
      at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448)
      at java.util.AbstractList$Itr.next(AbstractList.java:419)
      at java.util.AbstractCollection.toString(AbstractCollection.java:454)
      at java.lang.String.valueOf(String.java:2131)
      at java.lang.StringBuffer.append(StringBuffer.java:370)
      at org.jboss.cache.lock.IdentityLock.toString(IdentityLock.java:303)
      at java.lang.String.valueOf(String.java:2131)
      at java.lang.StringBuffer.append(StringBuffer.java:370)
      at org.jboss.cache.TreeCache.commit(TreeCache.java:2792)
      at org.jboss.cache.interceptors.TransactionInterceptor$SynchronizationHandler.afterCompletion(TransactionInterceptor.java:103)
      at org.jboss.cache.interceptors.OrderedSynchronizationHandler.afterCompletion(OrderedSynchronizationHandler.java:79)
      at org.objectweb.jotm.SubCoordinator.doAfterCompletion(SubCoordinator.java:1149)
      at org.objectweb.jotm.SubCoordinator.doOnePhaseCommit(SubCoordinator.java:914)
      at org.objectweb.jotm.SubCoordinator.commit_one_phase(SubCoordinator.java:397)
      at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:219)
      at org.objectweb.jotm.Current.commit(Current.java:442)
      at net.sf.hibernate.transaction.JTATransaction.commit(JTATransaction.java:56)
      at com.colibria.util.persistence.hibernate.SessionFactory.closeSession(SessionFactory.java:193)
      at com.colibria.ccc.api.CCCFactory$InterceptedHandler.invoke(CCCFactory.java:278)
      at $Proxy4.login(Unknown Source)
      at com.colibria.apps.csp12.sap.TransactionDispatcher.processOutbandTRC12(TransactionDispatcher.java:874)
      at com.colibria.apps.csp12.sap.TransactionDispatcher.processCSP12(TransactionDispatcher.java:224)
      at com.colibria.apps.csp12.sap.XMLPipe.doPost(XMLPipe.java:152)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:534)