feat(act-instances): add not-null checks

make sure activity instance is not null

related to #CAM-858