com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'XYZ' for key 'PRIMARY'

GitHub | erocs | 4 months ago
  1. 0

    MySQLIntegrityConstraintViolationException DatabaseManager.savePlayerData

    GitHub | 4 months ago | erocs
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'XYZ' for key 'PRIMARY'
  2. 0

    MySQLIntegrityConstraintViolationException GroupManagerDao.setDefaultGroup

    GitHub | 4 months ago | erocs
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'XYZ-UUID' for key 'PRIMARY'
  3. 0

    MySQLIntegrityConstraintViolationException GroupManagerDao.setDefaultGroup

    GitHub | 4 months ago | erocs
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'XYZ-UUID' for key 'PRIMARY'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    stack

    GitHub | 2 years ago | rourke750
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1251' for key 'P[7/9755]
  6. 0

    Civtest Citadel Null Group Exception

    GitHub | 2 years ago | drjawa
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'group_id' cannot be nul l

  1. kid 3 times, last 7 months ago
  2. Kialandei 1 times, last 2 weeks ago
  3. DoktorDoener666 6 times, last 3 weeks ago
  4. mauritius 1 times, last 3 weeks ago
  5. MoYapro 1 times, last 1 month ago
11 more registered users
45 unregistered visitors
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 'XYZ' for key 'PRIMARY'

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  3. MySQL jdbc
    PreparedStatement.execute
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    2. com.mysql.jdbc.Util.getInstance(Util.java:387)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3870)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3806)
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2470)
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2617)
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2550)
    9. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
    10. com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1192)
    10 frames
  4. vg.civcraft.mc
    CustomWorldNBTStorage.save
    1. vg.civcraft.mc.bettershards.database.DatabaseManager.savePlayerData(DatabaseManager.java:327)
    2. vg.civcraft.mc.bettershards.misc.CustomWorldNBTStorage.save(CustomWorldNBTStorage.java:54)
    2 frames
  5. net.minecraft.server
    PlayerConnection.disconnect
    1. net.minecraft.server.v1_10_R1.PlayerList.savePlayerFile(PlayerList.java:315)
    2. net.minecraft.server.v1_10_R1.PlayerList.disconnect(PlayerList.java:389)
    3. net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1058)
    4. net.minecraft.server.v1_10_R1.PlayerConnection.disconnect(PlayerConnection.java:243)
    4 frames
  6. org.bukkit.craftbukkit
    CraftPlayer.kickPlayer
    1. org.bukkit.craftbukkit.v1_10_R1.entity.CraftPlayer.kickPlayer(CraftPlayer.java:218)
    1 frame
  7. fr.neatmonster.nocheatplus
    NoCheatPlusCommand.onCommand
    1. fr.neatmonster.nocheatplus.command.actions.KickCommand.kick(KickCommand.java:54)
    2. fr.neatmonster.nocheatplus.command.actions.KickCommand.onCommand(KickCommand.java:47)
    3. fr.neatmonster.nocheatplus.command.NoCheatPlusCommand.onCommand(NoCheatPlusCommand.java:162)
    3 frames
  8. Bukkit
    SimpleCommandMap.dispatch
    1. org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    2. org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    2 frames
  9. org.bukkit.craftbukkit
    CraftServer.dispatchCommand
    1. org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646)
    1 frame
  10. fr.neatmonster.nocheatplus
    DelayCommand$1.run
    1. fr.neatmonster.nocheatplus.command.actions.delay.DelayCommand$1.run(DelayCommand.java:48)
    1 frame
  11. org.bukkit.craftbukkit
    CraftScheduler.mainThreadHeartbeat
    1. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71)
    2. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
    2 frames
  12. net.minecraft.server
    MinecraftServer.run
    1. net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:741)
    2. net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399)
    3. net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672)
    4. net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571)
    4 frames
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame