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

GitHub | erocs | 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

    MySQLIntegrityConstraintViolationException GroupManagerDao.setDefaultGroup

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

    MySQLIntegrityConstraintViolationException GroupManagerDao.setDefaultGroup

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

    MySQLIntegrityConstraintViolationException DatabaseManager.savePlayerData

    GitHub | 7 months ago | erocs
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'XYZ' 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. chenjunjun 3 times, last 1 month ago
  2. kid 3 times, last 10 months ago
  3. DoktorDoener666 7 times, last 3 weeks ago
  4. mauritius 1 times, last 2 months ago
  5. MoYapro 2 times, last 2 months ago
9 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-UUID' for key 'PRIMARY'

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_91]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[?:1.8.0_91]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.8.0_91]
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)[?:1.8.0_91]
    4 frames
  3. MySQL jdbc
    PreparedStatement.execute
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    2. com.mysql.jdbc.Util.getInstance(Util.java:387)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3870)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3806)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2470)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2617)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2550)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    9. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    10. com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1192)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    10 frames
  4. vg.civcraft.mc
    PlayerListener.playerJoinEvent
    1. vg.civcraft.mc.namelayer.database.GroupManagerDao.setDefaultGroup(GroupManagerDao.java:1044)[NameLayer.jar:?]
    2. vg.civcraft.mc.namelayer.group.DefaultGroupHandler.setDefaultGroup(DefaultGroupHandler.java:38)[NameLayer.jar:?]
    3. vg.civcraft.mc.namelayer.group.Group.setDefaultGroup(Group.java:425)[NameLayer.jar:?]
    4. vg.civcraft.mc.namelayer.listeners.PlayerListener.handleFirstJoin(PlayerListener.java:112)[NameLayer.jar:?]
    5. vg.civcraft.mc.namelayer.listeners.PlayerListener.playerJoinEvent(PlayerListener.java:37)[NameLayer.jar:?]
    5 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)[?:?]
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_91]
    3. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_91]
    3 frames
  6. Bukkit
    SimplePluginManager.callEvent
    1. org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    2. org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    3. org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    4. org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    4 frames
  7. net.minecraft.server
    PlayerList.onPlayerJoin
    1. net.minecraft.server.v1_10_R1.PlayerList.onPlayerJoin(PlayerList.java:333)[spigot.jar:git-Spigot-6016ac7-6d3efa0]
    1 frame