Advertisement
DOS93

Untitled

Apr 21st, 2021
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2021-04-21 15:51:40.684 ERROR 1 [5babbff1-60aa-4966-b01f-09d073dbdc13] --- [nio-8080-exec-6] r.l.rbs.core.errors.ExceptionProcessor   : Object of class [ru.lanit.rbs.taskmanager.impl.distribution.rules.model.TaskDistributionRuleEntity] with identifier [30]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [ru.lanit.rbs.taskmanager.impl.distribution.rules.model.TaskDistributionRuleEntity#30]
  2.  
  3. org.springframework.orm.ObjectOptimisticLockingFailureException: Object of class [ru.lanit.rbs.taskmanager.impl.distribution.rules.model.TaskDistributionRuleEntity] with identifier [30]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [ru.lanit.rbs.taskmanager.impl.distribution.rules.model.TaskDistributionRuleEntity#30]
  4. #30]
  5.     at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2604)
  6.     at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3448)
  7.     at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3311)
  8.     at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3723)
  9.     at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:201)
  10.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604)
  11.     at org.hibernate.engine.spi.ActionQueue.lambda$executeActions$1(ActionQueue.java:478)
  12.     at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
  13.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:475)
  14.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:348)
  15.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:40)
  16.     at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:102)
  17.     at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1360)
  18.     at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1347)
  19.     at jdk.internal.reflect.GeneratedMethodAccessor521.invoke(Unknown Source)
  20.     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  21.     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  22.     at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:366)
  23.     at com.sun.proxy.$Proxy232.flush(Unknown Source)
  24.     at jdk.internal.reflect.GeneratedMethodAccessor521.invoke(Unknown Source)
  25.     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  26.     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  27.     at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:314)
  28.     at com.sun.proxy.$Proxy232.flush(Unknown Source)
  29.     at org.springframework.data.jpa.repository.support.SimpleJpaRepository.flush(SimpleJpaRepository.java:601)
  30.     at org.springframework.data.jpa.repository.support.SimpleJpaRepository.saveAndFlush(SimpleJpaRepository.java:570)
  31.     at jdk.internal.reflect.GeneratedMethodAccessor710.invoke(Unknown Source)
  32.     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  33.     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  34.     at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:371)
  35.     at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:204)
  36.     at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:657)
  37.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
  38.     at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:621)
  39.     at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:605)
  40.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
  41.     at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:80)
  42.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
  43.     at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:367)
  44.     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)
  45.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
  46.     at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
  47.     ... 162 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement