Cannot create workitem instance from node | Community
Skip to main content
Level 6
October 16, 2015
Solved

Cannot create workitem instance from node

  • October 16, 2015
  • 1 reply
  • 1325 views

Hi All,

From /projects.html link , we clicked on Assets and navigated to all project images. During that time i am getting below error .Please let me know how to resolve it.

But from /crx/de i cannot able to see /etc/workflow/instances/2015-02-23 . Is this has been removed? PLease let know how to overcome this issue>

 

09.07.2015 08:22:54.802 *ERROR* [1.23.18.187 [1436410374194] GET /assets.html/content/dam/projects HTTP/1.1] com.adobe.granite.workflow.core.jcr.WorkItemAdapterFactory error adapting a class of type [{org.apache.jackrabbit.core.NodeImpl}] to type [{java.lang.Class}]
com.adobe.granite.workflow.WorkflowException: Cannot create workitem instance from node: /etc/workflow/instances/2015-02-23/model_167166094413692
        at com.adobe.granite.workflow.core.util.NodeReader.createWorkItem(NodeReader.java:298)
        at com.adobe.granite.workflow.core.jcr.WorkItemAdapterFactory.getAdapter(WorkItemAdapterFactory.java:132)
        at org.apache.sling.adapter.internal.AdapterManagerImpl.getAdapter(AdapterManagerImpl.java:140)
        at com.adobe.granite.workflow.core.jcr.WorkItemManager.getInboxItems(WorkItemManager.java:253)
        at com.adobe.granite.workflow.core.WorkflowSessionImpl.getActiveInboxItems(WorkflowSessionImpl.java:590)
        at com.adobe.granite.workflow.core.WorkflowSessionImpl.getActiveInboxItems(WorkflowSessionImpl.java:561)
        at org.apache.jsp.libs.cq.gui.components.endor.badge.badge_jsp._jspService(badge_jsp.java:735)
        at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

error is indicating the same node does not exist. Sounds like version workspace issue.  Do a maintenance activity[1] still issue persist reach to official support channel with all the latest logs. 

[1]

*  Purge version

*  Purge audit

*   Purge workflow

*   Tar optimization/Revison GC

1 reply

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

error is indicating the same node does not exist. Sounds like version workspace issue.  Do a maintenance activity[1] still issue persist reach to official support channel with all the latest logs. 

[1]

*  Purge version

*  Purge audit

*   Purge workflow

*   Tar optimization/Revison GC