guestAT

Untitled

Jan 27th, 2021
1,775
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2021-01-28_02:22:00.923 [http-apr-8080-exec-5] INFO  c.s.c.service.frgu.FrguSyncService [000-000-000 53] - Synchronization started
  2. 2021-01-28_02:22:01.094 [IdleConnectionMonitorThread] DEBUG c.sc.cpgu.utils.http.HttpClientPool [] - [total kept alive: 0; total allocated: 1 of 200]
  3. 2021-01-28_02:22:01.122 [scheduler-6] INFO  c.s.c.s.m.SystemMonitoringService [] - Monitoring task completed
  4. 2021-01-28_02:22:03.742 [pool-8-thread-1] DEBUG c.s.c.s.department.DepartmentService [000-000-000 53] - Saving department DepartmentNodeDto[leaf=<null>,expanded=true,title=Правительство Республики Саха (Якутия),code=1400000010000000344,departmentId=<null>,children=[],address=677018, Саха /Якутия/ Респ., Якутск г., Кирова ул., 11,phone=,nick=Правительство Республики Саха (Якутия),fromPgu=false,pkPvdProcess=false,documentType=PNG,colorSchema=COLOR,dpi=300,ordersCount=<null>,id=<null>]
  5. 2021-01-28_02:22:03.911 [pool-8-thread-1] ERROR c.s.c.service.frgu.FrguSyncService [000-000-000 53] - Synchronization error
  6. org.springframework.dao.DataIntegrityViolationException: Batch entry 0 insert into cpgu_department (address, calendar, code, color_schema, data_string, department_id, document_type, dpi, nick, parent, phone, pk_pvd_process, title, id) values ('677018, Саха /Якутия/ Респ., Якутск г., Кирова ул., 11', '2', '1400000010000000344', 'COLOR', NULL, '1400000010000000344', 'PNG', '300', 'Правительство Республики Саха (Якутия)', NULL, '', '0', 'Правительство Республики Саха (Якутия)', '26969') was aborted.  Call getNextException to see the cause.; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Batch entry 0 insert into cpgu_department (address, calendar, code, color_schema, data_string, department_id, document_type, dpi, nick, parent, phone, pk_pvd_process, title, id) values ('677018, Саха /Якутия/ Респ., Якутск г., Кирова ул., 11', '2', '1400000010000000344', 'COLOR', NULL, '1400000010000000344', 'PNG', '300', 'Правительство Республики Саха (Якутия)', NULL, '', '0', 'Правительство Республики Саха (Якутия)', '26969') was aborted.  Call getNextException to see the cause.
  7.         at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:643) ~[spring-orm-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  8.         at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:104) ~[spring-orm-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  9.         at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:516) ~[spring-orm-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  10.         at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  11.         at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  12.         at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:394) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  13.         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  14.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  15.         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  16.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  17.         at org.springframework.data.jpa.repository.support.LockModeRepositoryPostProcessor$LockModePopulatingMethodIntercceptor.invoke(LockModeRepositoryPostProcessor.java:92) ~[spring-data-jpa-1.3.2.RELEASE.jar:na]
  18.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  19.         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  20.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  21.         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  22.         at com.sun.proxy.$Proxy184.save(Unknown Source) ~[na:na]
  23.         at com.sc.cpgu.service.department.DepartmentService.saveDepartmentInner(DepartmentService.java:613) ~[classes/:na]
  24.         at com.sc.cpgu.service.department.DepartmentService$$FastClassByCGLIB$$c02e6902.invoke(<generated>) ~[cglib-nodep-2.2.2.jar:na]
  25.         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[cglib-nodep-2.2.2.jar:na]
  26.         at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:618) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  27.         at com.sc.cpgu.service.department.DepartmentService$$EnhancerByCGLIB$$387fc68a.saveDepartmentInner(<generated>) ~[cglib-nodep-2.2.2.jar:na]
  28.         at com.sc.cpgu.service.frgu.FrguSyncService.createDepartment(FrguSyncService.java:144) ~[classes/:na]
  29.         at com.sc.cpgu.service.frgu.FrguSyncService.handleDepartmentInfo(FrguSyncService.java:119) ~[classes/:na]
  30.         at com.sc.cpgu.service.frgu.FrguSyncService.executeSynchronization(FrguSyncService.java:96) ~[classes/:na]
  31.         at com.sc.cpgu.service.frgu.FrguSyncService.run(FrguSyncService.java:71) ~[classes/:na]
  32.         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_262]
  33.         at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_262]
  34.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_262]
  35.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_262]
  36.         at java.lang.Thread.run(Thread.java:748) [na:1.8.0_262]
  37. Caused by: org.hibernate.exception.ConstraintViolationException: Batch entry 0 insert into cpgu_department (address, calendar, code, color_schema, data_string, department_id, document_type, dpi, nick, parent, phone, pk_pvd_process, title, id) values ('677018, Саха /Якутия/ Респ., Якутск г., Кирова ул., 11', '2', '1400000010000000344', 'COLOR', NULL, '1400000010000000344', 'PNG', '300', 'Правительство Республики Саха (Якутия)', NULL, '', '0', 'Правительство Республики Саха (Якутия)', '26969') was aborted.  Call getNextException to see the cause.
  38.         at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:128) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  39.         at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  40.         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  41.         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  42.         at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  43.         at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  44.         at com.sun.proxy.$Proxy83.executeBatch(Unknown Source) ~[na:na]
  45.         at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  46.         at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:101) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  47.         at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:161) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  48.         at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:162) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  49.         at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:357) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  50.         at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:275) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  51.         at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  52.         at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  53.         at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1214) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  54.         at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:403) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  55.         at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  56.         at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  57.         at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:75) ~[hibernate-entitymanager-4.1.6.Final.jar:4.1.6.Final]
  58.         at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:512) ~[spring-orm-3.1.2.RELEASE.jar:3.1.2.RELEASE]
  59.         ... 27 common frames omitted
  60. Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into cpgu_department (address, calendar, code, color_schema, data_string, department_id, document_type, dpi, nick, parent, phone, pk_pvd_process, title, id) values ('677018, Саха /Якутия/ Респ., Якутск г., Кирова ул., 11', '2', '1400000010000000344', 'COLOR', NULL, '1400000010000000344', 'PNG', '300', 'Правительство Республики Саха (Якутия)', NULL, '', '0', 'Правительство Республики Саха (Якутия)', '26969') was aborted.  Call getNextException to see the cause.
  61.         at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2621) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  62.         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1837) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  63.         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  64.         at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2754) ~[postgresql-9.1-901-1.jdbc4.jar:na]
  65.         at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source) ~[na:na]
  66.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_262]
  67.         at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_262]
  68.         at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122) ~[hibernate-core-4.1.6.Final.jar:4.1.6.Final]
  69.         ... 43 common frames omitted
RAW Paste Data