Issue with analyzing Keil project

  • Community Edition
  • Version 8.4.1 (build 35646).
    I am trying to analyze Keil project. ave the build wrapper and the build goes successfully. But U=I get the following error
    .c’ indexed with no language
    .h’ indexed with no language

Hi,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.4.1 → 8.9.9 → 9.6 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

Upgraded SonarQube instance to * Version 9.6.1. Community edition. Still see the same issue.

.c’ indexed with no language
.h’ indexed with no language

This is a snippet from the logs. Do not see .c or .h in the available languages. Is this causing the problem? What should be done to resolve this?

23:43:13.658 DEBUG: Available languages:
23:43:13.665 DEBUG:   * Python => "py"
23:43:13.665 DEBUG:   * Go => "go"
23:43:13.665 DEBUG:   * Kotlin => "kotlin"
23:43:13.665 DEBUG:   * Terraform => "terraform"
23:43:13.665 DEBUG:   * CloudFormation => "cloudformation"
23:43:13.665 DEBUG:   * Kubernetes => "kubernetes"
23:43:13.665 DEBUG:   * JavaScript => "js"
23:43:13.665 DEBUG:   * TypeScript => "ts"
23:43:13.666 DEBUG:   * CSS => "css"
23:43:13.666 DEBUG:   * Ruby => "ruby"
23:43:13.666 DEBUG:   * Scala => "scala"
23:43:13.666 DEBUG:   * C# => "cs"
23:43:13.666 DEBUG:   * Java => "java"
23:43:13.666 DEBUG:   * HTML => "web"
23:43:13.666 DEBUG:   * JSP => "jsp"
23:43:13.666 DEBUG:   * Flex => "flex"
23:43:13.666 DEBUG:   * XML => "xml"
23:43:13.666 DEBUG:   * PHP => "php"
23:43:13.666 DEBUG:   * Text => "text"
23:43:13.666 DEBUG:   * VB.NET => "vbnet"
23:43:13.667 DEBUG:   * YAML => "yaml"
23:43:13.667 DEBUG:   * JSON => "json"


23:43:16.683 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : **/*.py
23:43:16.684 DEBUG: Declared extensions of language Go were converted to sonar.lang.patterns.go : **/*.go
23:43:16.684 DEBUG: Declared extensions of language Kotlin were converted to sonar.lang.patterns.kotlin : **/*.kt
23:43:16.684 DEBUG: Declared extensions of language Terraform were converted to sonar.lang.patterns.terraform : **/*.tf
23:43:16.684 DEBUG: Declared extensions of language CloudFormation were converted to sonar.lang.patterns.cloudformation : 
23:43:16.684 DEBUG: Declared extensions of language Kubernetes were converted to sonar.lang.patterns.kubernetes : 
23:43:16.684 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : **/*.js,**/*.jsx,**/*.mjs,**/*.vue
23:43:16.685 DEBUG: Declared extensions of language TypeScript were converted to sonar.lang.patterns.ts : **/*.ts,**/*.tsx
23:43:16.685 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : **/*.css,**/*.less,**/*.scss
23:43:16.685 DEBUG: Declared extensions of language Ruby were converted to sonar.lang.patterns.ruby : **/*.rb
23:43:16.685 DEBUG: Declared extensions of language Scala were converted to sonar.lang.patterns.scala : **/*.scala
23:43:16.685 DEBUG: Declared extensions of language C# were converted to sonar.lang.patterns.cs : **/*.cs
23:43:16.685 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : **/*.java,**/*.jav
23:43:16.688 DEBUG: Declared extensions of language HTML were converted to sonar.lang.patterns.web : **/*.html,**/*.xhtml,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml,**/*.cmp,**/*.twig
23:43:16.688 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : **/*.jsp,**/*.jspf,**/*.jspx
23:43:16.689 DEBUG: Declared extensions of language Flex were converted to sonar.lang.patterns.flex : **/*.as
23:43:16.689 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : **/*.xml,**/*.xsd,**/*.xsl
23:43:16.689 DEBUG: Declared extensions of language PHP were converted to sonar.lang.patterns.php : **/*.php,**/*.php3,**/*.php4,**/*.php5,**/*.phtml,**/*.inc
23:43:16.689 DEBUG: Declared extensions of language Text were converted to sonar.lang.patterns.text : **/*.sonarshouldnotexistextension
23:43:16.690 DEBUG: Declared extensions of language VB.NET were converted to sonar.lang.patterns.vbnet : **/*.vb
23:43:16.690 DEBUG: Declared extensions of language YAML were converted to sonar.lang.patterns.yaml : **/*.yaml,**/*.yml
23:43:16.690 DEBUG: Declared extensions of language JSON were converted to sonar.lang.patterns.json : **/*.json

In fact, I missed something important from your first post.

  • Community Edition
  • Version 8.4.1 (build 35646).

C/C++ analysis is only available in the Developer Edition and higher. Community Edition does not support C/C++ analysis.