Expand my Community achievements bar.

SOLVED

Workflow Server Errors, Cannot View Any Active Workflows

Avatar

Level 4

I attempted to edit a workflow, started it with a payload, but then got a pop-up error message "nullpointerexception". This wouldn't be a big deal except that now i can't see any workflow items that were previously active. When browsing to the inbox, i see many of these records in the error log -

*ERROR* [10.146.77.31 [1377194059167] GET /libs/cq/workflow/content/inbox/list.json HTTP/1.1] apps.cq.workflow.components.inbox.list.json$jsp Unable to process work item: /etc/workflow/instances/2013-08-19/model_18500588996788631/workItems/node4_etc_workflow_instances_2013-08-19_model_18500588996788631 java.lang.NullPointerException

These items weren't using the workflow model i was editing. Any ideas what might be causing this error? Is there somewhere i can clear out all existing active workflow items to see if that helps? I tried deleting one from /etc/workflow/instances/... and it just generates a different error message -

com.adobe.granite.workflow.core.PayloadMapCache Unable to get workflow instance: Unable to retrieve workflow instance: /etc/workflow/instances/2013-08-22/model_18775475752384786

Thanks

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

Sorry you're having trouble.

The easiest way to purge running worklfows is to use the workflow JMX bean.  You can access this functionality in the felix system console.  It's all explained here: http://helpx.adobe.com/cq/kb/workflow-monitor-via-jmx.html#Supported features

Hope this helps,

Will

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

Hi,

Sorry you're having trouble.

The easiest way to purge running worklfows is to use the workflow JMX bean.  You can access this functionality in the felix system console.  It's all explained here: http://helpx.adobe.com/cq/kb/workflow-monitor-via-jmx.html#Supported features

Hope this helps,

Will

Avatar

Level 4

Thank you, that's exactly what i was looking for.

Unfortunately/Fortunately before i had a chance to try it our server admin reset the server and when it came back up everything was working correctly. Our admin said we were running out of space on the server so that could have been a cause of the issue, but i wouldn't bet on it as everything else seemed to work.

Avatar

Level 2

Hi,

i've the same problem on a CQ 5.4 instance, after i moved a workflow model from it's previous origin.

Can someone help me?

Thanks

 

p.s. Here seems to be a solution (http://helpx.adobe.com/cq/kb/howtopurgewf.html), but i'ven't tried yet.