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]

GitHub | 5igm | 3 months ago
  1. 0

    [sponge] Error feedback when using "/pex rank default add group default"

    GitHub | 3 months ago | 5igm
    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]
  2. 0

    eclipselink manytoone not save

    Stack Overflow | 3 months ago | Mançaux Pierre-Alexandre
    org.h2.jdbc.JdbcBatchUpdateException: NULL not allowed for column "ID_GARE"; SQL statement: INSERT INTO TBL_ASSOC_LANGUE_CODE_BE_GARE (CODE_BE, ID_GARE, ID_LANGUE) VALUES (?, ?, ?) [23502-192]
  3. 0

    gerrit add and remove ssh key error: internal server error

    Google Groups | 4 years ago | dylan....@enalean.com
    org.h2.jdbc.JdbcBatchUpdateException: Unique index or primary key violation: "PRIMARY_KEY_E ON PUBLIC.ACCOUNT_SSH_KEYS(ACCOUNT_ID, SEQ)"; SQL statement: <br>INSERT INTO account_ssh_keys(ssh_public_key,valid,account_id,seq)VALUES(?,?,?,?) [23001-147]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error in test when updating @ManyToMany relation

    Stack Overflow | 3 years ago | user2724522
    org.h2.jdbc.JdbcBatchUpdateException: NULL not allowed for column "CUSTOMER_ID"; SQL statement**: insert into storage (custumer_id, dvd_id) values (?, ?) [23502-156]
  6. 0

    Trying to run sonar local analysis in eclipse indigo causes "Fail to copy table rules"-Error on Sonarqube 3.7-Server

    Stack Overflow | 3 years ago | Didier Gutacker
    org.h2.jdbc.JdbcBatchUpdateException: Unique index or primary key violation: "RULES_PLUGIN_KEY_AND_NAME ON PUBLIC.RULES(PLUGIN_RULE_KEY, PLUGIN_NAME)"; SQL statement: INSERT INTO rules(ID,PLUGIN_RULE_KEY,PLUGIN_NAME,DESCRIPTION,PRIORITY,CARDINALITY,PARENT_ID,PLUGIN_CONFIG_KEY,NAME,STATUS,LANGUAGE,CREATED_AT,UPDATED_AT) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?) [23505-172]

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. H2 Database Engine
      JdbcPreparedStatement.executeBatch
      1. org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedStatement.java:1208)[JdbcPreparedStatement.class:1.10.2-2052-5.0.0-BETA-1679]
      1 frame
    3. HikariCP-java6
      HikariProxyPreparedStatement.executeBatch
      1. com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:128)[ProxyStatement.class:1.10.2-2052-5.0.0-BETA-1679]
      2. com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java)[HikariProxyPreparedStatement.class:1.10.2-2052-5.0.0-BETA-1679]
      2 frames
    4. ninja.leaping.permissionsex
      Util.lambda$asyncFailableFuture$1
      1. ninja.leaping.permissionsex.backend.sql.SqlDao.lambda$setRankLadder$8(SqlDao.java:769)[SqlDao.class:?]
      2. ninja.leaping.permissionsex.backend.sql.SqlDao.executeInTransaction(SqlDao.java:224)[SqlDao.class:?]
      3. ninja.leaping.permissionsex.backend.sql.SqlDao.setRankLadder(SqlDao.java:748)[SqlDao.class:?]
      4. ninja.leaping.permissionsex.backend.sql.SqlDataStore.lambda$setRankLadderInternal$7(SqlDataStore.java:287)[SqlDataStore.class:?]
      5. ninja.leaping.permissionsex.util.Util.lambda$asyncFailableFuture$1(Util.java:93)[Util.class:?]
      5 frames
    5. org.spongepowered.api
      Task$Builder.lambda$execute$0
      1. org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:138)[Task$Builder.class:1.10.2-2052-5.0.0-BETA-1679]
      1 frame
    6. org.spongepowered.common
      SchedulerBase.lambda$startTask$0
      1. org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:177)[SchedulerBase.class:1.10.2-2052-5.0.0-BETA-1679]
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[?:1.8.0_101]
      2. java.util.concurrent.FutureTask.run(Unknown Source)[?:1.8.0_101]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_101]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_101]
      5. java.lang.Thread.run(Unknown Source)[?:1.8.0_101]
      5 frames