03-14-2010, 11:59 AM
помогите разобратся
Цитата:com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Dupl
icate entry '268685572' for key 1
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1564)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1485)
at com.mchange.v2.c3p0.impl.NewProxyStatement.executeUpdate(NewProxyStat
ement.java:64)
at net.sf.l2j.gameserver.idfactory.IdFactory.extractUsedObjectIDTable(Id
Factory.java:221)
at net.sf.l2j.gameserver.idfactory.StackIDFactory.<init>(StackIDFactory.
java:56)
at net.sf.l2j.gameserver.idfactory.IdFactory.<clinit>(IdFactory.java:93)
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:289)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:708)
ID Factory could not be initialized correctly:com.mysql.jdbc.exceptions.jdbc4.My
SQLIntegrityConstraintViolationException: Duplicate entry '268685572' for key 1
Could not read object IDs from DB. Please Check Your Data.
Exception in thread "main" java.lang.Exception: Could not initialize the ID fact
ory
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:293)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:708)
Помог ? Нажми: