npe while ksession.getProcessInstance( processInstanceId )