After upgrading to Community EditionVersion 7.9.1 (build 27448), getting SonarQube is unable to analyze file error

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    sonar server version: Community EditionVersion 7.9.1 (build 27448)
    sonar-maven-plugin:3.6.0.1398
  • what are you trying to achieve

getting below error

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project fse: SonarQube is unable to analyze file : 'fse-web/src/main/java/com/te/ebiz/filter/ParamFilter.java': java.lang.reflect.InvocationTargetException: com.google.common.base.Preconditions.checkNotNull(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project fse: SonarQube is unable to analyze file : 'fse-web/src/main/java/com/te/ebiz/filter/ParamFilter.java'
  • what have you tried so far to achieve this
    tried diffrent version of sonar-maven-plugin

Hello,

I advice you to use latest version of components as a first attempt to fix your problem so:

  • upgrade SonarQube CE to 7.9.2 or better SonarQube CE 8.2
  • use SonarJava 6.2+
  • use the latest sonar-maven-plugin: 3.7.0.1746 as of now

If you still have the same problem, please share here a reproducer so we can scan it locally and understand the root cause.

Thanks
Alex