Program: 117048
Project: 117048
Buggy source:
@Override public void apply(@NotNull PsiFile file,ExternalLintAnnotationResult<Result> annotationResult,@NotNull AnnotationHolder holder){
  if (annotationResult == null) {
    return;
  }
  InspectionProjectProfileManager inspectionProjectProfileManager=InspectionProjectProfileManager.getInstance(file.getProject());
  SeverityRegistrar severityRegistrar=inspectionProjectProfileManager.getSeverityRegistrar();
  HighlightDisplayKey inspectionKey=getHighlightDisplayKeyByClass();
  EditorColorsScheme colorsScheme=annotationResult.input.colorsScheme;
  Document document=PsiDocumentManager.getInstance(file.getProject()).getDocument(file);
  if (document == null) {
    return;
  }
  ESLintProjectComponent component=annotationResult.input.project.getComponent(ESLintProjectComponent.class);
  for (  Result.Warn warn : annotationResult.result.warns) {
    HighlightSeverity severity=getHighlightSeverity(warn,component.treatAsWarnings);
    TextAttributes forcedTextAttributes=JSLinterUtil.getTextAttributes(colorsScheme,severityRegistrar,severity);
    Annotation annotation=createAnnotation(holder,file,document,warn,severity,forcedTextAttributes,false);
    if (annotation != null) {
      int offset=StringUtil.lineColToOffset(document.getText(),warn.line - 1,warn.column);
      PsiElement lit=PsiUtil.getElementAtOffset(file,offset);
      BaseActionFix actionFix=Fixes.getFixForRule(warn.rule,lit);
      if (actionFix != null) {
        annotation.registerFix(actionFix,null,inspectionKey);
      }
      annotation.registerFix(new SuppressActionFix(warn.rule,lit),null,inspectionKey);
      annotation.registerFix(new SuppressLineActionFix(warn.rule,lit),null,inspectionKey);
    }
  }
}

Fixed version (ground truth):
@Override public void apply(@NotNull PsiFile file,ExternalLintAnnotationResult<Result> annotationResult,@NotNull AnnotationHolder holder){
  if (annotationResult == null) {
    return;
  }
  InspectionProjectProfileManager inspectionProjectProfileManager=InspectionProjectProfileManager.getInstance(file.getProject());
  SeverityRegistrar severityRegistrar=inspectionProjectProfileManager.getSeverityRegistrar();
  HighlightDisplayKey inspectionKey=getHighlightDisplayKeyByClass();
  EditorColorsScheme colorsScheme=annotationResult.input.colorsScheme;
  Document document=PsiDocumentManager.getInstance(file.getProject()).getDocument(file);
  if (document == null) {
    return;
  }
  ESLintProjectComponent component=annotationResult.input.project.getComponent(ESLintProjectComponent.class);
  for (  VerifyMessage warn : annotationResult.result.warns) {
    HighlightSeverity severity=getHighlightSeverity(warn,component.treatAsWarnings);
    TextAttributes forcedTextAttributes=JSLinterUtil.getTextAttributes(colorsScheme,severityRegistrar,severity);
    Annotation annotation=createAnnotation(holder,file,document,warn,severity,forcedTextAttributes,false);
    if (annotation != null) {
      int offset=StringUtil.lineColToOffset(document.getText(),warn.line - 1,warn.column);
      PsiElement lit=PsiUtil.getElementAtOffset(file,offset);
      BaseActionFix actionFix=Fixes.getFixForRule(warn.ruleId,lit);
      if (actionFix != null) {
        annotation.registerFix(actionFix,null,inspectionKey);
      }
      annotation.registerFix(new SuppressActionFix(warn.ruleId,lit),null,inspectionKey);
      annotation.registerFix(new SuppressLineActionFix(warn.ruleId,lit),null,inspectionKey);
    }
  }
}