fix the NPE when generate .annotationmodel file.