File to analyze was not found in the file system

  • Operating system: Windows 10 1809
  • SonarQube for IntelliJ plugin version: 10.27.1.81796
  • IntelliJ version: 2025.1.3
  • Programming language you’re coding in: Java
  • Is connected mode used: Yes
    • SonarQube Server Developer Edition v2025.3

When I try to commit anything in
git, the SonarQube for IDE plugin starts to analyze. After a while, the commit window only shows “Checks failed”, so it did not commit anything. According to the plugin’s log, it tried to analyze the configuration file .idea/sonarlint.xml in this project.

sonar.log (301.8 KB)

Hey there.

In the logs I see a couple files analyzed.

  inputFiles: [
    file:///C:/Users/david.sochacki/IDEA-workspace/Aktienlogistik/aktienlogistik-server/src/test/java/de/lsd/backoffice/aktienlogistik/server/util/TranslationServiceTest.java (UTF-8) [test]
    file:///C:/Users/david.sochacki/IDEA-workspace/Aktienlogistik/aktienlogistik-server/src/test/java/de/lsd/backoffice/aktienlogistik/server/AktienlogistikServerTest.java (UTF-8) [test]
    file:///C:/Users/david.sochacki/IDEA-workspace/Aktienlogistik/aktienlogistik-server/src/test/java/de/lsd/backoffice/aktienlogistik/server/model/ResolverTest.java (UTF-8) [test]
  ]
]

Nothing indicates a failed analysis.

If you uninstall SonarQube for IDE, does the commit work as normal?

Yes, after unistalling the plugin everything works as normal.

I reinstalled it later for testing purposes, but the pre-commit analysis failed again with the same error.

Hello @TunaIII,

Could you share a bit more details about the problem?

  • What is the changeset you are trying to commit? Is .idea/sonarlint.xml part of it?
  • Could you share with us a picture of this “Checks failed” error that you mentioned?
  • Do you have any exclusions configured?

Thanks

Hello, I have this problem when I add a .idea config file, the check for that commit is freeze until canceled manually. If a remove the problematic file from the commit, check runs normal. P.S. when check on commits run after commit??? ;(

 [2025-08-06T14:04:30.694] [sonarlint-analysis-scheduler] INFO sonarlint - Starting analysis with configuration: [
  baseDir: C:\Users\reimo\Local\codigos-local\ktorgen\compiler\src\main
  extraProperties: {sonar.java.target=11, sonar.java.libraries=C:\Users\reimo\.jdks\jbr-21.0.8\lib\jrt-fs.jar,C:\Users\reimo\Local\codigos-local\ktorgen\annotations\build\classes\kotlin\jvm\main,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\com.google.devtools.ksp\symbol-processing-api\2.1.21-2.0.2\6a7c41da95b72d99ee1277c80951a9160db1f1a5\symbol-processing-api-2.1.21-2.0.2.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\com.squareup\kotlinpoet-ksp\2.2.0\8b818db6895976d828936124aa6ee23eea274802\kotlinpoet-ksp-2.2.0.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib\2.1.21\97a0975aa19d925e109537af60eb46902920015c\kotlin-stdlib-2.1.21.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\com.squareup\kotlinpoet-jvm\2.2.0\9360941958f3650a0b9be685bebd6eef290e3b9b\kotlinpoet-jvm-2.2.0.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\13.0\919f0dfe192fb4e063e7dacadee7f8bb9a2672a9\annotations-13.0.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\26.0.2\c7ce3cdeda3d18909368dfe5977332dfad326c6d\annotations-26.0.2.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-reflect\2.1.21\4929da533b3f04a101e4bb9ae0ee51a1d8107614\kotlin-reflect-2.1.21.jar, sonar.js.internal.bundlePath=C:\Users\reimo\AppData\Roaming\JetBrains\IntelliJIdea2025.2\plugins\sonarlint-intellij\plugins\eslint-bridge, sonar.java.enablePreview=false, sonar.java.source=11, sonar.java.binaries=C:\Users\reimo\Local\codigos-local\ktorgen\compiler\build\classes\kotlin\main, sonar.java.jdkHome=C:/Users/reimo/.jdks/jbr-21.0.8, sonar.java.test.libraries=C:\Users\reimo\Local\codigos-local\ktorgen\compiler\build\classes\kotlin\main,C:\Users\reimo\.jdks\jbr-21.0.8\lib\jrt-fs.jar,C:\Users\reimo\Local\codigos-local\ktorgen\annotations\build\classes\kotlin\jvm\main,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\com.google.devtools.ksp\symbol-processing-api\2.1.21-2.0.2\6a7c41da95b72d99ee1277c80951a9160db1f1a5\symbol-processing-api-2.1.21-2.0.2.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\com.squareup\kotlinpoet-ksp\2.2.0\8b818db6895976d828936124aa6ee23eea274802\kotlinpoet-ksp-2.2.0.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib\2.1.21\97a0975aa19d925e109537af60eb46902920015c\kotlin-stdlib-2.1.21.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\com.squareup\kotlinpoet-jvm\2.2.0\9360941958f3650a0b9be685bebd6eef290e3b9b\kotlinpoet-jvm-2.2.0.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\13.0\919f0dfe192fb4e063e7dacadee7f8bb9a2672a9\annotations-13.0.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\org.jetbrains\annotations\26.0.2\c7ce3cdeda3d18909368dfe5977332dfad326c6d\annotations-26.0.2.jar,C:\Users\reimo\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-reflect\2.1.21\4929da533b3f04a101e4bb9ae0ee51a1d8107614\kotlin-reflect-2.1.21.jar}
  activeRules: [13 kubernetes, 249 python, 24 css, 112 kotlin, 245 ipython, 29 secrets, 265 javascript, 26 docker, 28 ruby, 501 java, 46 Web, 14 xml, 155 php, 7 terraform, 267 typescript, 7 cloudformation]
  inputFiles: [
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/FormUrlBodyValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/generator/KotlinpoetGenerator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/ClassLevelValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/HeadReturnNothingValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/KtorGenProcessor.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/extractor/ParameterMapper.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/WildcardParameterValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/ValidationResult.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/PathParameterValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/CookieValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/SuspendOrFlowValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/extractor/FunctionMapper.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/MultipartValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/QueryValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/generator/KtorGenGenerator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/extractor/DeclarationMapper.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/extractor/ClassMapper.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/UrlSyntaxValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/ValidationExt.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/Validator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/ValidatorPipeline.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/HeadersValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/extractor/DeclarationFunctionMapper.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/extractor/DeclarationParameterMapper.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/validators/BodyUsageValidator.kt (UTF-8)
    file:///C:/Users/reimo/Local/codigos-local/ktorgen/compiler/src/main/kotlin/io/github/kingg22/ktorgen/validator/ValidatorStrategy.kt (UTF-8)
  ]
]

 [2025-08-06T14:04:35.03] [sonarlint-analysis-scheduler] INFO sonarlint - Index files
 [2025-08-06T14:04:35.032] [Report about progress of file indexation] INFO sonarlint - 26 files indexed
 [2025-08-06T14:04:35.078] [Progress of the Kotlin analysis] INFO org.sonarsource.analyzer.commons.ProgressReport - 26 source files to be analyzed
 [2025-08-06T14:04:37.674] [Progress of the Kotlin analysis] INFO org.sonarsource.analyzer.commons.ProgressReport - 26/26 source files have been analyzed
 [2025-08-06T14:04:37.675] [Progress of the Java analysis] INFO org.sonarsource.analyzer.commons.ProgressReport - 0 source files to be analyzed
 [2025-08-06T14:04:37.675] [Progress of the Java analysis] INFO org.sonarsource.analyzer.commons.ProgressReport - 0/0 source files have been analyzed
 [2025-08-06T14:04:37.676] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.javascript.analysis.CssRuleSensor - No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
 [2025-08-06T14:04:37.682] [Progress of the Docker analysis] INFO org.sonarsource.analyzer.commons.ProgressReport - 0 source files to be analyzed
 [2025-08-06T14:04:37.683] [Progress of the Docker analysis] INFO org.sonarsource.analyzer.commons.ProgressReport - 0/0 source files have been analyzed
 [2025-08-06T14:04:37.683] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Available processors: 16
 [2025-08-06T14:04:37.683] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Using 16 threads for analysis.
 [2025-08-06T14:04:37.699] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Start fetching files for the text and secrets analysis
 [2025-08-06T14:04:37.699] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Retrieving all except non binary files
 [2025-08-06T14:04:37.699] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.analyzer.Analyzer - Starting the text and secrets analysis
 [2025-08-06T14:04:37.701] [Progress of the text and secrets analysis] INFO org.sonar.plugins.common.MultiFileProgressReport - 26 source files to be analyzed for the text and secrets analysis
 [2025-08-06T14:04:37.714] [Progress of the text and secrets analysis] INFO org.sonar.plugins.common.MultiFileProgressReport - 26/26 source files have been analyzed for the text and secrets analysis
 [2025-08-06T14:04:37.715] [sonarlint-analysis-scheduler] INFO sonarlint - Analysis detected 22 issues and 0 Security Hotspots in 7021ms
 [2025-08-06T14:04:37.803] [sonarlint-analysis-scheduler] ERROR sonarlint - File to analyze was not found in the file system: file:///C:/Users/reimo/Local/codigos-local/ktorgen/.idea/runConfigurations/ktorgen__assemble_.xml
 [2025-08-06T14:04:37.807] [sonarlint-analysis-scheduler] INFO sonarlint - No file to analyze
 [2025-08-06T14:04:37.807] [sonarlint-analysis-scheduler] INFO sonarlint - Analysis detected 0 issues and 0 Security Hotspots in 0ms
 [2025-08-06T14:05:13.129] [sonarlint-analysis-scheduler] ERROR sonarlint - File to analyze was not found in the file system: file:///C:/Users/reimo/Local/codigos-local/ktorgen/.idea/runConfigurations/ktorgen__assemble_.xml
 [2025-08-06T14:05:13.135] [sonarlint-analysis-scheduler] INFO sonarlint - No file to analyze
 [2025-08-06T14:05:13.135] [sonarlint-analysis-scheduler] INFO sonarlint - Analysis detected 0 issues and 0 Security Hotspots in 0ms
 [2025-08-06T14:05:13.142] [SonarLint Server RPC request executor] ERROR sonarlint - File to analyze was not found in the file system: file:///C:/Users/reimo/Local/codigos-local/ktorgen/.idea/runConfigurations/ktorgen__assemble_.xml

Hey @kingg22, thank you for reaching out!

You’re absolutely right—I was able to reproduce the issue by following the steps you described.

I’ve created a ticket on our side, and we plan to address it in the upcoming release on August 19th.

In the meantime, if this is a blocking issue, you can disable the pre-commit analysis and manually trigger the analysis on the specific files you need.

You’ll find this setting by clicking the gear icon next to the Commit and Push button, and uncheck Perform SonarQube for IDE analysis.

Apologies for the inconvenience, and thank you again for your detailed report!

Hi Damien,

I reainstalled the plugin to test again. Currently it is version 10.29.0.81960 for IntelliJ IDEA 2025.2.

Updating to the most recent version did not help, the error still persists.

After clicking the commit button, the “Waiting for SonarQube for IDE Analysis” window shows up and it staysy there for about one minute (which is rather long compared to the time, whe it was working properly).

waiting

After that the “Checks failed“ message appears right below my commit message

Re-running the checks or trying to commit again leads to the same result.

As you can see, the .idea/sonarline.xml file is not a part of the changeset.

I did not configure any file exclusions.

Hey @TunaIII, the fix I mentioned earlier is not yet released. However, I’m not sure if this issue is related to your case - the pom.xml file should normally be analyzed.

Could you please share the verbose logs?

Additionally, it would be helpful if you could briefly describe your project structure (e.g., mono-repo, multiple modules, presence of a .gitignore file, etc.).

Thank you!

Hi Nicolas,

the project is just a simple maven project - there is only one module. Our GitLab installation only uses one repository for every project. There is a .gitignore file, it only contains some of the configuration files created by the IDE.

.gitignore
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn.  Uncomment if using
# auto-import.
.idea/artifacts
.idea/compiler.xml
.idea/jarRepositories.xml
.idea/modules.xml
.idea/*.iml
.idea/modules
*.iml
*.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

#Sonarlint
.idea/sonarlint/
.idea/sonarlint-state.xml

#Maven
/target/

The verbose logs for one failed commit look like this:

verbose log
[2025-08-18T09:50:59.332] [SonarLint Server RPC request executor] DEBUG sonarlint - Post: SonarLint Server RPC request executor 220
 [2025-08-18T09:50:59.332] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command from Scheduler: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@1c607a1c
 [2025-08-18T09:50:59.332] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command from Scheduler to queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@1c607a1c
 [2025-08-18T09:50:59.332] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command in analysis queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@1c607a1c, new size is 7
 [2025-08-18T09:50:59.332] [sonarlint-analysis-scheduler] DEBUG sonarlint - Not picking next command org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@4da33072, is not ready
 [2025-08-18T09:50:59.332] [sonarlint-analysis-scheduler] DEBUG sonarlint - Not picking next command org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@47a01cbe, is not ready
 [2025-08-18T09:50:59.332] [sonarlint-analysis-scheduler] DEBUG sonarlint - Not picking next command org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@3f861dff, is not ready
 [2025-08-18T09:50:59.332] [sonarlint-analysis-scheduler] DEBUG sonarlint - Not picking next command org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@44778b15, is not ready
 [2025-08-18T09:50:59.332] [sonarlint-analysis-scheduler] DEBUG sonarlint - Not picking next command org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@349e60a5, is not ready
 [2025-08-18T09:50:59.332] [sonarlint-analysis-scheduler] DEBUG sonarlint - Not picking next command org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@3755ebc6, is not ready
 [2025-08-18T09:50:59.332] [sonarlint-analysis-scheduler] DEBUG sonarlint - Not picking next command org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@1c607a1c, is not ready
 [2025-08-18T09:51:01.333] [Smart Notifications Polling] DEBUG sonarlint - GET 200 http://ls-sonar01:9000/api/developers/search_events?projects=de.lsd.vwd%3Afix_replay&from=2025-08-18T09%3A50%3A01%2B0200 | response time=13ms
 [2025-08-18T09:51:01.334] [Smart Notifications Polling] DEBUG sonarlint - Storing last event polling in C:\Users\david.sochacki\AppData\Local\JetBrains\IntelliJIdea2025.2\sonarlint\storage\536f6e617251756265\projects\64652e6c73642e7677643a6669785f7265706c6179\last_event_polling.pb
Pre-commit analysis failed
 [2025-08-18T09:52:01.334] [Smart Notifications Polling] DEBUG sonarlint - GET 200 http://ls-sonar01:9000/api/developers/search_events?projects=de.lsd.vwd%3Afix_replay&from=2025-08-18T09%3A51%3A01%2B0200 | response time=14ms
 [2025-08-18T09:52:01.335] [Smart Notifications Polling] DEBUG sonarlint - Storing last event polling in C:\Users\david.sochacki\AppData\Local\JetBrains\IntelliJIdea2025.2\sonarlint\storage\536f6e617251756265\projects\64652e6c73642e7677643a6669785f7265706c6179\last_event_polling.pb

The problem persists in multiple projects. Sometimes (like 5-10 tries) later it works, without changing anything in the commit, so it is not always easy to reproduce.

We’ve just released SonarQube for IntelliJ version 10.30. Could you please update to the latest version and check if the issue still occurs? This release should resolve your problem, @kingg22.

As for your concern, @TunaIII, I’m not convinced that updating will help. I’m continuing to investigate and will get back to you with an update, the information you provided in your last message is quite useful. Thank you for your patience.

Do you still experience this issue @TunaIII? With the current information available, I could not find the reason. If you still have the issue, please provide the full verbose logs of SonarQube for IDE, from the very start. I will then proceed to create a new thread so that we can fully focus on troubleshooting this.

Thanks, Nicolas, I’ll do it when I experience the problem again.

In the meantime, I managed to find a workaround. Deleting the sonarlint.xml file in the .idea folder and rebinding it through ideas settings helps. The file gets recreated and the analysis works as intended. Interestingly, the recreated file is not different from the original on, as git does not show any difference.

1 Like

I appear to be seeing a very similar issue. Using version 10.30.0.82084 I instantly get the same “Checks failed” error when pressing Commit or Commit and Push in IntelliJ. In the verbose logs I just see the following line appear: “Pre-commit analysis cancelled because analysis did not start”.

No actual commit is created. It might be relevant that I am just deleting two Java files in the commit, so it makes sense that there are no actual changes to be analysed.

sonarqube-for-ide.log (264.1 KB)

This is actually quite clear now. I created this ticket to address the problem - thanks a lot for the report and the logs. The fix will be included in our next release.

More broadly, this got me thinking about the user experience we provide. Since introducing this feature in IntelliJ almost 10 years ago, we’ve been forcing commits to be cancelled whenever an error occurs on our side. That doesn’t feel right, as users shouldn’t be blocked by something outside of their control. I’ll take some time to rethink this and may add an option to allow commits to proceed even in case of failure - similar to how we handle pre-commit checks when issues are found.

1 Like

Hello, we have just released SonarQube for IDE version 11.0, which includes the fix. Could you please update and let us know if you’re still able to reproduce the issue?

Thank you!

The issue appears to be resolved here. Thanks for the fast fix!

It still happens from time to time, (just once since teh update), but now it does not prevent me from comitting any more. Thank you.

Thank you for the quick feedback, I’m glad that this issue is fixed. If you enjoy using SonarQube for IDE, feel free to leave a review on our marketplace page, this is always appreciated!

@TunaIII if it regularly happens, or if it’s blocking you in your workflow, please do not hesitate to reach out again with more information (including full verbose logs). We would happily further investigate any issue.