BZ 999149 Making sure that throwing a WorkflowRuntimeException does not cause an NPE