it seems phpcr is accepting null here