Continuing from "Hold for workflow selection" causes NPE in WorkflowOperatonWorker

Steps to reproduce

Steps to reproduce:
1. Ingest something with workflow "default" (enable it for the use with the upload panel first by adding <tags><tag>upload</tag></tags>)
2. Click "Action" on the resulting workflow in hold state
3. Click "Process" button

Actual Results:
java.lang.NullPointerException
at org.opencastproject.workflow.handler.AppendWorkflowOperationHandler.resume(AppendWorkflowOperationHandler.java:101)
at org.opencastproject.workflow.impl.WorkflowOperationWorker.resume(WorkflowOperationWorker.java:257)
at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:143)
at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:766)
at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1661)
at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2056)
at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2022)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)

Expected Results:
Selected workflow is executed

Workaround (if any):
None

This is actually a regression caused by

Status

Assignee

Greg Logan

Reporter

Christoph Driessen

Severity

Non Functioning

Tags (folksonomy)

Components

Fix versions

Affects versions

Priority

Major
Configure