Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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]
- 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]
- #30]
- at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2604)
- at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3448)
- at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3311)
- at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3723)
- at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:201)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604)
- at org.hibernate.engine.spi.ActionQueue.lambda$executeActions$1(ActionQueue.java:478)
- at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:475)
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:348)
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:40)
- at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:102)
- at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1360)
- at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1347)
- at jdk.internal.reflect.GeneratedMethodAccessor521.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:366)
- at com.sun.proxy.$Proxy232.flush(Unknown Source)
- at jdk.internal.reflect.GeneratedMethodAccessor521.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:314)
- at com.sun.proxy.$Proxy232.flush(Unknown Source)
- at org.springframework.data.jpa.repository.support.SimpleJpaRepository.flush(SimpleJpaRepository.java:601)
- at org.springframework.data.jpa.repository.support.SimpleJpaRepository.saveAndFlush(SimpleJpaRepository.java:570)
- at jdk.internal.reflect.GeneratedMethodAccessor710.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:371)
- at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:204)
- at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:657)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
- at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:621)
- at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:605)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
- at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:80)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:367)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
- at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
- ... 162 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement