Defect #257

Purge all (Empty Trash bin) fails

Added by Vicente J. Ruiz Jurado over 12 years ago. Updated over 11 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:Vicente J. Ruiz Jurado% Done:

100%

Category:Server side
Target version:-
Resolution: Tags:

Description

2012-04-23 20:45:22 LoggerMethodInterceptor [DEBUG] ContentRPC.purgeAll EXCEPTION => class java.util.ConcurrentModificationException:
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract cc.kune.core.shared.dto.StateContainerDTO cc.kune.core.client.rpcservices.ContentService.purgeAll(java.lang.String,cc.kune.core.shared.domain.utils.StateToken)' threw an unexpected exception: java.util.ConcurrentModificationException
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:544)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:504)
at cc.kune.core.server.rack.filters.gwts.DelegatedRemoteServlet.processCall(DelegatedRemoteServlet.java:109)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at com.googlecode.gwtrpccommlayer.server.GwtRpcCommLayerServlet.service(GwtRpcCommLayerServlet.java:170)
at cc.kune.core.server.rack.filters.gwts.GWTServiceFilter.doFilter(GWTServiceFilter.java:57)
at cc.kune.core.server.rack.RackServletFilter$DockChain.execute(RackServletFilter.java:80)
at cc.kune.core.server.rack.RackServletFilter$DockChain.doFilter(RackServletFilter.java:73)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
at cc.kune.core.server.persist.CustomPersistFilter.doFilter(CustomPersistFilter.java:100)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at cc.kune.core.server.persist.CustomPersistFilter.doFilter(CustomPersistFilter.java:100)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
at cc.kune.core.server.rack.RackServletFilter$DockChain.execute(RackServletFilter.java:80)
at cc.kune.core.server.rack.RackServletFilter$DockChain.doFilter(RackServletFilter.java:73)
at cc.kune.core.server.rack.filters.LogFilter.doFilter(LogFilter.java:53)
at cc.kune.core.server.rack.RackServletFilter$DockChain.execute(RackServletFilter.java:80)
at cc.kune.core.server.rack.RackServletFilter$DockChain.doFilter(RackServletFilter.java:73)
at cc.kune.core.server.rack.RackServletFilter.doFilter(RackServletFilter.java:115)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:483)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:412)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:351)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:900)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:954)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:390)
at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:401)
at org.hibernate.collection.AbstractPersistentCollection$IteratorProxy.next(AbstractPersistentCollection.java:577)
at cc.kune.core.server.content.ContainerManagerDefault.purgeAll(ContainerManagerDefault.java:139)
at cc.kune.core.server.rpc.ContentRPC.purgeAll(ContentRPC.java:467)
at cc.kune.core.server.LoggerMethodInterceptor.invoke(LoggerMethodInterceptor.java:90)
at cc.kune.core.server.auth.AuthorizatedMethodInterceptor.invoke(AuthorizatedMethodInterceptor.java:107)
at cc.kune.core.server.OutermostCallInterceptor.invoke(OutermostCallInterceptor.java:66)
at cc.kune.core.server.auth.AuthenticatedMethodInterceptor.invoke(AuthenticatedMethodInterceptor.java:84)
at cc.kune.core.server.OutermostCallInterceptor.invoke(OutermostCallInterceptor.java:66)
at com.google.inject.persist.jpa.KuneJpaLocalTxnInterceptor.invoke(KuneJpaLocalTxnInterceptor.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
... 49 more
23-abr-2012 20:45:26 org.waveprotocol.box.server.waveserver.MemorySearchProvider search

Associated revisions

History

#1 Updated by Vicente J. Ruiz Jurado almost 12 years ago

New comment by kune.cc/#patriciog:

Con varios elementos en la papelera, siempre da error al intentar vaciarla y hay que ir uno a uno. Pego aquí la información sobre errores:

Thu Feb 07 09:32:58 GMT+100 2013 - Stack: Token: 1360225978635 500 The call failed on the server; see server log for details Unknown.NEc (Unknown source:0) Unknown.YVk (Unknown source:0) Unknown.r$k (Unknown source:0) Unknown.ZHi (Unknown source:0) Unknown.GIi (Unknown source:0) Unknown.<anonymous> (Unknown source:0) Unknown.lqi (Unknown source:0) Unknown.onreadystatechange (Unknown source:0)

Thu Feb 07 09:32:58 GMT+100 2013 - Token: 1360225978635 500 The call failed on the server; see server log for details Unknown.NEc (Unknown source:0) Unknown.YVk (Unknown source:0) Unknown.r$k (Unknown source:0) Unknown.ZHi (Unknown source:0) Unknown.GIi (Unknown source:0) Unknown.<anonymous> (Unknown source:0) Unknown.lqi (Unknown source:0) Unknown.onreadystatechange (Unknown source:0)

Thu Feb 07 09:32:58 GMT+100 2013 - Other kind of exception received in ErrorHandler (500 The call failed on the server; see server log for details)

Thu Feb 07 09:32:58 GMT+100 2013 - ¡Uuups! Algo ha ido mal en nuestros servidores. Inténtalo de nuevo, por favor.

#2 Updated by Vicente J. Ruiz Jurado over 11 years ago

Updated exception:

com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract cc.kune.core.shared.dto.StateContainerDTO cc.kune.core.client.rpcservices.ContentService.purgeAll(java.lang.String,cc.kune.core.shared.domain.utils.StateToken)' threw an unexpected exception: java.util.*ConcurrentModificationException*
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:544)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:504)
at cc.kune.core.server.rack.filters.gwts.DelegatedRemoteServlet.processCall(DelegatedRemoteServlet.java:116)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at com.googlecode.gwtrpccommlayer.server.GwtRpcCommLayerServlet.service(GwtRpcCommLayerServlet.java:170)
at cc.kune.core.server.rack.filters.gwts.GWTServiceFilter.doFilter(GWTServiceFilter.java:57)
at cc.kune.core.server.rack.RackServletFilter$DockChain.execute(RackServletFilter.java:82)
at cc.kune.core.server.rack.RackServletFilter$DockChain.doFilter(RackServletFilter.java:75)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
at cc.kune.core.server.persist.CustomPersistFilter.doFilter(CustomPersistFilter.java:101)
at cc.kune.core.server.persist.CustomPersistFilter$$EnhancerByGuice$$e2d739f4.CGLIB$doFilter$2(<generated>)
at cc.kune.core.server.persist.CustomPersistFilter$$EnhancerByGuice$$e2d739f4$$FastClassByGuice$$ed0a66f0.invoke(<generated>)
at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72)
at com.google.inject.persist.jpa.KuneJpaLocalTxnInterceptor.invoke(KuneJpaLocalTxnInterceptor.java:65)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72)
at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:52)
at cc.kune.core.server.persist.CustomPersistFilter$$EnhancerByGuice$$e2d739f4.doFilter(<generated>)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at cc.kune.core.server.persist.CustomPersistFilter.doFilter(CustomPersistFilter.java:101)
at cc.kune.core.server.persist.CustomPersistFilter$$EnhancerByGuice$$e2d739f4.CGLIB$doFilter$2(<generated>)
at cc.kune.core.server.persist.CustomPersistFilter$$EnhancerByGuice$$e2d739f4$$FastClassByGuice$$ed0a66f0.invoke(<generated>)
at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72)
at com.google.inject.persist.jpa.KuneJpaLocalTxnInterceptor.invoke(KuneJpaLocalTxnInterceptor.java:73)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72)
at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:52)
at cc.kune.core.server.persist.CustomPersistFilter$$EnhancerByGuice$$e2d739f4.doFilter(<generated>)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
at cc.kune.core.server.rack.RackServletFilter$DockChain.execute(RackServletFilter.java:82)
at cc.kune.core.server.rack.RackServletFilter$DockChain.doFilter(RackServletFilter.java:75)
at cc.kune.core.server.rack.RackServletFilter.doFilter(RackServletFilter.java:117)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1338)
at cc.kune.core.server.searcheable.SearchEngineServletFilter.doFilter(SearchEngineServletFilter.java:204)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1338)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:350)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:900)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:954)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:851)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:620)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:390)
at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:401)
at org.hibernate.collection.internal.AbstractPersistentCollection$IteratorProxy.next(AbstractPersistentCollection.java:593)
at cc.kune.core.server.content.ContentManagerDefault.purgeAll(ContentManagerDefault.java:326)
at cc.kune.core.server.rpc.ContentRPC.purgeAll(ContentRPC.java:486)
at cc.kune.core.server.LoggerMethodInterceptor.invoke(LoggerMethodInterceptor.java:90)
at cc.kune.core.server.auth.AuthorizatedMethodInterceptor.invoke(AuthorizatedMethodInterceptor.java:107)
at cc.kune.core.server.OutermostCallInterceptor.invoke(OutermostCallInterceptor.java:65)
at cc.kune.core.server.auth.AuthenticatedMethodInterceptor.invoke(AuthenticatedMethodInterceptor.java:84)
at cc.kune.core.server.OutermostCallInterceptor.invoke(OutermostCallInterceptor.java:65)
at com.google.inject.persist.jpa.KuneJpaLocalTxnInterceptor.invoke(KuneJpaLocalTxnInterceptor.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:544)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:504)
at cc.kune.core.server.rack.filters.gwts.DelegatedRemoteServlet.processCall(DelegatedRemoteServlet.java:116)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at com.googlecode.gwtrpccommlayer.server.GwtRpcCommLayerServlet.service(GwtRpcCommLayerServlet.java:170)
at cc.kune.core.server.rack.filters.gwts.GWTServiceFilter.doFilter(GWTServiceFilter.java:57)
at cc.kune.core.server.rack.RackServletFilter$DockChain.execute(RackServletFilter.java:82)
at cc.kune.core.server.rack.RackServletFilter$DockChain.doFilter(RackServletFilter.java:75)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
at cc.kune.core.server.persist.CustomPersistFilter.doFilter(CustomPersistFilter.java:101)
at com.google.inject.persist.jpa.KuneJpaLocalTxnInterceptor.invoke(KuneJpaLocalTxnInterceptor.java:65)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at cc.kune.core.server.persist.CustomPersistFilter.doFilter(CustomPersistFilter.java:101)
at com.google.inject.persist.jpa.KuneJpaLocalTxnInterceptor.invoke(KuneJpaLocalTxnInterceptor.java:73)
... 32 more

#3 Updated by Vicente J. Ruiz Jurado over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF