DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [endpoint]; nested exception is org.hibernate....
Sentry Issue: QUEUE-5V
SQLIntegrityConstraintViolationException: Duplicate entry 'https://updates.push.services.mozilla.com/wpush/v1/gAAAAABeS_sF3' for key 'endpoint'
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1092)
...
(221 additional frame(s) were not displayed)
ConstraintViolationException: could not execute statement
at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:59)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200)
...
(215 additional frame(s) were not displayed)
DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [endpoint]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
at nl.tudelft.ewi.queue.controller.NotificationController.subscription(NotificationController.java:115)
...
(157 additional frame(s) were not displayed)
could not execute statement; SQL [n/a]; constraint [endpoint]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement