Gcov Code Coverage Integration exception with bazel

I create my test project to upload it via gcov to sonar.
The gcov file is generated by 1.0 bazel.
Sonar version is Developer Edition V8.

During upload I got Null point exception in the log:

14:57:35.741 DEBUG: ‘VB.NET Unit Test Results Import’ skipped because there is no related file in current project
14:57:35.741 DEBUG: Sensors : JavaXmlSensor -> HTML -> gcov -> JaCoCo XML Report Importer -> CFamily -> JavaSecuritySensor -> CSharpSecuritySensor -> PhpSecuritySensor
14:57:35.742 INFO: Sensor JavaXmlSensor [java]
14:57:35.743 INFO: Sensor JavaXmlSensor [java] (done) | time=1ms
14:57:35.743 INFO: Sensor HTML [web]
14:57:35.745 INFO: Sensor HTML [web] (done) | time=2ms
14:57:35.745 INFO: Sensor gcov [cpp]
14:57:35.747 INFO: Parsing /home/sheng.wang/CLionProjects/cpp-template/gcov/utility.pic.gcda.gcov
14:57:35.758 INFO: ------------------------------------------------------------------------
14:57:35.758 INFO: EXECUTION FAILURE
14:57:35.758 INFO: ------------------------------------------------------------------------
14:57:35.759 INFO: Total time: 8.377s
14:57:35.798 INFO: Final Memory: 21M/120M
14:57:35.799 INFO: ------------------------------------------------------------------------
14:57:35.799 ERROR: Error during SonarQube Scanner execution
java.lang.NullPointerException
at org.sonar.api.batch.fs.internal.predicates.DefaultFilePredicates.is(DefaultFilePredicates.java:136)
at com.sonar.cpp.plugin.gcov.GcovSensor.lambda$execute$2(GcovSensor.java:56)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.base/java.util.Iterator.forEachRemaining(Unknown Source)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
at com.sonar.cpp.plugin.gcov.GcovSensor.scan(GcovSensor.java:75)
at com.sonar.cpp.plugin.gcov.GcovSensor.execute(GcovSensor.java:52)
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:59)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:77)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:59)
at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:122)
at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:387)
at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:383)
at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:346)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:122)
at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:141)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:122)
at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
at org.sonar.batch.bootstrapper.BGreeting.pic.gcda.gcov.txt (102 Bytes) atch.execute(Batch.java:66)
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(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
at com.sun.proxy.$Proxy0.execute(Unknown Source)
at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
at org.sonarsource.scanner.cli.Main.main(Main.java:61)

sonar-project.properties content:
sonar.projectKey=xxxxx
sonar.projectName=Code Coverage Test
sonar.projectVersion=1.0

sonar.sources=src

The build-wrapper output dir

sonar.cfamily.build-wrapper-output=bw-outputs
sonar.cfamily.gcov.reportsPath=gcov

Encoding of the source files

sonar.sourceEncoding=UTF-8

Hi @shengwang1028,

would you be able to share this file?