AnnotationVisitor: squash NPE on invalid input