javax.persistence.PersistenceException: ERROR executing DML bindLog[] error[CONSTRAINT 'ck_n4user_state' failed for 'yona'.'n4user']

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

It was a database inconsistency issue in the integration test dataset.

Solutions on the web

via GitHub by enchantor
, 10 months ago
ERROR executing DML bindLog[] error[CONSTRAINT 'ck_n4user_state' failed for 'yona'.'n4user']
via GitHub by yfluo
, 10 months ago
ERROR executing DML bindLog[] error[Data truncation: Out of range value for column 'resource_wasted' at row 1]
via Google Groups by Saulius, 4 months ago
ERROR executing DML bindLog[Binding Insert [tire] set[id=121, version=1, wheel=121, ]] error[ERROR: duplicate key value violates unique constraint "pk_tire"]
via Google Groups by Simon Godard, 5 months 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']
via Stack Overflow by Dimitris Skoufis
, 2 months ago
ERROR executing DML bindLog[] error[Duplicate entry '1-30' for key 'uq_acccess_requests_people_1']
via Stack Overflow by Archana Saseetharan
, 1 year ago
ERROR executing DML bindLog[] error[Column 'candidatecurrentjobdetail' cannot be null], took 2.239 sec
javax.persistence.PersistenceException: ERROR executing DML bindLog[] error[CONSTRAINT 'ck_n4user_state' failed for 'yona'.'n4user']
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:479)
at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executePreparedQuery(AbstractQueryProtocol.java:592)
at org.mariadb.jdbc.MariaDbServerPreparedStatement.executeInternal(MariaDbServerPreparedStatement.java:279)
at org.mariadb.jdbc.MariaDbServerPreparedStatement.execute(MariaDbServerPreparedStatement.java:369)
at org.mariadb.jdbc.MariaDbServerPreparedStatement.executeUpdate(MariaDbServerPreparedStatement.java:347)
at com.jolbox.bonecp.PreparedStatementHandle.executeUpdate(PreparedStatementHandle.java:205)
at com.avaje.ebeaninternal.server.type.DataBind.executeUpdate(DataBind.java:55)
at com.avaje.ebeaninternal.server.persist.dml.InsertHandler.execute(InsertHandler.java:134)
at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:86)
at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.insert(DmlBeanPersister.java:57)
at com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeInsertBean(DefaultPersistExecute.java:66)
at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(PersistRequestBean.java:448)
at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(PersistRequestBean.java:478)
at com.avaje.ebeaninternal.server.persist.DefaultPersister.insert(DefaultPersister.java:331)
at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveEnhanced(DefaultPersister.java:306)
at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveRecurse(DefaultPersister.java:276)
at com.avaje.ebeaninternal.server.persist.DefaultPersister.save(DefaultPersister.java:244)
at com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1801)
at com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1779)
at com.avaje.ebean.Ebean.save(Ebean.java:526)
at com.avaje.ebean.Ebean.save(Ebean.java:533)
at utils.YamlUtil.insertDataFromYaml(YamlUtil.java:45)
at undefined.Global.insertInitialData(Global.java:161)
at undefined.Global.onStart(Global.java:139)
at play.core.j.JavaGlobalSettingsAdapter.onStart(JavaGlobalSettingsAdapter.scala:22)
at play.api.GlobalPlugin.onStart(GlobalSettings.scala:220)
at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:91)
at play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:91)
at play.api.Play$$anonfun$start$1.apply(Play.scala:91)
at play.api.Play$$anonfun$start$1.apply(Play.scala:91)
at play.utils.Threads$.withContextClassLoader(Threads.scala:21)
at play.api.Play$.start(Play.scala:90)
at play.core.StaticApplication.(ApplicationProvider.scala:55)
at play.core.server.NettyServer$.createServer(NettyServer.scala:253)
at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:289)
at scala.Option.map(Option.scala:145)
at play.core.server.NettyServer$.main(NettyServer.scala:284)
at play.core.server.NettyServer.main(NettyServer.scala)

Users with the same issue

2 times, 9 months ago
Once, 6 months ago
2 times, 6 months ago
2 times, 6 months ago
4 times, 6 months ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.