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

Bug #21

Open
brokiem opened this issue Aug 25, 2020 · 3 comments
Open

Bug #21

brokiem opened this issue Aug 25, 2020 · 3 comments

Comments

@brokiem
Copy link

brokiem commented Aug 25, 2020

[ERROR] Throwing
org.sql2o.Sql2oException: Error in executeUpdate, [SQLITE_CONSTRAINT] Abort due to constraint violation (UNIQUE constraint failed: island.islandUniqueId)
at org.sql2o.Query.executeUpdate(Query.java:659) ~[?:?]
at com.larryTheCoder.database.Database.lambda$processBulkUpdate$10(Database.java:285) ~[?:?]
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) [?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) [?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) [?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) [?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) [?:?]
Caused by: org.sqlite.SQLiteException: [SQLITE_CONSTRAINT] Abort due to constraint violation (UNIQUE constraint failed: island.islandUniqueId)
at org.sqlite.core.DB.newSQLException(DB.java:941) ~[?:?]
at org.sqlite.core.DB.newSQLException(DB.java:953) ~[?:?]
at org.sqlite.core.DB.execute(DB.java:854) ~[?:?]
at org.sqlite.core.DB.executeUpdate(DB.java:895) ~[?:?]
at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:102) ~[?:?]
at org.sql2o.Query.executeUpdate(Query.java:653) ~[?:?]
... 7 more

@larryTheCoder
Copy link
Owner

Hmm, I am not sure what this issue does, maybe reset your database

@RealTriassic
Copy link

I have had this before and resetting helped, i am moving to mysql soon as sqlite seems to go bye bye alot.

@yaibait
Copy link

yaibait commented Jul 5, 2021

I got same bug on my server running windows os

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

No branches or pull requests

4 participants