Seems the runtime needs this property cancelsActivity, and currently our bpmn editor saves only that property when it is false.
Seems the code below throws the error which is a null pointer exception