SonarLint not detect java issues in intellij

Hello…
Hope you can help me… Thanks in advance
I installed sonarlint in intellij, and binding sonarlint to my sonarqube server succesfully, and my project to it´s respective in the sonarserver, but qhen i run an analysis it doesn´t show any erros…

here it´s the log…

Trigger: ACTION
[Action] 1 file(s) submitted
Configuring analysis with org.sonarlint.intellij.analysis.JavaAnalysisConfigurator
Using connection 'Sonar_MTGMOF_MCS' for project 'Sonar_MTGMOF_MCS'
Analysing 'USDStackView.java'...
Starting analysis with configuration:
[
  projectKey: Sonar_MTGMOF_MCS
  baseDir: /home/dev/projects/mtgmof/MTGMCS-SRC/EUD4S2K/Source/bundles
  extraProperties: {sonar.java.target=14, sonar.java.source=14, sonar.java.libraries=/usr/lib64/jvm/java-11-openjdk-11/lib/jrt-fs.jar, sonar.java.jdkHome=/usr/lib64/jvm/java-11-openjdk-11, sonar.java.test.libraries=/usr/lib64/jvm/java-11-openjdk-11/lib/jrt-fs.jar}
  inputFiles: [
    file:///home/dev/projects/mtgmof/MTGMCS-SRC/EUD4S2K/Source/bundles/esa.egos.s2k.eud.display.obsm/src/esa/egos/s2k/eud/display/obsm/views/USDStackView.java (UTF-8)
  ]
]

 

Start analysis
Index files
Language of file 'file:///home/dev/projects/mtgmof/MTGMCS-SRC/EUD4S2K/Source/bundles/esa.egos.s2k.eud.display.obsm/src/esa/egos/s2k/eud/display/obsm/views/USDStackView.java' is detected to be 'Java'
1 file indexed
Available languages:
  * PHP => "php"
  * Python => "py"
  * Java => "java"
  * XML => "xml"
  * JavaScript => "js"
Quality profiles:
  * java: 'BSSC_JAVA' (33 rules)
  * js: 'Sonar way' (87 rules)
  * php: 'Sonar way' (87 rules)
  * py: 'GMV Python (GMV-SGC-NOR-008)' (23 rules)
  * xml: 'Sonar way' (4 rules)
Execute Sensor: JavaSquidSensor
Configured Java source version (sonar.java.source): 14
JavaClasspath initialization
JavaClasspath initialization (done) | time=0ms
JavaTestClasspath initialization
JavaTestClasspath initialization (done) | time=0ms
----- Classpath analyzed by Squid:
/usr/lib64/jvm/java-11-openjdk-11/lib/jrt-fs.jar
-----
----- Classpath analyzed by Squid:
/usr/lib64/jvm/java-11-openjdk-11/lib/jrt-fs.jar
-----
Java Main Files AST scan
1 source files to be analyzed
Java Main Files AST scan (done) | time=68ms
1/1 source files have been analyzed
Java Test Files AST scan
0 source files to be analyzed
Java Test Files AST scan (done) | time=0ms
0/0 source files have been analyzed
'PHP sensor' skipped because there is no related file in current project
'Analyzer for "php.ini" files' skipped because there is no related file in current project
'Python Squid Sensor' skipped because there is no related file in current project
'JavaXmlSensor' skipped because one of the required properties is missing
'XML Sensor' skipped because there is no related file in current project
'SonarJS' skipped because there is no related file in current project
'ESLint-based SonarJS' skipped because there is no related file in current project
Done in 100ms

 

Processed 0 issues in 0 ms
Found 0 issues

again … thanks… any help will be appreciatred
Leo

1 Like

Hi @leobip ,

Can you provide your machine’s information?

  • OS version
  • IntelliJ IDEA version
  • SonarLint plugin version
  • SonarQube version

Joe