Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-87983

StaleObjectStateException when executing LayoutSetPrototypeUADAnonymizerTest

    Details

      Description

      [exec] com.liferay.layout.uad.anonymizer.test.LayoutSetPrototypeUADAnonymizerTest > testAutoAnonymize STARTED
           [exec] 
           [exec] com.liferay.layout.uad.anonymizer.test.LayoutSetPrototypeUADAnonymizerTest > testAutoAnonymize FAILED
           [exec]     com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"active":true,"companyId":"20100","createDate":1543300910087,"description":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Description language-id=\"en_US\">wAJ8MckB<\/Description><\/root>","descriptionCurrentValue":"wAJ8MckB","layoutSetPrototypeId":"50142","modifiedDate":1543300910093,"mvccVersion":"1","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">kSxfOhVO<\/Name><\/root>","nameCurrentValue":"kSxfOhVO","settings":"layoutsUpdateable=true\n","userId":"50121","userName":"FacbtcCt nrUXDXbv","uuid":"e21f8dcb-eae0-6289-1c80-e7651448abb2"} is stale in comparison to {"active":true,"companyId":"20100","createDate":1543300910087,"description":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Description language-id=\"en_US\">wAJ8MckB<\/Description><\/root>","descriptionCurrentValue":"wAJ8MckB","layoutSetPrototypeId":"50142","modifiedDate":1543300910107,"mvccVersion":"3","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">kSxfOhVO<\/Name><\/root>","nameCurrentValue":"kSxfOhVO","settings":"layoutsUpdateable=true\n","userId":"50132","userName":"ayzrMnwD 7IMS8EfN","uuid":"e21f8dcb-eae0-6289-1c80-e7651448abb2"}
           [exec]         at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:270)
           [exec]         at com.liferay.portal.service.persistence.impl.LayoutSetPrototypePersistenceImpl.updateImpl(LayoutSetPrototypePersistenceImpl.java:4137)
           [exec]         at com.liferay.portal.service.persistence.impl.LayoutSetPrototypePersistenceImpl.updateImpl(LayoutSetPrototypePersistenceImpl.java:75)
           [exec]         at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:357)
           [exec]         at com.liferay.portal.service.base.LayoutSetPrototypeLocalServiceBaseImpl.updateLayoutSetPrototype(LayoutSetPrototypeLocalServiceBaseImpl.java:411)
           [exec]         at sun.reflect.GeneratedMethodAccessor1123.invoke(Unknown Source)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
           [exec]         at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:203)
           [exec]         at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:94)
           [exec]         at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:113)
           [exec]         at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:130)
           [exec]         at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:55)
           [exec]         at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:130)
           [exec]         at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:125)
           [exec]         at com.sun.proxy.$Proxy174.updateLayoutSetPrototype(Unknown Source)
           [exec]         at com.liferay.layout.uad.anonymizer.BaseLayoutSetPrototypeUADAnonymizer.autoAnonymize(BaseLayoutSetPrototypeUADAnonymizer.java:51)
           [exec]         at com.liferay.layout.uad.anonymizer.BaseLayoutSetPrototypeUADAnonymizer.autoAnonymize(BaseLayoutSetPrototypeUADAnonymizer.java:41)
           [exec]         at com.liferay.user.associated.data.test.util.BaseUADAnonymizerTestCase.testAutoAnonymize(BaseUADAnonymizerTestCase.java:167)
           [exec]         at com.liferay.user.associated.data.test.util.BaseUADAnonymizerTestCase.testAutoAnonymize(BaseUADAnonymizerTestCase.java:49)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
           [exec]         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
           [exec]         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
           [exec]         at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:370)
           [exec]         at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
           [exec]         at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
           [exec]         at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
           [exec]         at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
           [exec]         at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
           [exec]         at com.liferay.arquillian.container.osgi.remote.bundleclasspath.BundleClassPathObserver.suiteEvent(BundleClassPathObserver.java:39)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.observer.JUnitBridgeObserver$1.evaluate(JUnitBridgeObserver.java:61)
           [exec]         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
           [exec]         at com.liferay.portal.test.rule.LiferayIntegrationTestRule$1$1.evaluate(LiferayIntegrationTestRule.java:154)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$1.evaluate(BaseTestRule.java:61)
           [exec]         at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$3.evaluate(BaseTestRule.java:110)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$3.evaluate(BaseTestRule.java:110)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$3.evaluate(BaseTestRule.java:110)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$3.evaluate(BaseTestRule.java:110)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$3.evaluate(BaseTestRule.java:110)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$3.evaluate(BaseTestRule.java:110)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$3.evaluate(BaseTestRule.java:110)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$3.evaluate(BaseTestRule.java:110)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$3.evaluate(BaseTestRule.java:110)
           [exec]         at com.liferay.portal.test.rule.LiferayIntegrationTestRule$1$1.evaluate(LiferayIntegrationTestRule.java:154)
           [exec]         at com.liferay.portal.kernel.test.rule.BaseTestRule$3.evaluate(BaseTestRule.java:110)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.observer.JUnitBridgeObserver.evaluateWithClassRule(JUnitBridgeObserver.java:153)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.observer.JUnitBridgeObserver.aroundTest(JUnitBridgeObserver.java:118)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
           [exec]         at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
           [exec]         at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
           [exec]         at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
           [exec]         at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
           [exec]         at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136)
           [exec]         at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:363)
           [exec]         at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:315)
           [exec]         at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
           [exec]         at com.liferay.arquillian.container.osgi.remote.bundleclasspath.BundleClassPathObserver.suiteEvent(BundleClassPathObserver.java:39)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
           [exec]         at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
           [exec]         at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
           [exec]         at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
           [exec]         at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
           [exec]         at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
           [exec]         at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
           [exec]         at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159)
           [exec]         at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:311)
           [exec]         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
           [exec]         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
           [exec]         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
           [exec]         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
           [exec]         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
           [exec]         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
           [exec]         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
           [exec]         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
           [exec]         at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:204)
           [exec]         at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
           [exec]         at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
           [exec]         at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:218)
           [exec]         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
           [exec]         at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:166)
           [exec]         at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
           [exec]         at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
           [exec]         at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66)
           [exec]         at org.jboss.arquillian.protocol.jmx.JMXTestRunner.doRunTestMethod(JMXTestRunner.java:180)
           [exec]         at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:162)
           [exec]         at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:120)
           [exec]         at com.liferay.arquillian.container.osgi.remote.activator.ArquillianBundleActivator$2.runTestMethod(ArquillianBundleActivator.java:80)
           [exec]         at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:137)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
           [exec]         at sun.reflect.GeneratedMethodAccessor1269.invoke(Unknown Source)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
           [exec]         at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
           [exec]         at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
           [exec]         at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
           [exec]         at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
           [exec]         at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
           [exec]         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
           [exec]         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
           [exec]         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
           [exec]         at sun.reflect.GeneratedMethodAccessor1268.invoke(Unknown Source)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
           [exec]         at sun.rmi.transport.Transport$1.run(Transport.java:200)
           [exec]         at sun.rmi.transport.Transport$1.run(Transport.java:197)
           [exec]         at java.security.AccessController.doPrivileged(Native Method)
           [exec]         at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
           [exec]         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
           [exec]         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
           [exec]         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
           [exec]         at java.security.AccessController.doPrivileged(Native Method)
           [exec]         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
           [exec]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec]         at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec]         Caused by:
           [exec]         com.liferay.portal.kernel.dao.orm.ORMException: {"active":true,"companyId":"20100","createDate":1543300910087,"description":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Description language-id=\"en_US\">wAJ8MckB<\/Description><\/root>","descriptionCurrentValue":"wAJ8MckB","layoutSetPrototypeId":"50142","modifiedDate":1543300910093,"mvccVersion":"1","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">kSxfOhVO<\/Name><\/root>","nameCurrentValue":"kSxfOhVO","settings":"layoutsUpdateable=true\n","userId":"50121","userName":"FacbtcCt nrUXDXbv","uuid":"e21f8dcb-eae0-6289-1c80-e7651448abb2"} is stale in comparison to {"active":true,"companyId":"20100","createDate":1543300910087,"description":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Description language-id=\"en_US\">wAJ8MckB<\/Description><\/root>","descriptionCurrentValue":"wAJ8MckB","layoutSetPrototypeId":"50142","modifiedDate":1543300910107,"mvccVersion":"3","name":"<?xml version='1.0' encoding='UTF-8'?><root available-locales=\"en_US\" default-locale=\"en_US\"><Name language-id=\"en_US\">kSxfOhVO<\/Name><\/root>","nameCurrentValue":"kSxfOhVO","settings":"layoutsUpdateable=true\n","userId":"50132","userName":"ayzrMnwD 7IMS8EfN","uuid":"e21f8dcb-eae0-6289-1c80-e7651448abb2"}
           [exec]             at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:67)
           [exec]             at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:226)
           [exec]             at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:394)
           [exec]             at com.liferay.portal.service.persistence.impl.LayoutSetPrototypePersistenceImpl.updateImpl(LayoutSetPrototypePersistenceImpl.java:4133)
           [exec]             ... 212 more
           [exec] 
           [exec]             Caused by:
           [exec]             org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.liferay.portal.model.impl.LayoutSetPrototypeImpl#50142]
           [exec]                 at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:485)
           [exec]                 at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:255)
           [exec]                 at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:84)
           [exec]                 at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:867)
           [exec]                 at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:851)
           [exec]                 at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:855)
           [exec]                 at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:223)
           [exec]                 ... 214 more
           [exec] 
      

      See https://test-1-21.liferay.com/job/test-portal-acceptance-upstream-batch(master)/26692/AXIS_VARIABLE=13,label_exp=!master/consoleFull

        Attachments

          Activity

            People

            • Assignee:
              jason.pince Jason Pince
              Reporter:
              pei-jung.lan Pei-Jung Lan
              Participants of an Issue:
              Recent user:
              Jason Pince
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year ago

                Packages

                Version Package
                7.1.X
                Master