com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException

Duplicate entry 'response-1368631840923-4516325796575306752' for key 1

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 web69

  • via Google Groups by Allan Randall, 6 months ago
    Duplicate entry 'response-1368631840923-4516325796575306752' for key 1
  • via dump3 by simonrage
    , 1 year ago
    Duplicate entry '21-1' for key 1
  • via JIRA by Jonas Olsson, 1 year ago
    Duplicate entry 'ishkur' for key 1
  • Stack trace

    • com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry 'response-1368631840923-4516325796575306752' for key 1 at hk.hku.cecid.piazza.commons.dao.ds.DataSourceProcess.start(DataSourceProcess.java:97) at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeUpdate(DataSourceDAO.java:588) at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeUpdate(DataSourceDAO.java:548) at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeUpdate(DataSourceDAO.java:528) at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.create(DataSourceDAO.java:626) at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.create(DataSourceDAO.java:610) at hk.hku.cecid.ebms.spa.task.InboxTask.execute(InboxTask.java:57) at hk.hku.cecid.piazza.commons.module.ActiveThread.run(ActiveThread.java:90) at java.lang.Thread.run(Unknown Source) Caused by: hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing update: INSERT INTO inbox (order_no, message_id) VALUES (?,?) by hk.hku.cecid.piazza.commons.dao.DAOException: Error occurred when executing update at row 0 of the specified parameter array by com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry 'response-1368631840923-4516325796575306752' for key 1 at hk.hku.cecid.piazza.commons.dao.ds.DataSourceUpdate.doTransaction(DataSourceUpdate.java:110) at hk.hku.cecid.piazza.commons.dao.ds.DataSourceProcess.start(DataSourceProcess.java:89) ... 8 more Caused by: hk.hku.cecid.piazza.commons.dao.DAOException: Error occurred when executing update at row 0 of the specified parameter array by com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry 'response-1368631840923-4516325796575306752' for key 1 at hk.hku.cecid.piazza.commons.dao.ds.DataSourceUpdate.doTransaction(DataSourceUpdate.java:96) ... 9 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

    You’re the first here who have seen this exception.