org.h2.jdbc.JdbcBatchUpdateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • gerrit add and remove ssh key error: internal server error
    via by dylan....@enalean.com,
  • Automate Admin user creation
    via by Charles Moulliard,
    • org.h2.jdbc.JdbcBatchUpdateException: Unique index or primary key violation: "CONSTRAINT_INDEX_B ON PUBLIC.PEX_RANK_LADDERS(NAME, SUBJECT) VALUES ('default', 4, 4)"; SQL statement: INSERT INTO pex_rank_ladders (`name`, `subject`) VALUES (?, ?) [23505-192] at org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedStatement.java:1208)[JdbcPreparedStatement.class:1.10.2-2052-5.0.0-BETA-1679] at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:128)[ProxyStatement.class:1.10.2-2052-5.0.0-BETA-1679] at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java)[HikariProxyPreparedStatement.class:1.10.2-2052-5.0.0-BETA-1679] at ninja.leaping.permissionsex.backend.sql.SqlDao.lambda$setRankLadder$8(SqlDao.java:769)[SqlDao.class:?] at ninja.leaping.permissionsex.backend.sql.SqlDao.executeInTransaction(SqlDao.java:224)[SqlDao.class:?] at ninja.leaping.permissionsex.backend.sql.SqlDao.setRankLadder(SqlDao.java:748)[SqlDao.class:?] at ninja.leaping.permissionsex.backend.sql.SqlDataStore.lambda$setRankLadderInternal$7(SqlDataStore.java:287)[SqlDataStore.class:?] at ninja.leaping.permissionsex.util.Util.lambda$asyncFailableFuture$1(Util.java:93)[Util.class:?] at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:138)[Task$Builder.class:1.10.2-2052-5.0.0-BETA-1679] at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:177)[SchedulerBase.class:1.10.2-2052-5.0.0-BETA-1679] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_101] at java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_101] at java.lang.Thread.run(Unknown Source)[?:1.8.0_101]

    Users with the same issue

    Unknown visitor1 times, last one,