com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '2a5e2f27-b0e1-42fb-8706-1eb7d1f41277-0' for key 'uuid'

GitHub | ninmore | 4 months ago
  1. 0

    Player Login Error

    GitHub | 4 months ago | ninmore
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '2a5e2f27-b0e1-42fb-8706-1eb7d1f41277-0' for key 'uuid'
  2. 0

    GitHub comment 2#241225958

    GitHub | 4 months ago | ninmore
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '2a5e2f27-b0e1-42fb-8706-1eb7d1f41277-0' for key 'uuid'
  3. 0

    GitHub comment 7#8812055

    GitHub | 4 years ago | simplechen
    javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Duplicate entry 'java' for key 'name'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    为什么会出现乱码?

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

    JPA @ManyToOne - I don't want cascade delete

    Stack Overflow | 2 years ago | Áron Nemmondommegavezetéknevem
    org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
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 '2a5e2f27-b0e1-42fb-8706-1eb7d1f41277-0' for key 'uuid'

    at sun.reflect.GeneratedConstructorAccessor261.newInstance()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor261.newInstance(Unknown Source)[Craft Scheduler Thread - 1357/WARN]
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[Craft Scheduler Thread - 1357/WARN]
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:423)[Craft Scheduler Thread - 1357/WARN]
    3 frames
  3. MySQL jdbc
    PreparedStatement.executeUpdate
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)[Craft Scheduler Thread - 1357/WARN]
    2. com.mysql.jdbc.Util.getInstance(Util.java:387)[Craft Scheduler Thread - 1357/WARN]
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934)[Craft Scheduler Thread - 1357/WARN]
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3870)[Craft Scheduler Thread - 1357/WARN]
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3806)[Craft Scheduler Thread - 1357/WARN]
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2470)[Craft Scheduler Thread - 1357/WARN]
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2617)[Craft Scheduler Thread - 1357/WARN]
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2550)[Craft Scheduler Thread - 1357/WARN]
    9. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)[Craft Scheduler Thread - 1357/WARN]
    10. com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2073)[Craft Scheduler Thread - 1357/WARN]
    11. com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2009)[Craft Scheduler Thread - 1357/WARN]
    12. com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5094)[Craft Scheduler Thread - 1357/WARN]
    13. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1994)[Craft Scheduler Thread - 1357/WARN]
    13 frames
  4. HikariCP-java6
    HikariProxyPreparedStatement.executeUpdate
    1. com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)[Craft Scheduler Thread - 1357/WARN]
    2. com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)[Craft Scheduler Thread - 1357/WARN]
    2 frames
  5. com.shepherdjerred.stanalytics
    QueryHelper.lambda$runAsyncUpdate$0
    1. com.shepherdjerred.stanalytics.mysql.QueryHelper.runUpdate(QueryHelper.java:46)[Craft Scheduler Thread - 1357/WARN]
    2. com.shepherdjerred.stanalytics.mysql.QueryHelper.lambda$runAsyncUpdate$0(QueryHelper.java:33)[Craft Scheduler Thread - 1357/WARN]
    2 frames
  6. org.bukkit.craftbukkit
    CraftAsyncTask.run
    1. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:58)[Craft Scheduler Thread - 1357/WARN]
    2. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)[Craft Scheduler Thread - 1357/WARN]
    2 frames
  7. com.destroystokyo.paper
    ServerSchedulerReportingWrapper.run
    1. com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)[Craft Scheduler Thread - 1357/WARN]
    1 frame
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[Craft Scheduler Thread - 1357/WARN]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[Craft Scheduler Thread - 1357/WARN]
    3. java.lang.Thread.run(Thread.java:745)
    3 frames