The main branch of this project is empty

SonarQube 8.0 , Scanner - 4.2 for Cpp file
I think it is not loading sonar-cfamily-plugin.
As I have downloaded two Enterprise versions 7.9 and 8.0
7.9 had issue so currently using 8.0

Below are logs of Soncar Scanner

INFO: Scanner configuration file: C:\SonarQube\sonar-scanner-cli-\sonar-scanner-\bin…\conf\
INFO: Project root configuration file: NONE
INFO: SonarQube Scanner
INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
INFO: Windows Server 2012 R2 6.3 amd64
INFO: User cache: C:\Users\girmeamo.sonar\cache
INFO: SonarQube server 8.0.0
INFO: Default locale: “en_US”, source code encoding: “UTF-8”
INFO: Load global settings
INFO: Load global settings (done) | time=97ms
INFO: Server id: BF41A1F2-AW5p0whphH0j2xjscQrW
INFO: User cache: C:\Users\girmeamo.sonar\cache
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=74ms
INFO: Load/download plugins (done) | time=182ms
INFO: Process project properties
INFO: Process project properties (done) | time=10ms
INFO: Execute project builders
INFO: Execute project builders (done) | time=5ms
INFO: Project key: Logsitics_Ship
INFO: Base dir: D:\fenix\girmeamo\Repos\Fenix\Logistics\Shipping\blgeneraldisp
INFO: Working dir: D:\fenix\girmeamo\Repos\Fenix\Logistics\Shipping\blgeneraldisp.scannerwork
INFO: Load project settings for component key: ‘Logsitics_Ship’
INFO: Load project settings for component key: ‘Logsitics_Ship’ (done) | time=33ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=84ms
INFO: Load active rules
INFO: Load active rules (done) | time=1781ms
INFO: Indexing files…
INFO: Project configuration:
INFO: 48 files indexed
INFO: 0 files ignored because of scm ignore settings
INFO: ------------- Run sensors on module Logsitics_Ship
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=37ms
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/C:/Users/girmeamo/.sonar/cache/866bb1adbf016ea515620f1aaa15ec53/sonar-javascript-plugin.jar) to method
WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=7ms
INFO: Sensor JavaXmlSensor [java]
INFO: Sensor JavaXmlSensor [java] (done) | time=3ms
INFO: Sensor HTML [web]
INFO: Sensor HTML [web] (done) | time=8ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=4ms
INFO: CPD Executor Calculating CPD for 0 files
INFO: CPD Executor CPD calculation finished (done) | time=0ms
INFO: Analysis report generated in 164ms, dir size=74 KB
INFO: Analysis report compressed in 49ms, zip size=9 KB
INFO: Analysis report uploaded in 46ms
INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=Logsitics_Ship
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://localhost:9000/api/ce/task?id=AW6CHhkK83Fy1bIsiNWk
INFO: Analysis total time: 5.619 s
INFO: ------------------------------------------------------------------------
INFO: ------------------------------------------------------------------------
INFO: Total time: 7.261s
INFO: Final Memory: 12M/48M
INFO: ------------------------------------------------------------------------


Hi @AmolGirme,

could you please run with property sonar.verbose=true and share the log? It is going to show the plugins used.

1 Like

Hello @mpaladin,
I verified sonar-cfamily-pluginis installed in 7.9 but not under 8.0.

And I am not able to install or not able to start server after copying sonar-cfamily-plugin jar file.
Even I am not able to uninstall Sonar-cfamily

Hi @AmolGirme,

If you manually copy sonar-cfamily-plugin jar file into extensions/plugins/ folder you need to remove the old sonar-cfamily-plugin jar file or SonarQube wouldn’t start.

Hello @mpaladin
I have updated it from marketplace so only latest jar file was there.
Is it possible to have video (screen share) call ?
There is one more issue as mention below.

Our license will expire on 26.11.2019 :frowning: .

Hi @AmolGirme,

I am a bit lost now, what is the state of this topic?

Hey @AmolGirme did you sort out the above problem, I am encountering similar problem

Hello @weakon123-stack,
Yes it was because of two version Enterprise 7.9 and 8.
And in 8 version I was not able to install sonar-cfamily-plugin.
So please check that cfamily plugin is installed to avoid issue-“The main branch of this project is empty”.

Hi @AmolGirme,

If you download the enterprise package sonar-cfamily is already bundled inside.

Thanks I really appreciate your assistance!!!

I am marking this topic as solved as there are no news from @AmolGirme.

Hello Massimo,
yes this topic is closed, Thank you!!