ERROR sonarlint: File to analyze was not found in the file system

  • Operating system: Windows 11
  • SonarQube for IntelliJ plugin version: 10.28.0.81841
  • IntelliJ version: 2025.1.4.1
  • Programming language you’re coding in: Java
  • Is connected mode used:
    • SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?): No

My project consists of several Git submodules. The parent project has a commit reference update in one of the submodules. This change is the only item in the Git change list. When I try to commit, SonarQube starts to analyze, but eventually returns with a “Checks failed” message in IntelliJ’s commit dialog and prevents the commit from continuing. SonarQube’s log shows the following:

[2025-08-04T15:05:59.112] [sonarlint-analysis-scheduler] ERROR sonarlint - File to analyze was not found in the file system: file:///C:/Repos/xxx/xxx/xxx/xxx/xxx.git
 [2025-08-04T15:06:01.123] [sonarlint-analysis-scheduler] INFO sonarlint - No file to analyze
 [2025-08-04T15:06:01.125] [sonarlint-analysis-scheduler] INFO sonarlint - Analysis detected 0 issues and 0 Security Hotspots in 0ms

Hello @dyee, thanks for reaching out to us about this.

I think this might be similar to another report we received:

We are working on resolving this issue as soon as possible. The fix should be available in our next release, on August 19th.

Sorry for the inconvenience!

Hey @dyee , we have just released SonarQube for IntelliJ version 10.30. Could you please update and see if you still notice the problem?

Thanks!