com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '6' for key 'PRIMARY' │···························

GitHub | ariehkovler | 3 years ago
  1. 0

    Could not execute SQL statement. Duplicate entry '6' for key 'PRIMARY'

    GitHub | 3 years ago | ariehkovler
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '6' for key 'PRIMARY' │···························
  2. 0

    Issue with human riding things

    GitHub | 3 years ago | PhanaticD
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'PhanaticD' for key 'PRIMARY'
  3. 0

    Problems with banall

    GitHub | 2 years ago | KasperFranz
    java.sql.SQLException: Unable to run insert stmt on object me.confuser.banmanager.data.PlayerBanData@7de36ed7: INSERT INTO `bm_player_bans` (`player_id` ,`reason` ,`actor_id` ,`created` ,`updated` ,`expires` ) VALUES (?,?,?,?,?,?)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Muting/Banning offline players

    GitHub | 2 years ago | spyproof
    java.sql.SQLException: Unable to run insert stmt on object me.confuser.banmanager.data.PlayerData@50c00a3f: INSERT INTO `bm_players` (`id` ,`name` ,`ip` ,`lastSeen` ) VALUES (?,?,?,?)
  6. 0

    GitHub comment 13#129221728

    GitHub | 1 year ago | Greenman1805
    libs.org.hibernate.exception.ConstraintViolationException: could not execute statement

  1. DoktorDoener666 6 times, last 3 weeks ago
  2. mauritius 1 times, last 3 weeks ago
  3. mauritius 2 times, last 1 month ago
  4. dafman 6 times, last 2 months ago
  5. davidvanlaatum 4 times, last 2 months 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 '6' for key 'PRIMARY' │···························

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.7.0_51]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[?:1.7.0_51]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.7.0_51]
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)[?:1.7.0_51]
    4 frames
  3. MySQL jdbc
    PreparedStatement.executeUpdate
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:407)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    2. com.mysql.jdbc.Util.getInstance(Util.java:382)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    9. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    10. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    11. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    12. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    12 frames
  4. isaac.bastion.storage
    BastionBlockSet$1.run
    1. isaac.bastion.storage.Database.execute(Database.java:142)[Bastion.jar:?]
    2. isaac.bastion.storage.BastionBlockStorage.saveBastionBlock(BastionBlockStorage.java:77)[Bastion.jar:?]
    3. isaac.bastion.storage.BastionBlockStorage.saveBastionBlocks(BastionBlockStorage.java:49)[Bastion.jar:?]
    4. isaac.bastion.storage.BastionBlockSet.update(BastionBlockSet.java:111)[Bastion.jar:?]
    5. isaac.bastion.storage.BastionBlockSet$1.run(BastionBlockSet.java:45)[Bastion.jar:?]
    5 frames
  5. org.bukkit.craftbukkit
    CraftScheduler.mainThreadHeartbeat
    1. org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:58)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    2. org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)[spigot.jar:git-Spigot-1.7.2│···························gb58e277]
    2 frames
  6. MC Server
    ThreadServerApplication.run
    1. net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:614)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    2. net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    3. net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:562)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    4. net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:469)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    5. net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)[spigot.jar:git-Spigot-1.7.2-R0.3-122-gb58e277]
    5 frames