Ace65 / aionj-hungary

Automatically exported from code.google.com/p/aionj-hungary
0 stars 0 forks source link

[rev552] Legion Duplicated ID When saveNewLegionMember to DB #454

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
WARN [13 Apr 2011 10:45:39,593] com.aionemu.commons.database.DB:344 Failed to 
execute IU query 
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
Duplicate entry '85227' for key 'PRIMARY'
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
Duplicate entry '85227' for key 'PRIMARY'
    at sun.reflect.GeneratedConstructorAccessor189.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
    at com.mysql.jdbc.Util.getInstance(Util.java:384)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1041)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2113)
    at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1364)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
    at system.database.mysql5.MySQL5LegionMemberDAO$1.handleInsertUpdate(MySQL5LegionMemberDAO.java:93)
    at com.aionemu.commons.database.DB.insertUpdate(DB.java:336)
    at com.aionemu.commons.database.DB.insertUpdate(DB.java:313)
    at system.database.mysql5.MySQL5LegionMemberDAO.saveNewLegionMember(MySQL5LegionMemberDAO.java:85)
    at com.aionemu.gameserver.model.team.legion.Legion.storeLegionMember(Legion.java:917)
    at com.aionemu.gameserver.model.team.legion.Legion.addLegionMember(Legion.java:355)
    at com.aionemu.gameserver.model.team.legion.Legion.addLegionMember(Legion.java:343)
    at com.aionemu.gameserver.model.team.legion.Legion.access$400(Legion.java:73)
    at com.aionemu.gameserver.model.team.legion.Legion$2.acceptRequest(Legion.java:953)
    at com.aionemu.gameserver.model.gameobjects.player.RequestResponseHandler.handle(RequestResponseHandler.java:48)
    at com.aionemu.gameserver.model.gameobjects.player.ResponseRequester.respond(ResponseRequester.java:69)
    at com.aionemu.gameserver.network.aion.clientpackets.CM_QUESTION_RESPONSE.runImpl(CM_QUESTION_RESPONSE.java:62)
    at com.aionemu.commons.network.mmocore.ReceivablePacket.run(ReceivablePacket.java:75)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:61)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.run(ExecuteWrapper.java:42)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by shinji66...@yahoo.com on 13 Apr 2011 at 3:53

GoogleCodeExporter commented 8 years ago

Original comment by mr.pok...@gmail.com on 13 Apr 2011 at 4:30

GoogleCodeExporter commented 8 years ago

Original comment by mr.pok...@gmail.com on 13 Apr 2011 at 5:09