javax.persistence.PersistenceException

ERROR executing DML bindLog[] error[Duplicate entry '19' for key 'PRIMARY']

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web990

  • via GitHub by Vilican
    , 1 year ago
    ERROR executing DML bindLog[] error[Duplicate entry '19' for key 'PRIMARY']
  • via GitHub by Flash2over
    , 1 year ago
    ERROR executing DML bindLog[] error[Duplicate entry 'fdd7fc97-da7c-4e8e-9095-0199d57660fc' for key 'PRIMARY']
  • via Google Groups by Simon Godard, 1 month ago
    ERROR executing DML bindLog[5ac1c653-339a-40b0-b86f-d15a9e61fbe7,true,false,false,false,false,false,1,] error[Duplicate entry '5ac1c653-339a-40b0-b86f-d15a9e61fbe7' for key 'PRIMARY']
  • Stack trace

    • javax.persistence.PersistenceException: ERROR executing DML bindLog[] error[Duplicate entry '19' for key 'PRIMARY'] at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:116) at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.insert(DmlBeanPersister.java:76) at com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeInsertBean(DefaultPersistExecute.java:91) at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(PersistRequestBean.java:500) at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(PersistRequestBean.java:530) at com.avaje.ebeaninternal.server.persist.DefaultPersister.insert(DefaultPersister.java:406) at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveVanillaInsert(DefaultPersister.java:377) at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveVanillaRecurse(DefaultPersister.java:361) at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveRecurse(DefaultPersister.java:308) at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveAssocOne(DefaultPersister.java:1229) at com.avaje.ebeaninternal.server.persist.DefaultPersister.update(DefaultPersister.java:432) at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveEnhanced(DefaultPersister.java:343) at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveRecurse(DefaultPersister.java:315) at com.avaje.ebeaninternal.server.persist.DefaultPersister.save(DefaultPersister.java:282) at com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1629) at com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1619) at com.lenis0012.bukkit.loginsecurity.session.PlayerSession$1.run(PlayerSession.java:48) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '19' for key 'PRIMARY' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) at com.mysql.jdbc.Util.getInstance(Util.java:387) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3870) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3806) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2470) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2617) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2550) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861) at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2073) at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2009) at com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5094) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1994) at com.avaje.ebeaninternal.server.lib.sql.ExtendedPreparedStatement.executeUpdate(ExtendedPreparedStatement.java:164) at com.avaje.ebeaninternal.server.type.DataBind.executeUpdate(DataBind.java:74) at com.avaje.ebeaninternal.server.persist.dml.InsertHandler.execute(InsertHandler.java:158) at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:105) ... 19 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 5 days ago
    22 times, 6 days ago
    18 times, 1 week ago
    2 times, 4 weeks ago
    8 times, 2 months ago
    63 more bugmates