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

AssertionFailedError in release-osgi-state-exploded-test-jdk8 and release-osgi-state-lpkg-test-jdk8

    Details

      Description

      release-osgi-state-exploded-test-jdk8

      junit.framework.AssertionFailedError: Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20096, groupId=0, backgroundTaskId=39301}} com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"backgroundTaskId":"39301","companyId":"0","completed":false,"completionDate":null,"createDate":1566266644186,"groupId":"0","modifiedDate":1566266644473,"mvccVersion":"8","name":"reindexOnActivate#com.liferay.trash.model.TrashEntry","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.trash.model.TrashEntry","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":"20096","clusterInvoke":true,"groupId":"0","principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} is stale in comparison to {"backgroundTaskId":"39301","companyId":"0","completed":false,"completionDate":null,"createDate":1566266644186,"groupId":"0","modifiedDate":1566266644472,"mvccVersion":"9","name":"reindexOnActivate#com.liferay.trash.model.TrashEntry","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.trash.model.TrashEntry","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":20096,"clusterInvoke":true,"groupId":0,"principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32) at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664) at java.lang.Thread.run(Thread.java:745) Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"backgroundTaskId":"39301","companyId":"0","completed":false,"completionDate":null,"createDate":1566266644186,"groupId":"0","modifiedDate":1566266644473,"mvccVersion":"8","name":"reindexOnActivate#com.liferay.trash.model.TrashEntry","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.trash.model.TrashEntry","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":"20096","clusterInvoke":true,"groupId":"0","principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} is stale in comparison to {"backgroundTaskId":"39301","companyId":"0","completed":false,"completionDate":null,"createDate":1566266644186,"groupId":"0","modifiedDate":1566266644472,"mvccVersion":"9","name":"reindexOnActivate#com.liferay.trash.model.TrashEntry","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.trash.model.TrashEntry","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":20096,"clusterInvoke":true,"groupId":0,"principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:446) at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:9289) at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:73) at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:544) at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:206) at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:170) at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) at com.liferay.portal.spring.transaction.TransactionInterceptor.lambda$invoke$0(TransactionInterceptor.java:64) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:128) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:51) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:62) at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60) at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) at com.sun.proxy.$Proxy852.amendBackgroundTask(Unknown Source) at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:124) at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:82) at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26) Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {"backgroundTaskId":"39301","companyId":"0","completed":false,"completionDate":null,"createDate":1566266644186,"groupId":"0","modifiedDate":1566266644473,"mvccVersion":"8","name":"reindexOnActivate#com.liferay.trash.model.TrashEntry","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.trash.model.TrashEntry","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":"20096","clusterInvoke":true,"groupId":"0","principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} is stale in comparison to {"backgroundTaskId":"39301","companyId":"0","completed":false,"completionDate":null,"createDate":1566266644186,"groupId":"0","modifiedDate":1566266644472,"mvccVersion":"9","name":"reindexOnActivate#com.liferay.trash.model.TrashEntry","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.trash.model.TrashEntry","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":20096,"clusterInvoke":true,"groupId":0,"principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:67) at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:244) at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:9285) Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.liferay.portal.background.task.model.impl.BackgroundTaskImpl#39301] at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:485) at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:255) at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:84) at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:867) at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:851) at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:855) at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:241) at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:172) at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98) at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88) at java.nio.file.Files.walkFileTree(Files.java:2670) at java.nio.file.Files.walkFileTree(Files.java:2742) at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:86)
      

      release-osgi-state-lpkg-test-jdk8

      junit.framework.AssertionFailedError: Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20096, groupId=0, backgroundTaskId=40559}} com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"backgroundTaskId":"40559","companyId":"0","completed":false,"completionDate":null,"createDate":1566265515855,"groupId":"0","modifiedDate":1566265515967,"mvccVersion":"2","name":"reindexOnActivate#com.liferay.dynamic.data.mapping.model.DDMTemplate","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.dynamic.data.mapping.model.DDMTemplate","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":"20096","clusterInvoke":true,"groupId":"0","principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} is stale in comparison to {"backgroundTaskId":"40559","companyId":"0","completed":false,"completionDate":null,"createDate":1566265515855,"groupId":"0","modifiedDate":1566265515951,"mvccVersion":"3","name":"reindexOnActivate#com.liferay.dynamic.data.mapping.model.DDMTemplate","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.dynamic.data.mapping.model.DDMTemplate","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":20096,"clusterInvoke":true,"groupId":0,"principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32) at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664) at java.lang.Thread.run(Thread.java:745) Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"backgroundTaskId":"40559","companyId":"0","completed":false,"completionDate":null,"createDate":1566265515855,"groupId":"0","modifiedDate":1566265515967,"mvccVersion":"2","name":"reindexOnActivate#com.liferay.dynamic.data.mapping.model.DDMTemplate","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.dynamic.data.mapping.model.DDMTemplate","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":"20096","clusterInvoke":true,"groupId":"0","principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} is stale in comparison to {"backgroundTaskId":"40559","companyId":"0","completed":false,"completionDate":null,"createDate":1566265515855,"groupId":"0","modifiedDate":1566265515951,"mvccVersion":"3","name":"reindexOnActivate#com.liferay.dynamic.data.mapping.model.DDMTemplate","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.dynamic.data.mapping.model.DDMTemplate","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":20096,"clusterInvoke":true,"groupId":0,"principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:446) at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:9289) at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:73) at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:544) at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:206) at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:170) at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) at com.liferay.portal.spring.transaction.TransactionInterceptor.lambda$invoke$0(TransactionInterceptor.java:64) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:128) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:51) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:62) at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60) at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) at com.sun.proxy.$Proxy744.amendBackgroundTask(Unknown Source) at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:124) at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:82) at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26) Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {"backgroundTaskId":"40559","companyId":"0","completed":false,"completionDate":null,"createDate":1566265515855,"groupId":"0","modifiedDate":1566265515967,"mvccVersion":"2","name":"reindexOnActivate#com.liferay.dynamic.data.mapping.model.DDMTemplate","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.dynamic.data.mapping.model.DDMTemplate","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":"20096","clusterInvoke":true,"groupId":"0","principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} is stale in comparison to {"backgroundTaskId":"40559","companyId":"0","completed":false,"completionDate":null,"createDate":1566265515855,"groupId":"0","modifiedDate":1566265515951,"mvccVersion":"3","name":"reindexOnActivate#com.liferay.dynamic.data.mapping.model.DDMTemplate","servletContextNames":"","status":1,"statusMessage":"","taskContextMap":{"deleteOnSuccess":true,"className":"com.liferay.dynamic.data.mapping.model.DDMTemplate","threadLocalValues":{"defaultLocale":{"ISO3Country":"USA","ISO3Language":"eng","country":"US","displayCountry":"United States","displayLanguage":"English","displayName":"English (United States)","displayScript":"","displayVariant":"","language":"en","script":"","variant":""},"companyId":20096,"clusterInvoke":true,"groupId":0,"principalName":null,"siteDefaultLocale":null,"themeDisplayLocale":null}},"taskExecutorClassName":"com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor","userId":"0","userName":""} at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:67) at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:244) at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:9285) Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.liferay.portal.background.task.model.impl.BackgroundTaskImpl#40559] at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:485) at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:255) at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:84) at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:867) at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:851) at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:855) at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:241) at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:172) at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98) at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88) at java.nio.file.Files.walkFileTree(Files.java:2670) at java.nio.file.Files.walkFileTree(Files.java:2742) at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:86)
      

        Attachments

          Activity

            People

            • Assignee:
              joshua.itagaki Joshua Itagaki
              Reporter:
              joshua.itagaki Joshua Itagaki
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                11 weeks, 4 days ago

                Packages

                Version Package