Advertisement
fedorm

Untitled

Mar 12th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 14.88 KB | None | 0 0
  1. category-service_1  | 12.03 11:27:14.039 ERROR [SqlExceptionHelper:131] - Batch entry 0 insert into coupon_category (area_effect, create_date, description, end_date, name, start_date, type, update_date, id) values ('RECEIPT', '2019-03-12 11:27:14.034+03', 'Заполним только необходимые поля ', '2019-01-25 10:56:31.172+03', '222Заполним только необходимые поля 25819c8a-a977-48ef-9a5d-abba4ef2ab07', '2019-01-24 10:56:31.172+03', 'UNIQUE', NULL, 102) was aborted: ERROR: duplicate key value violates unique constraint "pk_coupon_category_key"
  2. category-service_1  |   Detail: Key (id)=(102) already exists.  Call getNextException to see other errors in the batch.
  3. category-service_1  | 12.03 11:27:14.040 WARN [SqlExceptionHelper:129] - SQL Error: 0, SQLState: 23505
  4. category-service_1  | 12.03 11:27:14.040 ERROR [SqlExceptionHelper:131] - ERROR: duplicate key value violates unique constraint "pk_coupon_category_key"
  5. category-service_1  |   Detail: Key (id)=(102) already exists.
  6. category-service_1  | 12.03 11:27:14.040 ERROR [ExceptionMapperStandardImpl:39] - HHH000346: Error during managed flush [org.hibernate.exception.ConstraintViolationException: could not execute batch]
  7. category-service_1  | 12.03 11:27:14.042 ERROR [DirectJDKLog:182] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: could not execute batch; SQL [insert into coupon_category (area_effect, create_date, description, end_date, name, start_date, type, update_date, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [pk_coupon_category_key]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute batch] with root cause
  8. category-service_1  | org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "pk_coupon_category_key"
  9. category-service_1  |   Detail: Key (id)=(102) already exists.
  10. category-service_1  |   at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
  11. category-service_1  |   at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178)
  12. category-service_1  |   at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:479)
  13. category-service_1  |   at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:835)
  14. category-service_1  |   at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1556)
  15. category-service_1  |   at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:128)
  16. category-service_1  |   at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java)
  17. category-service_1  |   at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:118)
  18. category-service_1  |   at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:104)
  19. category-service_1  |   at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:147)
  20. category-service_1  |   at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:212)
  21. category-service_1  |   at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:629)
  22. category-service_1  |   at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:474)
  23. category-service_1  |   at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
  24. category-service_1  |   at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
  25. category-service_1  |   at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1437)
  26. category-service_1  |   at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:494)
  27. category-service_1  |   at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3245)
  28. category-service_1  |   at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2451)
  29. category-service_1  |   at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473)
  30. category-service_1  |   at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:156)
  31. category-service_1  |   at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$100(JdbcResourceLocalTransactionCoordinatorImpl.java:38)
  32. category-service_1  |   at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:231)
  33. category-service_1  |   at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:68)
  34. category-service_1  |   at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:536)
  35. category-service_1  |   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:746)
  36. category-service_1  |   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:714)
  37. category-service_1  |   at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:532)
  38. category-service_1  |   at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:304)
  39. category-service_1  |   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
  40. category-service_1  |   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
  41. category-service_1  |   at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
  42. category-service_1  |   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
  43. category-service_1  |   at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:135)
  44. category-service_1  |   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
  45. category-service_1  |   at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
  46. category-service_1  |   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
  47. category-service_1  |   at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61)
  48. category-service_1  |   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
  49. category-service_1  |   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
  50. category-service_1  |   at com.sun.proxy.$Proxy147.save(Unknown Source)
  51. category-service_1  |   at ru.crystals.processing.coupons.category.service.CategoryService.createCategory(CategoryService.java:47)
  52. category-service_1  |   at ru.crystals.processing.coupons.category.controller.v1.CategoryController.create(CategoryController.java:32)
  53. category-service_1  |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  54. category-service_1  |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  55. category-service_1  |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  56. category-service_1  |   at java.lang.reflect.Method.invoke(Method.java:498)
  57. category-service_1  |   at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)
  58. category-service_1  |   at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
  59. category-service_1  |   at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
  60. category-service_1  |   at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877)
  61. category-service_1  |   at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783)
  62. category-service_1  |   at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  63. category-service_1  |   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
  64. category-service_1  |   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
  65. category-service_1  |   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
  66. category-service_1  |   at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877)
  67. category-service_1  |   at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
  68. category-service_1  |   at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
  69. category-service_1  |   at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
  70. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
  71. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  72. category-service_1  |   at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  73. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  74. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  75. category-service_1  |   at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:158)
  76. category-service_1  |   at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:126)
  77. category-service_1  |   at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:111)
  78. category-service_1  |   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  79. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  80. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  81. category-service_1  |   at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:84)
  82. category-service_1  |   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  83. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  84. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  85. category-service_1  |   at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
  86. category-service_1  |   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  87. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  88. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  89. category-service_1  |   at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
  90. category-service_1  |   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  91. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  92. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  93. category-service_1  |   at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
  94. category-service_1  |   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  95. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  96. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  97. category-service_1  |   at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
  98. category-service_1  |   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  99. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  100. category-service_1  |   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  101. category-service_1  |   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
  102. category-service_1  |   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
  103. category-service_1  |   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
  104. category-service_1  |   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
  105. category-service_1  |   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
  106. category-service_1  |   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
  107. category-service_1  |   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
  108. category-service_1  |   at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
  109. category-service_1  |   at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
  110. category-service_1  |   at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
  111. category-service_1  |   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1468)
  112. category-service_1  |   at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  113. category-service_1  |   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  114. category-service_1  |   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  115. category-service_1  |   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  116. category-service_1  |   at java.lang.Thread.run(Thread.java:748)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement