I think returning null is the only sensible behavior, but it is not mentioned explicitly in the spec.