Exception within dev container: "No files nor directories matching"

Please provide

  • Operating system: macOS 26.5.1
  • SonarQube for IntelliJ plugin version: SonarQube for IDE 12.3.0.84775
  • IntelliJ version: IntelliJ IDEA 2026.1.3 (Build #IU-261.25134.95, built on June 3, 2026)
  • Programming language you’re coding in: Java
  • Is connected mode used: Yes
    • SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?): SonarQube Server Enterprise Edition v2026.1.3 (123084)

And a thorough description of the problem / question:

I run my Java project with IntelliJ within a dev container. The IntelliJ setting “open devcontainer projects natively” is enabled. Inside the dev container the SonarQube plugin does not work and fails with an IllegalStateException.
Here is the short cause:

[2026-06-23T16:36:22.985] [sonarlint-analysis-scheduler] ERROR org.sonar.java.classpath.AbstractClasspath - Invalid value for 'sonar.java.binaries' property.
 [2026-06-23T16:36:22.985] [sonarlint-analysis-scheduler] ERROR sonarlint - Error executing sensor: 'JavaSensor'
java.lang.IllegalStateException: No files nor directories matching '/$devcontainer.ij/95ff892a8403@u~var~run~docker.sock/home/<user>/<myApp>/target/classes'
	at org.sonar.java.classpath.AbstractClasspath.getFilesFromProperty(AbstractClasspath.java:125)

The path is not correctly interpreted. At the beginning of the log is a warning with another exception regarding “git blame” caused by a similar problem.

[2026-06-23T16:36:22.951] [sonarlint-analysis-scheduler] WARN sonarlint - Could not execute command: [git blame --since='2025-06-23T14:36:22.946136Z' /%24devcontainer.ij/95ff892a8403%40u%7Evar%7Erun%7Edocker.sock/home/<user>/<myApp>/src/main/java/de/app/config/DatabaseResetListener.java --line-porcelain --encoding=UTF-8]
java.io.IOException: Cannot run program "git" (in directory "/$devcontainer.ij/95ff892a8403@u~var~run~docker.sock/home/<user>/<myApp>"): Exec failed, error: 2 (No such file or directory)

Inside the dev container I can execute following command successfully from an IntelliJ terminal:

git blame /home/<user>/<myApp>/src/main/java/de/<myApp>/config/DatabaseResetListener.java

I used <myApp> and <user> as placeholders for the actual names.

The (redacted) sonar log output is attached.
sonarLog.txt (122.6 KB)

Here is a screenshot from IntelliJ:

I tried also to set the “Analysis Property” sonar.java.binaries=target/classes

But this result in following problem: “The same property sonar.java.binaries was contributed by multiple configurators with different values

[2026-06-24T11:36:43.203] [SonarLint Server RPC request executor] DEBUG sonarlint - Post: SonarLint Server RPC request executor 3548
[2026-06-24T11:36:43.203] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command from Scheduler: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@3735da26
[2026-06-24T11:36:43.203] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command from Scheduler to queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@3735da26
[2026-06-24T11:36:43.203] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command in analysis queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@3735da26, new size is 1
[2026-06-24T11:36:43.203] [sonarlint-analysis-scheduler] DEBUG sonarlint - Picked command from the queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@3735da26, 0 remaining
 [2026-06-24T11:36:43.203] [sonarlint-analysis-scheduler] INFO sonarlint - Git Repository not found for /$devcontainer.ij/95ff892a8403@u~var~run~docker.sock/home/<user>/<myApp>. The path /$devcontainer.ij/95ff892a8403@u~var~run~docker.sock/home/<user>/<myApp> is not in a Git repository
Configuring analysis with org.sonarlint.intellij.java.JavaAnalysisConfigurator
The same property sonar.java.binaries was contributed by multiple configurators with different values: /$devcontainer.ij/95ff892a8403@u~var~run~docker.sock/home/<user>/<myApp>/target/classes / target/classes