Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PRIMARY KEY ON PUBLIC.MESSAGE_CACHE(MESSAGE_ID) ( /* key:... #329

Closed
sentry-io bot opened this issue Jul 26, 2022 · 0 comments · Fixed by #334
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 26, 2022

Sentry Issue: JAVA-BOT-Z

JdbcSQLIntegrityConstraintViolationException: Unique index or primary key violation: "PRIMARY KEY ON PUBLIC.MESSAGE_CACHE(MESSAGE_ID) ( /* key:1001390025344299078 */ 1001390025344299078, 235439851263098880, 'yeah, but chunk mesh generation is going to be a nightmare')"; SQL statement:
INSERT INTO message_cache (message_id, author_id, message_content) VALUES (?, ?, ?) [23505-212]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:508)
    at org.h2.engine.SessionRemote.readException(SessionRemote.java:637)
    at org.h2.engine.SessionRemote.done(SessionRemote.java:606)
    at org.h2.command.CommandRemote.executeUpdate(CommandRemote.java:227)
    at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:209)
...
(12 additional frame(s) were not displayed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant