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

Tasks not showing up in 'My Workflow Tasks' when using category-specific-definition.xml with Portal resiliency

    Details

      Description

      Setup Portal Resiliency:
      1. Build the following plugins

      • spi-provider-web
      • spi-admin-portlet
      • Set in portal-ext
        portal.resiliency.enabled=true

        2. Start Tomcat
        3. Deploy kaleo-web, and spi-provider-web and spi-admin-portlet
        4. Login to the portal and navigate to Admin > Configuration > SPI Configuration
        5. Click Create a New SPI Instance
        6. Click portlets/plugins you want to attach to single SPI (Slave Portal Instance) (in this case kaleo-web)
        7. Click Save
        8. Start up the SPI Instance

      Steps to reproduce:
      1. Go to Control Panel => Workflow => Definitions.
      2. Add category-specific-definition.xml.
      3. Go to Default Configuration select Category Specific Approval(Version 1)on Blogs Entry.
      4. Go to Categories.
      5. Add a Vocabulary and add a category.
      6. Back to liferay.com
      7. Add an blog entry with the category.
      8. Go to User Name => My Account => My Workflow Tasks.

      Expected result:
      The task should be shown under 'Assigned to My Roles'.

      Actual result:
      The task is not shown under 'Assigned to My Roles'.

      [4/24/14 10:47:27:621 PDT] 000001ea SystemOut     O [10627]10:47:27,621 ERROR [MessageDatagramReceiveHandler-1][BaseTransactionExecutor:38] Unable to execute transaction commit callback
      com.liferay.portal.kernel.workflow.WorkflowException: Unable to start workflow
      	at com.liferay.portal.workflow.kaleo.runtime.DefaultWorkflowEngineImpl$3.call(DefaultWorkflowEngineImpl.java:465)
      	at com.liferay.portal.workflow.kaleo.runtime.DefaultWorkflowEngineImpl$3.call(DefaultWorkflowEngineImpl.java:1)
      	at com.liferay.portal.spring.transaction.BaseTransactionExecutor.invokeCallbacks(BaseTransactionExecutor.java:35)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.processCommit(DefaultTransactionExecutor.java:120)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:70)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at com.sun.proxy.$Proxy439.startWorkflowInstance(Unknown Source)
      	at com.liferay.portal.workflow.kaleo.WorkflowInstanceManagerImpl.startWorkflowInstance(WorkflowInstanceManagerImpl.java:205)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      	at java.lang.reflect.Method.invoke(Method.java:611)
      	at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:85)
      	at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:51)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
      	at com.liferay.portal.kernel.nio.intraband.messaging.IntrabandBridgeDestination.send(IntrabandBridgeDestination.java:88)
      	at com.liferay.portal.kernel.nio.intraband.messaging.MessageDatagramReceiveHandler.doReceive(MessageDatagramReceiveHandler.java:67)
      	at com.liferay.portal.kernel.nio.intraband.BaseAsyncDatagramReceiveHandler$DispatchJob.run(BaseAsyncDatagramReceiveHandler.java:64)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
      	at java.lang.Thread.run(Thread.java:773)
      Caused by: java.lang.RuntimeException: com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.RuntimeException: com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.scripting.ScriptingException: No WikiPageResource exists with the primary key 10640
      Line 1: 
      Line 2: 			
      Line 3: 				import com.liferay.portal.kernel.util.GetterUtil;
      Line 4: 				import com.liferay.portal.kernel.workflow.WorkflowConstants;
      Line 5: 				import com.liferay.portal.kernel.workflow.WorkflowHandler;
      Line 6: 				import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil;
      Line 7: 				import com.liferay.portlet.asset.model.AssetCategory;
      Line 8: 				import com.liferay.portlet.asset.model.AssetEntry;
      Line 9: 				import com.liferay.portlet.asset.model.AssetRenderer;
      Line 10: 				import com.liferay.portlet.asset.model.AssetRendererFactory;
      Line 11: 				import com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil;
      Line 12: 
      Line 13: 				import java.util.List;
      Line 14: 
      Line 15: 				String className = (String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_NAME);
      Line 16: 
      Line 17: 				WorkflowHandler workflowHandler = WorkflowHandlerRegistryUtil.getWorkflowHandler(className);
      Line 18: 
      Line 19: 				AssetRendererFactory assetRendererFactory = workflowHandler.getAssetRendererFactory();
      Line 20: 
      Line 21: 				long classPK = GetterUtil.getLong((String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_PK));
      Line 22: 
      Line 23: 				AssetRenderer assetRenderer = workflowHandler.getAssetRenderer(classPK);
      Line 24: 
      Line 25: 				AssetEntry assetEntry = assetRendererFactory.getAssetEntry(assetRendererFactory.getClassName(), assetRenderer.getClassPK());
      Line 26: 
      Line 27: 				List<AssetCategory> assetCategories = assetEntry.getCategories();
      Line 28: 
      Line 29: 				returnValue = "Content Review";
      Line 30: 
      Line 31: 				for (AssetCategory assetCategory : assetCategories) {
      Line 32: 					String categoryName = assetCategory.getName();
      Line 33: 
      Line 34: 					if (categoryName.equals("legal")) {
      Line 35: 						returnValue = "Legal Review";
      Line 36: 
      Line 37: 						return;
      Line 38: 					}
      Line 39: 				}
      Line 40: 			
      Line 41: 		
      
      	at com.liferay.portal.kernel.nio.intraband.messaging.IntrabandBridgeDestination.send(IntrabandBridgeDestination.java:91)
      	at com.liferay.portal.kernel.messaging.DefaultMessageBus.sendMessage(DefaultMessageBus.java:179)
      	at com.liferay.portal.kernel.messaging.sender.DefaultMessageSender.send(DefaultMessageSender.java:27)
      	at com.liferay.portal.kernel.messaging.sender.DefaultSingleDestinationMessageSender.send(DefaultSingleDestinationMessageSender.java:40)
      	at com.liferay.portal.kernel.messaging.sender.DefaultSingleDestinationMessageSender.send(DefaultSingleDestinationMessageSender.java:49)
      	at com.liferay.portal.workflow.kaleo.runtime.DefaultKaleoSignaler.signalEntry(DefaultKaleoSignaler.java:69)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      	at java.lang.reflect.Method.invoke(Method.java:611)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at com.sun.proxy.$Proxy438.signalEntry(Unknown Source)
      	at com.liferay.portal.workflow.kaleo.runtime.DefaultWorkflowEngineImpl$3.call(DefaultWorkflowEngineImpl.java:461)
      	... 24 more
      Caused by: com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.RuntimeException: com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.scripting.ScriptingException: No WikiPageResource exists with the primary key 10640
      Line 1: 
      Line 2: 			
      Line 3: 				import com.liferay.portal.kernel.util.GetterUtil;
      Line 4: 				import com.liferay.portal.kernel.workflow.WorkflowConstants;
      Line 5: 				import com.liferay.portal.kernel.workflow.WorkflowHandler;
      Line 6: 				import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil;
      Line 7: 				import com.liferay.portlet.asset.model.AssetCategory;
      Line 8: 				import com.liferay.portlet.asset.model.AssetEntry;
      Line 9: 				import com.liferay.portlet.asset.model.AssetRenderer;
      Line 10: 				import com.liferay.portlet.asset.model.AssetRendererFactory;
      Line 11: 				import com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil;
      Line 12: 
      Line 13: 				import java.util.List;
      Line 14: 
      Line 15: 				String [10627]className = (String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_NAME);
      Line 16: 
      Line 17: 				WorkflowHandler workflowHandler = WorkflowHandlerRegistryUtil.getWorkflowHandler(className);
      Line 18: 
      Line 19: 				AssetRendererFactory assetRendererFactory = workflowHandler.getAssetRendererFactory();
      Line 20: 
      Line 21: 				long classPK = GetterUtil.getLong((String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_PK));
      Line 22: 
      Line 23: 				AssetRenderer assetRenderer = workflowHandler.getAssetRenderer(classPK);
      Line 24: 
      Line 25: 				AssetEntry assetEntry = assetRendererFactory.getAssetEntry(assetRendererFactory.getClassName(), assetRenderer.getClassPK());
      Line 26: 
      Line 27: 				List<AssetCategory> assetCategories = assetEntry.getCategories();
      Line 28: 
      Line 29: 				returnValue = "Content Review";
      Line 30: 
      Line 31: 				for (AssetCategory assetCategory : assetCategories) {
      Line 32: 					String categoryName = assetCategory.getName();
      Line 33: 
      Line 34: 					if (categoryName.equals("legal")) {
      Line 35: 						returnValue = "Legal Review";
      Line 36: 
      Line 37: 						return;
      Line 38: 					}
      Line 39: 				}
      Line 40: 			
      Line 41: 		
      
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
      	at com.liferay.portal.kernel.nio.intraband.messaging.IntrabandBridgeDestination.send(IntrabandBridgeDestination.java:88)
      	... 44 more
      Caused by: java.lang.RuntimeException: com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.scripting.ScriptingException: No WikiPageResource exists with the primary key 10640
      Line 1: 
      Line 2: 			
      Line 3: 				import com.liferay.portal.kernel.util.GetterUtil;
      Line 4: 				import com.liferay.portal.kernel.workflow.WorkflowConstants;
      Line 5: 				import com.liferay.portal.kernel.workflow.WorkflowHandler;
      Line 6: 				import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil;
      Line 7: 				import com.liferay.portlet.asset.model.AssetCategory;
      Line 8: 				import com.liferay.portlet.asset.model.AssetEntry;
      Line 9: 				import com.liferay.portlet.asset.model.AssetRenderer;
      Line 10: 				import com.liferay.portlet.asset.model.AssetRendererFactory;
      Line 11: 				import com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil;
      Line 12: 
      Line 13: 				import java.util.List;
      Line 14: 
      Line 15: 				String className = (String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_NAME);
      Line 16: 
      Line 17: 				WorkflowHandler workflowHandler = WorkflowHandlerRegistryUtil.getWorkflowHandler(className);
      Line 18: 
      Line 19: 				AssetRendererFactory assetRendererFactory = workflowHandler.getAssetRendererFactory();
      Line 20: 
      Line 21: 				long classPK = GetterUtil.getLong((String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_PK));
      Line 22: 
      Line 23: 				AssetRenderer assetRenderer = workflowHandler.getAssetRenderer(classPK);
      Line 24: 
      Line 25: 				AssetEntry assetEntry = assetRendererFactory.getAssetEntry(assetRendererFactory.getClassName(), assetRenderer.getClassPK());
      Line 26: 
      Line 27: 				List<AssetCategory> assetCategories = assetEntry.getCategories();
      Line 28: 
      Line 29: 				returnValue = "Content Review";
      Line 30: 
      Line 31: 				for (AssetCategory assetCategory : assetCategories) {
      Line 32: 					String categoryName = assetCategory.getName();
      Line 33: 
      Line 34: 					if (categoryName.equals("legal")) {
      Line 35: 						returnValue = "Legal Review";
      Line 36: 
      Line 37: 						return;
      Line 38: 					}
      Line 39: 				}
      Line 40: 			
      Line 41: 		
      
      	at com.liferay.portal.kernel.nio.intraband.messaging.IntrabandBridgeDestination.send(IntrabandBridgeDestination.java:91)
      	at com.liferay.portal.kernel.messaging.DefaultMessageBus.sendMessage(DefaultMessageBus.java:179)
      	at com.liferay.portal.kernel.messaging.sender.DefaultMessageSender.send(DefaultMessageSender.java:27)
      	at com.liferay.portal.kernel.messaging.sender.DefaultSingleDestinationMessageSender.send(DefaultSingleDestinationMessageSender.java:40)
      	at com.liferay.portal.kernel.messaging.sender.DefaultSingleDestinationMessageSender.send(DefaultSingleDestinationMessageSender.java:49)
      	at com.liferay.portal.workflow.kaleo.runtime.graph.messaging.PathElementMessageListener.doReceive(PathElementMessageListener.java:59)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 46 more
      Caused by: com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.scripting.ScriptingException: No WikiPageResource exists with the primary key 10640
      Line 1: 
      Line 2: 			
      Line 3: 				import com.liferay.portal.kernel.util.GetterUtil;
      Line 4: 				import com.liferay.portal.kernel.workflow.WorkflowConstants;
      Line 5: 				import com.liferay.portal.kernel.workflow.WorkflowHandler;
      Line 6: 				import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil;
      Line 7: 				import com.liferay.portlet.asset.model.AssetCategory;
      Line 8: 				import com.liferay.portlet.asset.model.AssetEntry;
      Line 9: 				import com.liferay.portlet.asset.model.AssetRenderer;
      Line 10: 				import com.liferay.portlet.asset.model.AssetRendererFactory;
      Line 11: 				import com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil;
      Line 12: 
      Line 13: 				import java.util.List;
      Line 14: 
      Line 15: 				String className = (String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_NAME);
      Line 16: 
      Line 17: 				WorkflowHandler workflowHandler = WorkflowHandlerRegistryUtil.getWorkflowHandler(className);
      Line 18: 
      Line 19: 				AssetRendererFactory assetRendererFactory = workflowHandler.getAssetRendererFactory();
      Line 20: 
      Line 21: 				long classPK = GetterUtil.getLong((String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_PK));
      Line 22: 
      Line 23: 				AssetRenderer assetRenderer = workflowHandler.getAssetRenderer(classPK);
      Line 24: 
      Line 25: 				AssetEntry assetEntry = assetRendererFactory.getAssetEntry(assetRendererFactory.getClassName(), assetRenderer.getClassPK());
      Line 26: 
      Line 27: 				List<AssetCategory> assetCategories = assetEntry.getCategories();
      Line 28: 
      Line 29: 				returnValue = "Content Review";
      Line 30: 
      Line 31: 				for (AssetCategory assetCategory : assetCategories) {
      Line 32: 					String categoryName = assetCategory.getName();
      Line 33: 
      Line 34: 					if (categoryName.equals("legal")) {
      Line 35: 						returnValue = "Legal Review";
      Line 36: 
      Line 37: 						return;
      Line 38: 					}
      Line 39: 				}
      Line 40: 			
      Line 41: 		
      
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
      	at com.liferay.portal.kernel.nio.intraband.messaging.IntrabandBridgeDestination.send(IntrabandBridgeDestination.java:88)
      	... 52 more
      Caused by: com.liferay.portal.kernel.scripting.ScriptingException: No WikiPageResource exists with the primary key 10640
      Line 1: 
      Line 2: 			
      Line 3: 				import com.liferay.portal.kernel.util.GetterUtil;
      Line 4: 				import com.liferay.portal.kernel.workflow.WorkflowConstants;
      Line 5: 				import com.liferay.portal.kernel.workflow.WorkflowHandler;
      Line 6: 				import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil;
      Line 7: 				import com.liferay.portlet.asset.model.AssetCategory;
      Line 8: 				import com.liferay.portlet.asset.model.AssetEntry;
      Line 9: 				import com.liferay.portlet.asset.model.AssetRenderer;
      Line 10: 				import com.liferay.portlet.asset.model.AssetRendererFactory;
      Line 11: 				import com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil;
      Line 12: 
      Line 13: 				import java.util.List;
      Line 14: 
      Line 15: 				String className = (String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_NAME);
      Line 16: 
      Line 17: 				WorkflowHandler workflowHandler = WorkflowHandlerRegistryUtil.getWorkflowHandler(className);
      Line 18: 
      Line 19: 				AssetRendererFactory assetRendererFactory = workflowHandler.getAssetRendererFactory();
      Line 20: [10627]
      Line 21: 				long classPK = GetterUtil.getLong((String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_PK));
      Line 22: 
      Line 23: 				AssetRenderer assetRenderer = workflowHandler.getAssetRenderer(classPK);
      Line 24: 
      Line 25: 				AssetEntry assetEntry = assetRendererFactory.getAssetEntry(assetRendererFactory.getClassName(), assetRenderer.getClassPK());
      Line 26: 
      Line 27: 				List<AssetCategory> assetCategories = assetEntry.getCategories();
      Line 28: 
      Line 29: 				returnValue = "Content Review";
      Line 30: 
      Line 31: 				for (AssetCategory assetCategory : assetCategories) {
      Line 32: 					String categoryName = assetCategory.getName();
      Line 33: 
      Line 34: 					if (categoryName.equals("legal")) {
      Line 35: 						returnValue = "Legal Review";
      Line 36: 
      Line 37: 						return;
      Line 38: 					}
      Line 39: 				}
      Line 40: 			
      Line 41: 		
      
      	at com.liferay.portal.scripting.ScriptingImpl.eval(ScriptingImpl.java:95)
      	at com.liferay.portal.kernel.scripting.ScriptingUtil.eval(ScriptingUtil.java:44)
      	at com.liferay.portal.workflow.kaleo.runtime.condition.ScriptingConditionEvaluator.evaluate(ScriptingConditionEvaluator.java:45)
      	at com.liferay.portal.workflow.kaleo.runtime.condition.MultiLanguageConditionEvaluator.evaluate(MultiLanguageConditionEvaluator.java:49)
      	at com.liferay.portal.workflow.kaleo.runtime.node.ConditionNodeExecutor.doExecute(ConditionNodeExecutor.java:67)
      	at com.liferay.portal.workflow.kaleo.runtime.node.BaseNodeExecutor.execute(BaseNodeExecutor.java:82)
      	at com.liferay.portal.workflow.kaleo.runtime.graph.DefaultGraphWalker.follow(DefaultGraphWalker.java:66)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      	at java.lang.reflect.Method.invoke(Method.java:611)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at com.sun.proxy.$Proxy442.follow(Unknown Source)
      	at com.liferay.portal.workflow.kaleo.runtime.graph.messaging.PathElementMessageListener.doReceive(PathElementMessageListener.java:54)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 54 more
      Caused by: com.liferay.portlet.wiki.NoSuchPageResourceException: No WikiPageResource exists with the primary key 10640
      	at com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceImpl.findByPrimaryKey(WikiPageResourcePersistenceImpl.java:1248)
      	at com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceImpl.findByPrimaryKey(WikiPageResourcePersistenceImpl.java:1266)
      	at com.liferay.portlet.wiki.service.impl.WikiPageResourceLocalServiceImpl.getPageResource(WikiPageResourceLocalServiceImpl.java:71)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      	at java.lang.reflect.Method.invoke(Method.java:611)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
      	at com.sun.proxy.$Proxy189.getPageResource(Unknown Source)
      	at com.liferay.portlet.wiki.service.WikiPageResourceLocalServiceUtil.getPageResource(WikiPageResourceLocalServiceUtil.java:302)
      	at com.liferay.portlet.wiki.asset.WikiPageAssetRendererFactory.getAssetRenderer(WikiPageAssetRendererFactory.java:60)
      	at com.liferay.portal.kernel.workflow.BaseWorkflowHandler.getAssetRenderer(BaseWorkflowHandler.java:57)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      	at java.lang.reflect.Method.invoke(Method.java:611)
      	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
      	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
      	at Script1.run(Script1.groovy:23)
      	at com.liferay.portal.scripting.groovy.GroovyExecutor.eval(GroovyExecutor.java:63)
      	at com.liferay.portal.scripting.ScriptingImpl.eval(ScriptingImpl.java:90)
      	... 76 more
      [4/24/14 10:47:31:465 PDT] 000001ea SystemOut     O [10627]10:47:31,449 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][LuceneIndexer:136] Error encountered while reindexing
      com.liferay.portal.kernel.search.SearchException: com.liferay.portlet.wiki.NoSuchPageException
      	at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:179)
      	at com.liferay.portlet.messageboards.util.MBMessageIndexer$3.performAction(MBMessageIndexer.java:443)
      	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:309)
      	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:45)
      	at com.liferay.portlet.messageboards.util.MBMessageIndexer.reindexMessages(MBMessageIndexer.java:454)
      	at com.liferay.portlet.messageboards.util.MBMessageIndexer$2.performAction(MBMessageIndexer.java:403)
      	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:309)
      	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:45)
      	at com.liferay.portlet.messageboards.util.MBMessageIndexer.reindexDiscussions(MBMessageIndexer.java:412)
      	at com.liferay.portlet.messageboards.util.MBMessageIndexer.doReindex(MBMessageIndexer.java:340)
      	at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:457)
      	at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:159)
      	at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:125)
      	at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
      	at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:73)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
      	at java.lang.Thread.run(Thread.java:773)
      Caused by: com.liferay.portlet.wiki.NoSuchPageException
      	at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.getPage(WikiPageLocalServiceImpl.java:985)
      	at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.getPage(WikiPageLocalServiceImpl.java:950)
      	at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.getPage(WikiPageLocalServiceImpl.java:940)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      	at java.lang.reflect.Method.invoke(Method.java:611)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
      	at com.sun.proxy.$Proxy187.getPage(Unknown Source)
      	at com.liferay.portlet.wiki.service.WikiPageLocalServiceUtil.getPage(WikiPageLocalServiceUtil.java:605)
      	at com.liferay.portlet.wiki.util.WikiPageIndexer.addRelatedEntryFields(WikiPageIndexer.java:94)
      	at com.liferay.portlet.messageboards.util.MBMessageIndexer.doGetDocument(MBMessageIndexer.java:271)
      	at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:151)
      	... 17 more
      

      Note: If you do not add kaleo-web to SPI, tasks will show up in 'My Workflow Tasks'. This is with category-specific-definition.xml.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1