com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '273f91ba-4d9d-42a2-94a3-1ce6efc2ab23' for key 'PRIMARY'

GitHub | Eredrim | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 24#279089554

    GitHub | 2 months ago | Eredrim
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '273f91ba-4d9d-42a2-94a3-1ce6efc2ab23' for key 'PRIMARY'
  2. 0

    GitHub comment 84#267195844

    GitHub | 3 months ago | Maxetto
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`minecraft`.`#sql-58f_370f3aa`, CONSTRAINT `mh_Achievements_Player_Id` FOREIGN KEY (`PLAYER_ID`) REFERENCES `mh_Players` (`PLAYER_ID`) ON DELETE CASCADE)
  3. 0

    How can i fix this issue?

    GitHub | 2 months ago | anonymous3ch0
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'PlayerFrom' in 'field list'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Founding a Civ or town with a name that already exists throws an unreadable exception in game.

    GitHub | 8 months ago | ataranlen
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'Mirendar' for key 'name'
  6. 0

    Maxbans Mysql Bug when a player is joining

    GitHub | 3 months ago | DarkNOD
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'name' in 'field list'
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException

    Duplicate entry '273f91ba-4d9d-42a2-94a3-1ce6efc2ab23' for key 'PRIMARY'

    at sun.reflect.GeneratedConstructorAccessor304.newInstance()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor304.newInstance(Unknown Source)[Server thread/WARN]
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[Server thread/WARN]
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:422)[Server thread/WARN]
    3 frames
  3. MySQL jdbc
    StatementImpl.executeUpdate
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)[Server thread/WARN]
    2. com.mysql.jdbc.Util.getInstance(Util.java:387)[Server thread/WARN]
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934)[Server thread/WARN]
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3966)[Server thread/WARN]
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3902)[Server thread/WARN]
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2526)[Server thread/WARN]
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2673)[Server thread/WARN]
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)[Server thread/WARN]
    9. com.mysql.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1540)[Server thread/WARN]
    10. com.mysql.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2595)[Server thread/WARN]
    11. com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1468)[Server thread/WARN]
    11 frames
  4. eu.reborn_minecraft.zhorse
    DelayedChunckUnload$1.run
    1. eu.reborn_minecraft.zhorse.database.SQLDatabaseConnector.executeUpdate(SQLDatabaseConnector.java:55)[Server thread/WARN]
    2. eu.reborn_minecraft.zhorse.managers.DataManager.registerHorseStats(DataManager.java:319)[Server thread/WARN]
    3. eu.reborn_minecraft.zhorse.utils.DelayedChunckUnload$1.run(DelayedChunckUnload.java:25)[Server thread/WARN]
    3 frames
  5. org.bukkit.craftbukkit
    CraftScheduler.mainThreadHeartbeat
    1. org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)[Server thread/WARN]
    2. org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)[Server thread/WARN]
    2 frames
  6. net.minecraft.server
    MinecraftServer.run
    1. net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:730)[Server thread/WARN]
    2. net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)[Server thread/WARN]
    3. net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675)[Server thread/WARN]
    4. net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574)[Server thread/WARN]
    4 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame