Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
ошибка ГС
#1
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Dupl
icate entry '879' for key 'PRIMARY'
Что за ошибка подскажите пожалуйста
Ответ
#2
Landver Написал:com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Dupl
icate entry '879' for key 'PRIMARY'
Что за ошибка подскажите пожалуйста

Дубль в таблице.
Fortuna - non penis, in manus non recipe.
Ответ
#3
Где именно? и как исправить?
Ответ
#4
Landver Написал:Где именно? и как исправить?
Покажите весь лог, а там посмотрим.
Fortuna - non penis, in manus non recipe.
Ответ
#5
[14.02.13 16:55:58:970] ERROR model.Player: Error could not store skills!
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '268567321-355-108' for key 'PRIMARY'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.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:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1362)
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at org.mmocore.gameserver.model.Player.storeSkill(Player.java:4444)
at org.mmocore.gameserver.model.Player.addSkill(Player.java:4380)
at org.mmocore.gameserver.model.Player.rewardSkills(Player.java:1902)
at org.mmocore.gameserver.model.Player.levelSet(Player.java:3393)
at org.mmocore.gameserver.model.Player.addExpAndSp(Player.java:1864)
at org.mmocore.gameserver.model.Player.addExpAndCheckBonus(Player.java:1796)
at org.mmocore.gameserver.model.Party.distributeXpAndSp(Party.java:661)
at org.mmocore.gameserver.model.instances.MonsterInstance.calculateRewards(MonsterInstance.java:483)
at org.mmocore.gameserver.model.instances.MonsterInstance.onDeath(MonsterInstance.java:307)
at org.mmocore.gameserver.model.Creature.doDie(Creature.java:1610)
at org.mmocore.gameserver.model.Creature.onReduceCurrentHp(Creature.java:3227)
at org.mmocore.gameserver.model.instances.NpcInstance.onReduceCurrentHp(NpcInstance.java:260)
at org.mmocore.gameserver.model.instances.MonsterInstance.onReduceCurrentHp(MonsterInstance.java:332)
at org.mmocore.gameserver.model.Creature.reduceCurrentHp(Creature.java:3196)
at org.mmocore.gameserver.model.instances.MonsterInstance.reduceCurrentHp(MonsterInstance.java:872)
at org.mmocore.gameserver.skills.skillclasses.PDam.useSkill(PDam.java:60)
at org.mmocore.gameserver.model.Creature.callSkill(Creature.java:1116)
at org.mmocore.gameserver.model.Playable.callSkill(Playable.java:553)
at org.mmocore.gameserver.model.Creature.onMagicUseTimer(Creature.java:3091)
at org.mmocore.gameserver.model.GameObjectTasks$MagicUseTask.runImpl(GameObjectTasks.java:439)
at org.mmocore.commons.threading.RunnableImpl.run(RunnableImpl.java:21)
at org.mmocore.commons.threading.RunnableStatsWrapper.execute(RunnableStatsWrapper.java:34)
at org.mmocore.commons.threading.RunnableStatsWrapper.run(RunnableStatsWrapper.java:25)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
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)
Ответ
#6
Landver Написал:[14.02.13 16:55:58:970] ERROR model.Player: Error could not store skills!
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '268567321-355-108' for key 'PRIMARY'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.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:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1362)
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at org.mmocore.gameserver.model.Player.storeSkill(Player.java:4444)
at org.mmocore.gameserver.model.Player.addSkill(Player.java:4380)
at org.mmocore.gameserver.model.Player.rewardSkills(Player.java:1902)
at org.mmocore.gameserver.model.Player.levelSet(Player.java:3393)
at org.mmocore.gameserver.model.Player.addExpAndSp(Player.java:1864)
at org.mmocore.gameserver.model.Player.addExpAndCheckBonus(Player.java:1796)
at org.mmocore.gameserver.model.Party.distributeXpAndSp(Party.java:661)
at org.mmocore.gameserver.model.instances.MonsterInstance.calculateRewards(MonsterInstance.java:483)
at org.mmocore.gameserver.model.instances.MonsterInstance.onDeath(MonsterInstance.java:307)
at org.mmocore.gameserver.model.Creature.doDie(Creature.java:1610)
at org.mmocore.gameserver.model.Creature.onReduceCurrentHp(Creature.java:3227)
at org.mmocore.gameserver.model.instances.NpcInstance.onReduceCurrentHp(NpcInstance.java:260)
at org.mmocore.gameserver.model.instances.MonsterInstance.onReduceCurrentHp(MonsterInstance.java:332)
at org.mmocore.gameserver.model.Creature.reduceCurrentHp(Creature.java:3196)
at org.mmocore.gameserver.model.instances.MonsterInstance.reduceCurrentHp(MonsterInstance.java:872)
at org.mmocore.gameserver.skills.skillclasses.PDam.useSkill(PDam.java:60)
at org.mmocore.gameserver.model.Creature.callSkill(Creature.java:1116)
at org.mmocore.gameserver.model.Playable.callSkill(Playable.java:553)
at org.mmocore.gameserver.model.Creature.onMagicUseTimer(Creature.java:3091)
at org.mmocore.gameserver.model.GameObjectTasks$MagicUseTask.runImpl(GameObjectTasks.java:439)
at org.mmocore.commons.threading.RunnableImpl.run(RunnableImpl.java:21)
at org.mmocore.commons.threading.RunnableStatsWrapper.execute(RunnableStatsWrapper.java:34)
at org.mmocore.commons.threading.RunnableStatsWrapper.run(RunnableStatsWrapper.java:25)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
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)

сборка и ява какая?
Ответ
#7
Java 6, такие проблемы никогда не были, вот тока сегодня первый день.
Ответ
#8
если ява не та которую должна использовать сборка, могут быть таки ошибки в гсе...либо как ответили выше "идет дублирование значений в таблице бд"
Да и сборку укажите
Ответ
#9
Duplicate entry '268567321-355-108' for key 'PRIMARY'
Да дубликат, а как исправить то?
Ответ
#10
Удалить значение или убрать первичный ключ.
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Что за ошибка? serg5777 22 9,169 07-11-2023, 09:49 PM
Последний пост: ntking
  Ошибка Cannot read field "race" valdemart123 0 1,072 12-04-2021, 04:44 AM
Последний пост: valdemart123
  При запуске game server на сайте (sw13) ошибка mysql 0 AndreDeiu 1 1,357 09-27-2020, 11:32 PM
Последний пост: Lord_Gothic
  Ошибка геймсервера zane 9 2,587 04-27-2018, 12:28 PM
Последний пост: DmnC
  Ошибка загрузки гейм сервера zane 5 2,050 04-17-2018, 08:03 PM
Последний пост: zane
  Ошибка телепорта Rork 1 1,287 03-02-2018, 03:05 PM
Последний пост: Gaikotsu
  Ошибка с ГМ шопом silok 1 1,329 01-11-2018, 07:36 AM
Последний пост: Narsell
  Ошибка PWSOFT Ananim 0 1,384 07-07-2017, 11:42 AM
Последний пост: Ananim
  Ошибка _aveList; knaif 1 1,415 06-22-2017, 03:07 PM
Последний пост: Trimius
  Ошибка KastaMeN 1 1,833 06-16-2017, 11:32 PM
Последний пост: Mangol

Перейти к форуму:


Пользователи, просматривающие эту тему: 1 Гость(ей)