CandyShop / gerrit

Automatically exported from code.google.com/p/gerrit
Apache License 2.0
1 stars 0 forks source link

delete group member/include cause ConcurrentModificationException #1165

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Affected Version:
2.2.1

What steps will reproduce the problem?
1. enter group admin page
2. select one member and click delete button

What is the expected output? What do you see instead?
Application Error
Server Error
Internal Server Error

I've tried restart gerrit, but it does not work.

Please provide any additional information below.
[2011-11-03 10:49:05,188] WARN  / : Error in deleteGroupMembers
com.google.gwtorm.client.OrmConcurrencyException: Concurrent modification 
detected
        at com.google.gwtorm.jdbc.JdbcAccess.execute(JdbcAccess.java:299)
        at com.google.gwtorm.jdbc.JdbcAccess.doUpdate(JdbcAccess.java:197)
        at com.google.gwtorm.jdbc.JdbcAccess.doUpdate(JdbcAccess.java:35)
        at com.google.gwtorm.client.impl.AbstractAccess.update(AbstractAccess.java:69)
        at com.google.gerrit.httpd.rpc.account.GroupAdminServiceImpl$10.run(GroupAdminServiceImpl.java:335)
        at com.google.gerrit.httpd.rpc.account.GroupAdminServiceImpl$10.run(GroupAdminServiceImpl.java:302)
        at com.google.gerrit.httpd.rpc.BaseServiceImplementation.run(BaseServiceImplementation.java:63)
        at com.google.gerrit.httpd.rpc.account.GroupAdminServiceImpl.deleteGroupMembers(GroupAdminServiceImpl.java:302)
        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.gwtjsonrpc.server.MethodHandle.invoke(MethodHandle.java:91)
        at com.google.gwtjsonrpc.server.JsonServlet.doService(JsonServlet.java:382)
        at com.google.gwtjsonrpc.server.JsonServlet.service(JsonServlet.java:268)

Original issue reported on code.google.com by cowboy...@gmail.com on 3 Nov 2011 at 2:56

GoogleCodeExporter commented 9 years ago
Unable to replicate in 2.4 using MySQL. Can you please see if this is still 
affecting you on that release?

Also, which database are you using? Mysql/Postgres/H2?

Original comment by choro...@wikimedia.org on 18 Jul 2012 at 10:28

GoogleCodeExporter commented 9 years ago
Confirmed in master (1756441). Using MySQL + LDAP for auth.

Group had 2 members, one included ldap group. Trying to delete any 
(combination) of the entries results in a similar stacktrace as the OP: 
http://p.defau.lt/?lBaiks9ssHZaKRAJGciqVQ

Original comment by choro...@wikimedia.org on 16 Jan 2013 at 3:45

GoogleCodeExporter commented 9 years ago
I suffer from this issue as well. Version 2.5.1, I am using MySQL and LDAP auth.

Original comment by gmark...@gmail.com on 5 Jul 2013 at 7:54