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

Upgrading 7.0 with foundation content causes errors on startup

    Details

      Description

      Reproduced on:
      MySQL 5.6
      ee-6.2.10 > ee-7.0.x GIT ID: 248837d0fd55142fcd767b701e6be4a1d819ba9b.

      Steps to Reproduce:

      1. Upgrade attached dump to 7.0 (https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/upgrading-to-liferay-7)
      2. Start portal

      Expected Result"
      No startup errors.

      Actual Result:
      Errors thrown on startup:

      16:59:53,487 TRACE [elasticsearch[William Stryker][bulk][T#1]][index:158] took[697.5ms], took_millis[697], type[LiferayDocumentType], id[com_liferay_configuration_admin_web_portlet_SystemSettingsPortlet_PORTLET_com.liferay.portal.osgi.web.wab.extender.internal.configuration.WabExtenderConfiguration], routing[] , source[{"uid":"com_liferay_configuration_admin_web_portlet_SystemSettingsPortlet_PORTLET_com.liferay.portal.osgi.web.wab.extender.internal.configuration.WabExtenderConfiguration","companyId":"0","configurationModelId":"com.liferay.portal.osgi.web.wab.extender.internal.configuration.WabExtenderConfiguration","entryClassName":"com.liferay.configuration.admin.web.model.ConfigurationModel","configurationModelFactoryPid":"com.liferay.portal.osgi.web.wab.extender.internal.configuration.WabExtenderConfiguration","title_zh_CN":"WAB扩展器","title_es_ES":"Extensor WAB","title_iw_IL":"WAB Extender","title_ja_JP":"WAB Extender","title_fi_FI":"WAB Extender -laite","title_ca_ES":"Estensor WAB","title_hu_HU":"WAB bővítő","title_fr_FR":"Extendeur WAB","title":"WAB Extender","title_en_US":"WAB Extender","title_pt_BR":"Extensor WAB","title_de_DE":"WAB Extender","configurationModelAttributeName":"Stop timeout"}]
      16:59:53,487 TRACE [elasticsearch[William Stryker][bulk][T#5]][index:158] took[691.1ms], took_millis[691], type[LiferayDocumentType], id[com_liferay_configuration_admin_web_portlet_SystemSettingsPortlet_PORTLET_com.liferay.portal.security.antisamy.configuration.AntiSamyConfiguration], routing[] , source[{"uid":"com_liferay_configuration_admin_web_portlet_SystemSettingsPortlet_PORTLET_com.liferay.portal.security.antisamy.configuration.AntiSamyConfiguration","companyId":"0","configurationModelId":"com.liferay.portal.security.antisamy.configuration.AntiSamyConfiguration","entryClassName":"com.liferay.configuration.admin.web.model.ConfigurationModel","configurationModelFactoryPid":"com.liferay.portal.security.antisamy.configuration.AntiSamyConfiguration","title_zh_CN":"AntiSamy消毒剂","title_es_ES":"Desinfectante AntiSamy","title_iw_IL":"AntiSamy Sanitizer","title_ja_JP":"AntiSamy サニタイザー","title_fi_FI":"AntiSamy-puhdistusaine","title_ca_ES":"Sanejador AntiSamy","title_hu_HU":"AntiSamy tisztító","title_fr_FR":"« Désinfectant » AntiSamy","title":"AntiSamy Sanitizer","title_en_US":"AntiSamy Sanitizer","title_pt_BR":"Sanitizador AntiSamy","title_de_DE":"AntiSamy Sanitizer","configurationModelAttributeName":["Enabled","Configuration file URL","Blacklist","Whitelist"]}]
      17:00:06,311 ERROR [liferay/background_task-1][JDBCExceptionReporter:234] Duplicate entry 'com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor-' for key 'IX_228562AD'
      17:00:06,311 ERROR [liferay/background_task-4][JDBCExceptionReporter:234] Duplicate entry 'com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor-' for key 'IX_228562AD'
      17:00:06,377 ERROR [liferay/background_task-4][JDBCExceptionReporter:234] Duplicate entry 'com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor-' for key 'IX_228562AD'
      17:00:06,441 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26842}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.dao.orm.ORMException: 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#26842]
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: 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#26842]
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:175)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:282)
      	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:41)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:93)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8510)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:138)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:173)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      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#26842]
      	at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1950)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2595)
      	at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2495)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2822)
      	at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
      	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:172)
      	... 29 more
      17:00:06,535 ERROR [liferay/background_task-4][JDBCExceptionReporter:234] Duplicate entry '26845' for key 'PRIMARY'
      17:00:06,537 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-21472] update_mapping [LiferayDocumentType]
      17:00:06,538 ERROR [liferay/background_task-4][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26845}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:175)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:282)
      	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:41)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:93)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8510)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
      	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:172)
      	... 29 more
      Caused by: java.sql.BatchUpdateException: Duplicate entry '26845' for key 'PRIMARY'
      	at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2054)
      	at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
      	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      	... 35 more
      Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '26845' for key 'PRIMARY'
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
      	at com.mysql.jdbc.Util.getInstance(Util.java:386)
      	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040)
      	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
      	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
      	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
      	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
      	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
      	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
      	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
      	at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2006)
      	... 38 more
      17:00:06,567 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-20155] update_mapping [LiferayDocumentType]
      17:00:06,626 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-20155] update_mapping [LiferayDocumentType]
      17:00:06,643 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-20155] update_mapping [LiferayDocumentType]
      17:00:06,644 ERROR [liferay/background_task-2][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26848}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=3, backgroundTaskId=26848, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:06 GMT 2016, name=reindexOnActivate#com.liferay.asset.kernel.model.AssetVocabulary, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@69d6d7dc, deleteOnSuccess=true, className=com.liferay.asset.kernel.model.AssetVocabulary, threadLocalValues={defaultLocale=en_US, companyId=20155, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=4, backgroundTaskId=26848, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.287, modifiedDate=2016-06-01 17:00:06.631, name=reindexOnActivate#com.liferay.asset.kernel.model.AssetVocabulary, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@75b4ed69, deleteOnSuccess=true, className=com.liferay.asset.kernel.model.AssetVocabulary, threadLocalValues={defaultLocale=en_US, companyId=20155, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:06.631, status=3, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=3, backgroundTaskId=26848, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:06 GMT 2016, name=reindexOnActivate#com.liferay.asset.kernel.model.AssetVocabulary, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@69d6d7dc, deleteOnSuccess=true, className=com.liferay.asset.kernel.model.AssetVocabulary, threadLocalValues={defaultLocale=en_US, companyId=20155, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=4, backgroundTaskId=26848, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.287, modifiedDate=2016-06-01 17:00:06.631, name=reindexOnActivate#com.liferay.asset.kernel.model.AssetVocabulary, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@75b4ed69, deleteOnSuccess=true, className=com.liferay.asset.kernel.model.AssetVocabulary, threadLocalValues={defaultLocale=en_US, companyId=20155, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:06.631, status=3, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=3, backgroundTaskId=26848, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:06 GMT 2016, name=reindexOnActivate#com.liferay.asset.kernel.model.AssetVocabulary, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@69d6d7dc, deleteOnSuccess=true, className=com.liferay.asset.kernel.model.AssetVocabulary, threadLocalValues={defaultLocale=en_US, companyId=20155, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=4, backgroundTaskId=26848, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.287, modifiedDate=2016-06-01 17:00:06.631, name=reindexOnActivate#com.liferay.asset.kernel.model.AssetVocabulary, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@75b4ed69, deleteOnSuccess=true, className=com.liferay.asset.kernel.model.AssetVocabulary, threadLocalValues={defaultLocale=en_US, companyId=20155, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:06.631, status=3, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 25 more
      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#26848]
      	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:240)
      	... 27 more
      17:00:06,704 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-20155] update_mapping [LiferayDocumentType]
      17:00:06,751 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-20155] update_mapping [LiferayDocumentType]
      17:00:06,759 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26848}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.dao.orm.ORMException: 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#26848]
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: 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#26848]
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:175)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:282)
      	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:41)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:93)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8510)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      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#26848]
      	at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1950)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2595)
      	at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2495)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2822)
      	at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
      	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:172)
      	... 29 more
      17:00:06,770 ERROR [liferay/background_task-1][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26848}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:06,801 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26848}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:06,822 ERROR [liferay/background_task-5][JDBCExceptionReporter:234] Duplicate entry 'com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor-' for key 'IX_228562AD'
      17:00:06,862 ERROR [liferay/background_task-4][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26856}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:06,891 ERROR [liferay/background_task-3][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26856}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:06,903 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-20155] update_mapping [LiferayDocumentType]
      17:00:06,906 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26856}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:06,927 ERROR [liferay/background_task-5][JDBCExceptionReporter:234] Duplicate entry 'com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor-' for key 'IX_228562AD'
      17:00:06,940 ERROR [liferay/background_task-4][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26856}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:06,951 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26856}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:06,952 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-20155] update_mapping [LiferayDocumentType]
      17:00:06,975 ERROR [liferay/background_task-3][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26856}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:07,005 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26856}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:07,036 ERROR [liferay/background_task-3][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26856}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:07,058 ERROR [liferay/background_task-4][JDBCExceptionReporter:234] Duplicate entry 'com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor-' for key 'IX_228562AD'
      17:00:07,105 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-21472] update_mapping [LiferayDocumentType]
      17:00:07,116 ERROR [liferay/background_task-3][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26858}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=3, backgroundTaskId=26858, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Contact, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3585d244, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Contact, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=4, backgroundTaskId=26858, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.326, modifiedDate=2016-06-01 17:00:07.107, name=reindexOnActivate#com.liferay.portal.kernel.model.Contact, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@7278537f, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Contact, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.107, status=3, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=3, backgroundTaskId=26858, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Contact, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3585d244, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Contact, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=4, backgroundTaskId=26858, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.326, modifiedDate=2016-06-01 17:00:07.107, name=reindexOnActivate#com.liferay.portal.kernel.model.Contact, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@7278537f, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Contact, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.107, status=3, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=3, backgroundTaskId=26858, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Contact, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3585d244, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Contact, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=4, backgroundTaskId=26858, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.326, modifiedDate=2016-06-01 17:00:07.107, name=reindexOnActivate#com.liferay.portal.kernel.model.Contact, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@7278537f, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Contact, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.107, status=3, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 25 more
      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#26858]
      	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:240)
      	... 27 more
      17:00:07,247 ERROR [liferay/background_task-4][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26858}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:07,261 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26858}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:07,265 ERROR [liferay/background_task-3][JDBCExceptionReporter:234] Duplicate entry 'com.liferay.portal.kernel.backgroundtask.BackgroundTaskExecutor-' for key 'IX_228562AD'
      17:00:07,275 ERROR [liferay/background_task-3][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26858}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:07,284 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26858}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:07,286 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26858}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:07,309 ERROR [liferay/background_task-3][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26858}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:07,294 ERROR [liferay/background_task-4][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26858}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.portal.background.task.internal.BackgroundTaskImpl.getStatus(BackgroundTaskImpl.java:130)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:91)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      17:00:07,318 ERROR [liferay/background_task-3][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.dao.orm.ORMException: 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#26865]
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: 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#26865]
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:175)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:282)
      	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:41)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:93)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8510)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      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#26865]
      	at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1950)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2595)
      	at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2495)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2822)
      	at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
      	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:172)
      	... 29 more
      17:00:07,320 ERROR [liferay/background_task-4][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=2, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=3, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.31, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@74046c4c, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=2, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=3, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.31, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@74046c4c, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=2, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=3, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.31, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@74046c4c, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 25 more
      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#26865]
      	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:240)
      	... 27 more
      17:00:07,343 ERROR [liferay/background_task-3][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=4, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=4, statusMessage=} is stale in comparison to {mvccVersion=5, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.337, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@56f2d013, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=4, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=4, statusMessage=} is stale in comparison to {mvccVersion=5, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.337, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@56f2d013, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at sun.reflect.GeneratedMethodAccessor579.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:138)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:173)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=4, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=4, statusMessage=} is stale in comparison to {mvccVersion=5, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.337, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@56f2d013, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 24 more
      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#26865]
      	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:240)
      	... 26 more
      17:00:07,365 ERROR [liferay/background_task_status-1][SerialDestination:61] Unable to process message {destinationName=liferay/background_task_status, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, groupId=0, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, backgroundTaskId=26865, status=3}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.dao.orm.ORMException: 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#26865]
      	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.SerialDestination$1.run(SerialDestination.java:58)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: 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#26865]
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:175)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:282)
      	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:41)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:93)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.removeImpl(BackgroundTaskPersistenceImpl.java:8451)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.removeImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.remove(BasePersistenceImpl.java:292)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.deleteBackgroundTask(BackgroundTaskLocalServiceImpl.java:276)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.deleteBackgroundTask(BackgroundTaskLocalServiceImpl.java:286)
      	at sun.reflect.GeneratedMethodAccessor611.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.deleteBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.deleteBackgroundTask(BackgroundTaskManagerImpl.java:164)
      	at com.liferay.portal.background.task.internal.messaging.RemoveOnCompletionBackgroundTaskStatusMessageListener.doReceive(RemoveOnCompletionBackgroundTaskStatusMessageListener.java:78)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      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#26865]
      	at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1950)
      	at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2711)
      	at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2912)
      	at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97)
      	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:189)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:172)
      	... 27 more
      17:00:07,362 ERROR [liferay/background_task-1][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.dao.orm.ORMException: 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#26865]
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: 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#26865]
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:175)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:282)
      	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:41)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:93)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8510)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      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#26865]
      	at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1950)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2595)
      	at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2495)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2822)
      	at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
      	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:172)
      	... 29 more
      17:00:07,344 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=3, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=3, statusMessage=} is stale in comparison to {mvccVersion=5, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.337, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@2fc0888b, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=3, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=3, statusMessage=} is stale in comparison to {mvccVersion=5, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.337, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@2fc0888b, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at sun.reflect.GeneratedMethodAccessor579.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:138)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:173)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=3, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=3, statusMessage=} is stale in comparison to {mvccVersion=5, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.337, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@2fc0888b, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 24 more
      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#26865]
      	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:240)
      	... 26 more
      17:00:07,385 ERROR [liferay/background_task-4][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.dao.orm.ORMException: 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#26865]
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: 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#26865]
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:175)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:282)
      	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:41)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:93)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8510)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at sun.reflect.GeneratedMethodAccessor579.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:138)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:173)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      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#26865]
      	at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1950)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2595)
      	at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2495)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2822)
      	at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
      	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:172)
      	... 28 more
      17:00:07,399 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.dao.orm.ORMException: 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#26865]
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: 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#26865]
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:175)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:282)
      	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:41)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:93)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8510)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      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#26865]
      	at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1950)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2595)
      	at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2495)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2822)
      	at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
      	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:172)
      	... 29 more
      17:00:07,402 ERROR [liferay/background_task-2][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=1, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@377cedcf, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=1, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@377cedcf, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=1, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@377cedcf, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 25 more
      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#26865]
      	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:240)
      	... 27 more
      17:00:07,401 ERROR [liferay/background_task-4][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=1, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@3c85df26, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=1, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@3c85df26, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=1, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@3c85df26, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 25 more
      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#26865]
      	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:240)
      	... 27 more
      17:00:07,406 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=1, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@6c74b443, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=1, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@6c74b443, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=1, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@6c74b443, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 25 more
      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#26865]
      	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:240)
      	... 27 more
      17:00:07,405 ERROR [liferay/background_task-3][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=20155, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=3, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@e336bf1, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=3, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@e336bf1, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at sun.reflect.GeneratedMethodAccessor579.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:138)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:173)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=8, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=3, statusMessage=} is stale in comparison to {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.389, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@e336bf1, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=1, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 24 more
      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#26865]
      	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:240)
      	... 26 more
      17:00:07,455 ERROR [liferay/background_task-5][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26869}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=2, backgroundTaskId=26869, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.User, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3775511, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.User, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=3, backgroundTaskId=26869, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.456, modifiedDate=2016-06-01 17:00:07.445, name=reindexOnActivate#com.liferay.portal.kernel.model.User, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@230bf219, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.User, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=2, backgroundTaskId=26869, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.User, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3775511, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.User, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=3, backgroundTaskId=26869, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.456, modifiedDate=2016-06-01 17:00:07.445, name=reindexOnActivate#com.liferay.portal.kernel.model.User, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@230bf219, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.User, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=2, backgroundTaskId=26869, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.User, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3775511, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.User, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=} is stale in comparison to {mvccVersion=3, backgroundTaskId=26869, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.456, modifiedDate=2016-06-01 17:00:07.445, name=reindexOnActivate#com.liferay.portal.kernel.model.User, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@230bf219, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.User, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=false, completionDate=null, status=1, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 25 more
      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#26869]
      	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:240)
      	... 27 more
      17:00:07,454 ERROR [liferay/background_task-2][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26869}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.dao.orm.ORMException: 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#26869]
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: 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#26869]
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:175)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:282)
      	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:41)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:93)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8510)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:163)
      	at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:125)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      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#26869]
      	at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1950)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2595)
      	at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2495)
      	at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2822)
      	at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
      	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:172)
      	... 29 more
      17:00:07,460 ERROR [liferay/background_task-1][ParallelDestination:55] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={defaultLocale=en_US, companyId=21472, groupId=0, backgroundTaskId=26865}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=3, statusMessage=} is stale in comparison to {mvccVersion=11, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.441, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@6afe9de1, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=4, statusMessage=}
      	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:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=3, statusMessage=} is stale in comparison to {mvccVersion=11, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.441, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@6afe9de1, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=4, statusMessage=}
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:264)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8507)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:72)
      	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:345)
      	at com.liferay.portal.background.task.service.impl.BackgroundTaskLocalServiceImpl.amendBackgroundTask(BackgroundTaskLocalServiceImpl.java:199)
      	at sun.reflect.GeneratedMethodAccessor579.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy375.amendBackgroundTask(Unknown Source)
      	at com.liferay.portal.background.task.internal.BackgroundTaskManagerImpl.amendBackgroundTask(BackgroundTaskManagerImpl.java:138)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:173)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=9, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=Wed Jun 01 17:00:06 GMT 2016, modifiedDate=Wed Jun 01 17:00:07 GMT 2016, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[J@3c467ce0, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=Wed Jun 01 17:00:07 GMT 2016, status=3, statusMessage=} is stale in comparison to {mvccVersion=11, backgroundTaskId=26865, groupId=0, companyId=0, userId=0, userName=, createDate=2016-06-01 17:00:06.405, modifiedDate=2016-06-01 17:00:07.441, name=reindexOnActivate#com.liferay.portal.kernel.model.Organization, servletContextNames=, taskExecutorClassName=com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor, taskContextMap={companyIds=[Ljava.lang.Integer;@6afe9de1, deleteOnSuccess=true, className=com.liferay.portal.kernel.model.Organization, threadLocalValues={defaultLocale=en_US, companyId=21472, clusterInvoke=true, groupId=0, principalName=null, siteDefaultLocale=null, themeDisplayLocale=null}}, completed=true, completionDate=2016-06-01 17:00:07.354, status=4, statusMessage=}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:243)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl.updateImpl(BackgroundTaskPersistenceImpl.java:8503)
      	... 24 more
      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#26865]
      	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:240)
      	... 26 more
      17:00:07,488 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-21472] update_mapping [LiferayDocumentType]
      17:00:07,876 INFO  [elasticsearch[William Stryker][clusterService#updateTask][T#1]][metadata:317] [William Stryker] [liferay-21472] update_mapping [LiferayDocumentType]
      17:00:09,142 ERROR [fileinstall-/Users/vicnate5/bundles/ee_release/ee-7.0.x-bundles/osgi/modules][org_apache_felix_fileinstall:97] Failed to install artifact: /Users/vicnate5/bundles/ee_release/ee-7.0.x-bundles/osgi/modules/activation-key-development-7.0de-liferaycom.xml
      java.lang.StringIndexOutOfBoundsException: String index out of range: -2
      	at java.lang.String.substring(String.java:1967)
      	at com.liferay.portal.license.util.DefaultLicenseManagerImpl.registerLicense(DefaultLicenseManagerImpl.java:167)
      	at com.liferay.portal.kernel.license.util.LicenseManagerUtil.registerLicense(LicenseManagerUtil.java:79)
      	at com.liferay.portal.license.deployer.installer.LicenseInstaller.install(LicenseInstaller.java:69)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:936)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:870)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:485)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:313)
      

        Attachments

          Activity

            People

            • Assignee:
              victor.ware Victor Ware
              Reporter:
              victor.ware Victor Ware
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 28 weeks, 3 days ago

                Packages

                Version Package