com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '23068d2b-9421-44a4-8db5-745ff921bad9-1' for key 'PRIMARY'

GitHub | ProgrammerDan | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Current culprits of multiple simultaneous saves

    GitHub | 7 months ago | ProgrammerDan
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '23068d2b-9421-44a4-8db5-745ff921bad9-1' for key 'PRIMARY'
  2. 0

    MySQL exception

    GitHub | 8 months ago | Vilican
    javax.persistence.PersistenceException: ERROR executing DML bindLog[] error[Duplicate entry '19' for key 'PRIMARY']
  3. 0

    java.sql.SQLException: Unable to run insert stmt on object ...

    GitHub | 7 months ago | Typhome
    java.sql.SQLException: Unable to run insert stmt on object me.confuser.banmanager.data.PlayerMuteData@7642aa2d: INSERT INTO `bm_player_mutes` (`player_id` ,`reason` ,`actor_id` ,`created` ,`updated` ,`expires` ,`soft` ) VALUES (?,?,?,?,?,?,?)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    为什么会出现乱码?

    GitHub | 5 years ago | xiegengcai
    org.springframework.dao.DuplicateKeyException: PreparedStatementCallback; SQL [update t_application set update_time=now(), app_name=?, en_name=?, version=?, developer=?, catalog_id=?, size=?, platform=?, support_languages=?, price=?, description=?, permission_desc=?, status=?, images=?, features=?, en_features=? where id=?]; Duplicate entry '�鱼达人' for key 2; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '�鱼达人' for key 2
  6. 0

    Way to get data, but showing "xxx" cannot be null

    Stack Overflow | 2 years ago
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'operator_id' cannot be null
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 '23068d2b-9421-44a4-8db5-745ff921bad9-1' 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.executeUpdate
    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.executeUpdateInternal(PreparedStatement.java:2073)
    11. com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2009)
    12. com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5094)
    13. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1994)
    13 frames
  4. vg.civcraft.mc
    CustomWorldNBTStorage.save
    1. vg.civcraft.mc.bettershards.database.DatabaseManager.getPlayerLock(DatabaseManager.java:373)
    2. vg.civcraft.mc.bettershards.database.DatabaseManager.savePlayerData(DatabaseManager.java:435)
    3. vg.civcraft.mc.bettershards.misc.CustomWorldNBTStorage.save(CustomWorldNBTStorage.java:54)
    3 frames
  5. net.minecraft.server
    MinecraftServer.run
    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.NetworkManager.handleDisconnection(NetworkManager.java:318)
    5. net.minecraft.server.v1_10_R1.ServerConnection.c(ServerConnection.java:174)
    6. net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:832)
    7. net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399)
    8. net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672)
    9. net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571)
    9 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame