jetbrains.buildServer.serverSide.db.UnexpectedDBException: Error executing batch: Batch entry 0 insert into build_artifact_dependency (build_state_id, source_build_type_id, src_paths, revision_rule, branch, artif_dep_id) values (17815, 'bt21', 'lapis-download-url.sh', '17745.tcbuildid', NULL, 'ARTIFACT_DEPENDENCY_5') was aborted. Call getNextException to see the cause. ERROR: prepared statement "S_302" does not exist SQL query: insert into build_artifact_dependency (build_state_id, source_build_type_id, src_paths, revision_rule, branch, artif_dep_id) values (?, ?, ?, ?, ?, ?) SQL exception: Batch entry 0 insert into build_artifact_dependency (build_state_id, source_build_type_id, src_paths, revision_rule, branch, artif_dep_id) values (17815, 'bt21', 'lapis-download-url.sh', '17745.tcbuildid', NULL, 'ARTIFACT_DEPENDENCY_5') was aborted. Call getNextException to see the cause.

YouTrack | 3 months ago
  1. 0

    Error persisting queue

    YouTrack | 3 months ago
    jetbrains.buildServer.serverSide.db.UnexpectedDBException: Error executing batch: Batch entry 0 insert into build_artifact_dependency (build_state_id, source_build_type_id, src_paths, revision_rule, branch, artif_dep_id) values (17815, 'bt21', 'lapis-download-url.sh', '17745.tcbuildid', NULL, 'ARTIFACT_DEPENDENCY_5') was aborted. Call getNextException to see the cause. ERROR: prepared statement "S_302" does not exist SQL query: insert into build_artifact_dependency (build_state_id, source_build_type_id, src_paths, revision_rule, branch, artif_dep_id) values (?, ?, ?, ?, ?, ?) SQL exception: Batch entry 0 insert into build_artifact_dependency (build_state_id, source_build_type_id, src_paths, revision_rule, branch, artif_dep_id) values (17815, 'bt21', 'lapis-download-url.sh', '17745.tcbuildid', NULL, 'ARTIFACT_DEPENDENCY_5') was aborted. Call getNextException to see the cause.
  2. 0

    Exception when saving logs: feature/253_pgSQLSupport

    GitHub | 2 years ago | n0ha
    java.sql.BatchUpdateException: Batch entry 0 INSERT INTO logging (log_level, timestmp, logger, message, dpu, execution, stack_trace, relative_id) VALUES (20000, 1419000760106, 'cz.cuni.mff.xrg.odcs.backend.pipeline.event.PipelineInfo' ,'Starting execution number: 4 pipeline: ocr-test-2', NULL, 4, NULL, 1) was aborted. Call getNextException to see the cause.
  3. 0

    boolean value converting into integer by Hibernate with postgres

    Stack Overflow | 3 years ago | user3595144
    java.sql.BatchUpdateException: Batch entry 0 insert into prwss_main.t_ccdu_iec_progress (activity_date, block_id, expenditure, activity_id, is_complete, location_id, auth_by, auth _date, ent_by, ent_date, freeze_by, freeze_date, status, no_of_participants, notes, outcome, venue, village_id, iec_progress_id) values (2014-05-02 -07:00:00, D09B02, 0.01, ACT18, 0, DIV27, 0, NULL, 0, 2014-05-02 10:36:58.557000 -07:00:00, 0, NULL, U, 34, df, '', fvfg, 16983, 16802) was aborted. Call getNextException to see the cause.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using Hibernate, Spring Data, and Postgres sequence generation throws exception

    Stack Overflow | 5 years ago | Oggie
    java.sql.BatchUpdateException: Batch entry 0 insert into blah.config_type (config_type_description, config_type_name, insert_by, insert_time, update_by, update_time, config_type_id) values ('config type description', 'test', NULL, NULL, NULL, NULL, '71') was aborted. Call getNextException to see the cause.
  6. 0

    Internal server error on first page of study creation wizard

    GitHub | 2 years ago | mhmoed
    org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update

    10 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. java.sql.BatchUpdateException

      Batch entry 0 insert into build_artifact_dependency (build_state_id, source_build_type_id, src_paths, revision_rule, branch, artif_dep_id) values (17815, 'bt21', 'lapis-download-url.sh', '17745.tcbuildid', NULL, 'ARTIFACT_DEPENDENCY_5') was aborted. Call getNextException to see the cause.

      at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError()
    2. PostgreSQL JDBC Driver
      AbstractJdbc2Statement.executeBatch
      1. org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2778)
      2. org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1912)
      3. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:338)
      4. org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2959)
      4 frames
    3. Commons DBCP
      DelegatingStatement.executeBatch
      1. org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:331)
      2. org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:331)
      3. org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:331)
      4. org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:331)
      4 frames
    4. TeamCity Build Server
      GenericQuery.executeBatch
      1. jetbrains.buildServer.serverSide.db.queries.GenericQuery$6.run(GenericQuery.java:290)
      2. jetbrains.buildServer.serverSide.db.queries.GenericQuery$6.run(GenericQuery.java:287)
      3. jetbrains.buildServer.serverSide.db.DBInternalUtils.rawOperation(DBInternalUtils.java:72)
      4. jetbrains.buildServer.serverSide.db.queries.GenericQuery.executeBatchPortion(GenericQuery.java:287)
      5. jetbrains.buildServer.serverSide.db.queries.GenericQuery.access$300(GenericQuery.java:27)
      6. jetbrains.buildServer.serverSide.db.queries.GenericQuery$5.action(GenericQuery.java:247)
      7. jetbrains.buildServer.serverSide.db.queries.GenericQuery$5.action(GenericQuery.java:245)
      8. jetbrains.buildServer.serverSide.db.queries.GenericQuery.underPreparedStatement(GenericQuery.java:407)
      9. jetbrains.buildServer.serverSide.db.queries.GenericQuery.executeBatch(GenericQuery.java:245)
      9 frames
    5. jetbrains.buildServer.serverSide
      BuildPromotionImpl$26.run
      1. jetbrains.buildServer.serverSide.impl.BuildPromotionImpl$26.run(BuildPromotionImpl.java:4)
      1 frame
    6. TeamCity Build Server
      DBFacade.runAndRetry
      1. jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager$4.run(TeamCityDatabaseManager.java:908)
      2. jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager$4.run(TeamCityDatabaseManager.java:905)
      3. jetbrains.buildServer.serverSide.db.InternalDBUtil.runAndRetry(InternalDBUtil.java:25)
      4. jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.runAndRetry(TeamCityDatabaseManager.java:931)
      5. jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.runAndRetry(TeamCityDatabaseManager.java:905)
      6. jetbrains.buildServer.serverSide.db.DBFacade.runAndRetry(DBFacade.java:273)
      6 frames
    7. jetbrains.buildServer.serverSide
      QueuedBuildsSettingsFreezer.lambda$freezeSettings$0
      1. jetbrains.buildServer.serverSide.impl.BuildPromotionImpl.persistArtifactDependencies(BuildPromotionImpl.java:1242)
      2. jetbrains.buildServer.serverSide.impl.BuildPromotionImpl.persist(BuildPromotionImpl.java:839)
      3. jetbrains.buildServer.serverSide.impl.BuildPromotionImpl.persist(BuildPromotionImpl.java:1432)
      4. jetbrains.buildServer.serverSide.impl.BuildPromotionImpl.freezeInlinedSettings(BuildPromotionImpl.java:742)
      5. jetbrains.buildServer.serverSide.impl.BuildPromotionImpl.freezeSettings(BuildPromotionImpl.java:324)
      6. jetbrains.buildServer.serverSide.impl.BuildPromotionImpl.freezeSettings(BuildPromotionImpl.java:296)
      7. jetbrains.buildServer.serverSide.impl.versionedSettings.VersionedSettingsFreezerImpl.lambda$null$0(VersionedSettingsFreezerImpl.java:188)
      8. jetbrains.buildServer.serverSide.impl.versionedSettings.VersionedSettingsFreezerImpl.block(VersionedSettingsFreezerImpl.java:306)
      9. jetbrains.buildServer.serverSide.impl.versionedSettings.VersionedSettingsFreezerImpl.lambda$freezeSettings$1(VersionedSettingsFreezerImpl.java:119)
      10. jetbrains.buildServer.serverSide.impl.versionedSettings.VersionedSettingsFreezerImpl.block(VersionedSettingsFreezerImpl.java:306)
      11. jetbrains.buildServer.serverSide.impl.versionedSettings.VersionedSettingsFreezerImpl.freezeSettings(VersionedSettingsFreezerImpl.java:98)
      12. jetbrains.buildServer.serverSide.impl.QueuedBuildsSettingsFreezer.lambda$freezeSettings$0(QueuedBuildsSettingsFreezer.java:19)
      12 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames