| Issue 737: | Create a new group fails due to duplicate primary key | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.1.5
What steps will reproduce the problem?
1.Restart Gerrit
2. Create a new group.
What is the expected output? What do you see instead?
instead of a new group, I see an "internal server error" message. The error_log has this:
[2010-09-24 15:23:07,768] WARN / : Error in createGroup
com.google.gwtorm.client.OrmException: insert failure on account_groups
....
Caused by: java.sql.BatchUpdateException: Duplicate entry '1' for key 'PRIMARY'
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443)
at com.google.gwtorm.jdbc.JdbcAccess.execute(JdbcAccess.java:293)
at com.google.gwtorm.jdbc.JdbcAccess.doInsert(JdbcAccess.java:171)
... 52 more
Please provide any additional information below.
Each time I try to create a new group , the index in the above error message increases, so eventually I can create a new group if I keep trying.
I'm using mysql 5.1.41 on Ubuntu 10.04.
Sep 28, 2010
#1
robertr...@gmail.com
Oct 12, 2010
This is a dupe if Issue 518 .
Jun 20, 2011
(No comment was entered for this change.)
Status:
Duplicate
Mergedinto: 518 |
|
| ► Sign in to add a comment |