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.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via YouTrack by Unknown author, 1 year ago
) 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.
via YouTrack by Unknown author, 1 year ago
Error executing batch: Duplicate entry '542530-2728-.teamcity.star' for key 'PRIMARY' SQL query: insert into build_state_private_tag (build_state_id, owner, tag) values (?, ?, ?) SQL exception: Duplicate entry '542530-2728-.teamcity.star' for key 'PRIMARY'
via YouTrack by Unknown author, 1 year ago
Error executing batch: data exception: string data, right truncation SQL query: insert into final_artifact_dependency (build_state_id, source_build_type_id, src_paths, revision_rule, branch) values (?, ?, ?, ?, ?) SQL exception: data exception: string data, right truncation
via YouTrack by Unknown author, 1 year ago
Error executing batch: Duplicate entry '204372-bt57' for key 'build_type_vcs_change_ui' SQL query: insert into build_type_vcs_change (modification_id, build_type_id, branch_id) values (?, ?, ?) SQL exception: Duplicate entry '204372-bt57' for key 'build_type_vcs_change_ui'
via YouTrack by Unknown author, 1 year ago
Error executing batch: Duplicate entry '47074-bt747' for key 'build_type_vcs_change_ui' SQL query: insert into build_type_vcs_change (modification_id, build_type_id, branch_id) values (?, ?, ?) SQL exception: Duplicate entry '47074-bt747' for key 'build_type_vcs_change_ui'
via YouTrack by Unknown author, 1 year ago
Error executing batch: ORA-12899: value too large for column "TEAMCITY"."VCS_CHANGES"."CHANGE_NAME" (actual: 81, maximum: 64) ORA-12899: value too large for column "TEAMCITY"."VCS_CHANGES"."CHANGE_NAME" (actual: 81, maximum: 64) SQL query: insert
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.
at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2778)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1912)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:338)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2959)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:331)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:331)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:331)
at jetbrains.buildServer.serverSide.db.queries.GenericQuery$6.run(GenericQuery.java:290)
at jetbrains.buildServer.serverSide.db.queries.GenericQuery$6.run(GenericQuery.java:287)
at jetbrains.buildServer.serverSide.db.DBInternalUtils.rawOperation(DBInternalUtils.java:72)
at jetbrains.buildServer.serverSide.db.queries.GenericQuery.executeBatchPortion(GenericQuery.java:287)
at jetbrains.buildServer.serverSide.db.queries.GenericQuery.access$300(GenericQuery.java:27)
at jetbrains.buildServer.serverSide.db.queries.GenericQuery$5.action(GenericQuery.java:247)
at jetbrains.buildServer.serverSide.db.queries.GenericQuery$5.action(GenericQuery.java:245)
at jetbrains.buildServer.serverSide.db.queries.GenericQuery.underPreparedStatement(GenericQuery.java:407)
at jetbrains.buildServer.serverSide.impl.BuildPromotionImpl$26.run(BuildPromotionImpl.java:4)
at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager$4.run(TeamCityDatabaseManager.java:908)
at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager$4.run(TeamCityDatabaseManager.java:905)
at jetbrains.buildServer.serverSide.db.InternalDBUtil.runAndRetry(InternalDBUtil.java:25)
at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.runAndRetry(TeamCityDatabaseManager.java:931)
at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.runAndRetry(TeamCityDatabaseManager.java:905)
at jetbrains.buildServer.serverSide.impl.BuildPromotionImpl.persistArtifactDependencies(BuildPromotionImpl.java:1242)
at jetbrains.buildServer.serverSide.impl.BuildPromotionImpl.persist(BuildPromotionImpl.java:839)
at jetbrains.buildServer.serverSide.impl.BuildPromotionImpl.persist(BuildPromotionImpl.java:1432)
at jetbrains.buildServer.serverSide.impl.BuildQueueImpl$16.run(BuildQueueImpl.java:20)
at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl$2.run(SecurityContextImpl.java:1)
at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:3)
at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:27)
at jetbrains.buildServer.serverSide.impl.BuildQueueImpl.lambda$persistQueue$0(BuildQueueImpl.java:387)
at jetbrains.buildServer.serverSide.impl.BuildQueueImpl.persistQueue(BuildQueueImpl.java:356)
at jetbrains.buildServer.serverSide.impl.BuildQueueImpl.access$1400(BuildQueueImpl.java:39)
at jetbrains.buildServer.serverSide.impl.BuildQueueImpl$4$1.run(BuildQueueImpl.java:3)
at jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupState.runUnderLock(ServerCleanupState.java:52)
at jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupState.runReadAction(ServerCleanupState.java:19)
at jetbrains.buildServer.serverSide.impl.cleanup.ServerCleanupManagerImpl.executeWithInactiveCleanup(ServerCleanupManagerImpl.java:232)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at jetbrains.buildServer.serverSide.impl.BuildQueueImpl$4.run(BuildQueueImpl.java:4)
at jetbrains.buildServer.serverSide.impl.BuildQueueImpl$7.run(BuildQueueImpl.java:3)
at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl$2.run(SecurityContextImpl.java:1)
at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:3)
at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:27)
at jetbrains.buildServer.serverSide.impl.BuildQueueImpl.runAsSystem(BuildQueueImpl.java:279)
at jetbrains.buildServer.serverSide.impl.BuildQueueImpl.addToQueue(BuildQueueImpl.java:498)
at jetbrains.buildServer.serverSide.impl.BuildQueueImpl.processTasks(BuildQueueImpl.java:492)
at jetbrains.buildServer.controllers.actions.AddToQueueProcessor.processRequest(AddToQueueProcessor.java:93)
at jetbrains.buildServer.controllers.RunCustomBuildController.doPost(RunCustomBuildController.java:71)
at jetbrains.buildServer.controllers.BaseFormXmlController$1.handleRequest(BaseFormXmlController.java:53)
at jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(AjaxRequestProcessor.java:45)
at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:51)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at jetbrains.buildServer.diagnostic.web.DiagnosticFilter.doFilter(DiagnosticFilter.java:44)
at jetbrains.buildServer.web.DependencyParametersCalculationContextFilter.doFilter(DependencyParametersCalculationContextFilter.java:2)
at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1757)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
6 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.