title: Unable to see code coverage tab on sonar dashboard for selected applications
body: <p>I have couple of unit testcases written in my project. On the sonar dashboard the code coverage tab is completely missing. 
  For some other projects the sonar dashboard is showing expected code coverage though. </p>
  
  <p>the pom file of project is as attached : </p>
  
  <pre><code>    &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;build-info&lt;/goal&gt;
                              &lt;goal&gt;repackage&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.19.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;redirectTestOutputToFile&gt;true&lt;/redirectTestOutputToFile&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.sonarsource.scanner.maven&lt;/groupId&gt;
                  &lt;artifactId&gt;sonar-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.4.0.905&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.jacoco&lt;/groupId&gt;
                  &lt;artifactId&gt;jacoco-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;0.8.2&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;default-prepare-agent&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;prepare-agent&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                      &lt;execution&gt;
                          &lt;id&gt;default-report&lt;/id&gt;
                          &lt;phase&gt;prepare-package&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;report&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;archive&gt;
                          &lt;manifest&gt;
                              &lt;mainClass&gt;${start-class}
                              &lt;/mainClass&gt;
                          &lt;/manifest&gt;
                      &lt;/archive&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
  
  </code></pre>
  
  <p>How can it be enabled ? </p>
  
  <p>Adding logs for the error related to used java version but unable to identify the root cause for the same. As provided the pom.xml is using java 11 for compiler source and compiler target. </p>
  
  <p>Adding logs where error is being logged due to java versioning : </p>
  
  <pre><code> Unable to create symbol table for : /home/jenkins/agent/workspace/_checkingBuild/src/main/java/com/test/test2/MyServices/config/AppConfig.java
  java.lang.IllegalArgumentException: Unsupported class file major version 55
      at org.objectweb.asm.ClassReader.&lt;init&gt;(ClassReader.java:166)
      at org.objectweb.asm.ClassReader.&lt;init&gt;(ClassReader.java:148)
      at org.objectweb.asm.ClassReader.&lt;init&gt;(ClassReader.java:136)
      at org.sonar.java.resolve.BytecodeCompleter.loadClass(BytecodeCompleter.java:242)
      at org.sonar.java.resolve.Symbols.&lt;init&gt;(Symbols.java:176)
      at org.sonar.java.resolve.SemanticModel.createFor(SemanticModel.java:60)
      at org.sonar.java.model.VisitorsBridge.visitFile(VisitorsBridge.java:109)
      at org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:96)
      at org.sonar.java.ast.JavaAstScanner.scan(JavaAstScanner.java:68)
      at org.sonar.java.JavaSquid.scanSources(JavaSquid.java:116)
      at org.sonar.java.JavaSquid.scan(JavaSquid.java:110)
      at org.sonar.plugins.java.JavaSquidSensor.execute(JavaSquidSensor.java:93)
      at org.sonar.scanner.sensor.SensorWrapper.analyse(SensorWrapper.java:53)
      at org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:88)
      at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:82)
      at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:68)
      at org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:88)
      at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:180)
      at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
      at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
      at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:302)
      at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:297)
      at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:271)
      at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
      at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
      at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:48)
      at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:84)
      at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
      at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
      at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:121)
      at org.sonar.batch.bootstrapper.Batch.doExecuteTask(Batch.java:116)
      at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:71)
      at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
      at com.sun.proxy.$Proxy27.execute(Unknown Source)
      at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:171)
      at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:128)
      at org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute(ScannerBootstrapper.java:63)
      at org.sonarsource.scanner.maven.SonarQubeMojo.execute(SonarQubeMojo.java:108)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
  
  </code></pre>
  
  <p>Adding logs for reference. Getting this warning for every java class : </p>
  
  <pre><code>[WARNING] Exception during analysis of file /home/jenkins/agent/workspace/_checkingMyservices/target/classes/com/test/test2/myservices/repository/ImageUrl.class
  java.io.IOException: Error while analyzing /home/jenkins/agent/workspace/_checkingMyservices/target/classes/com/test/test2/myservices/repository/ImageUrl.class.
      at org.jacoco.core.analysis.Analyzer.analyzerError(Analyzer.java:166)
      at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:138)
      at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:161)
      at org.sonar.plugins.jacoco.JacocoReportReader.analyzeClassFile(JacocoReportReader.java:153)
      at org.sonar.plugins.jacoco.JacocoReportReader.analyzeFiles(JacocoReportReader.java:116)
      at org.sonar.plugins.jacoco.UnitTestAnalyzer.readExecutionData(UnitTestAnalyzer.java:126)
      at org.sonar.plugins.jacoco.UnitTestAnalyzer.analyse(UnitTestAnalyzer.java:95)
      at org.sonar.plugins.jacoco.JaCoCoSensor.execute(JaCoCoSensor.java:77)
      at org.sonar.scanner.sensor.SensorWrapper.analyse(SensorWrapper.java:53)
      at org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:88)
      at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:82)
      at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:68)
      at org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:88)
      at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:180)
      at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
      at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
      at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:302)
      at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:297)
      at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:271)
      at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
      at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
      at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:48)
      at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:84)
      at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
      at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
      at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:121)
      at org.sonar.batch.bootstrapper.Batch.doExecuteTask(Batch.java:116)
      at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:71)
      at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
      at com.sun.proxy.$Proxy27.execute(Unknown Source)
      at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:171)
      at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:128)
      at org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute(ScannerBootstrapper.java:63)
      at org.sonarsource.scanner.maven.SonarQubeMojo.execute(SonarQubeMojo.java:108)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
  Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 55
      at org.objectweb.asm.ClassReader.&lt;init&gt;(ClassReader.java:166)
      at org.objectweb.asm.ClassReader.&lt;init&gt;(ClassReader.java:148)
      at org.objectweb.asm.ClassReader.&lt;init&gt;(ClassReader.java:136)
      at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:117)
      at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:136)
      ... 59 common frames omitted
  
  </code></pre>
  
  <p>The build is still getting successfully created. 
  Also, from the logs it is quite clear that java version is the issue. but unable to identify, what is causing the issue. </p>