Questions tagged [sonarqube5.6]

This is the SonarQube 5.6.x LTS specific tag. Use it in addition to the sonarqube tag if your question is specific to SonarQube 5.6.x LTS — not just 5.x.

SonarQube (formerly Sonar) is a quality management platform focusing on continuous analysis of source code quality.

Information

This tag is specific for the 5.6 LTS version of SonarQube, which was released on the 3rd June 2016. See the tag for general SonarQube questions.

Notable changes:

  • Requires Java 8
  • Fixing the Leak
  • Adding More for Developers
  • Increasing Scalability and Security
86 questions
13
votes
2 answers

Sonar fails :[ERROR] Unable to create symbol table for

When I run analysis with SonarQube 5.6.5 I receive the following exception on java source. I'm running this analysis with maven project: mvn sonar:sonar And it is failing for almost every jar but it passes for superpom. I haven't written any source…
Divyanshu
  • 131
  • 1
  • 1
  • 5
6
votes
1 answer

Elasticsearch bulk index error on Sonar startup

Would someone be able to assist on the error below? It is occurring on the start up of SonarQube 5.6 running on Java 8u71 and an Oracle database. This instance was just update from 5.2. I had the Puppet addon and uninstalled it as an attempt to…
DuckieHo
  • 95
  • 1
  • 5
5
votes
1 answer

Disabling SCM in sonar.properties doesn't work

It seems that adding sonar.scm.disabled=true to the conf doesn't not work. The sonar-scanner will report the following error: ERROR: Error during SonarQube Scanner execution java.lang.IllegalStateException: Error when executing blame for file …
mangobowl
  • 81
  • 1
  • 1
  • 6
5
votes
5 answers

SonarQube default credentials for internal H2 db?

I'm running SonarQube 5.6.1 and am trying to save a view that I created. To do that, I want to take a peek at H2 DB that Sonar (according to it's own readme) uses for internal embedded DB. I've ran the H2 jar file and in console was able to log in…
4
votes
1 answer

Change the web access log location for SonarQube?

Is it possible to change the web access log location for SonarQube (version 5.6.2) ? I think we can enable/disable the web access logging and change the log pattern using the sonar.properties file but I couldn't find a way to change the access log…
4
votes
3 answers

sonarqube 5.6 & LDAP 2.0 failing to authenticate

I am testing an upgrade to sonarqube 5.6 and have installed the ldap 2.0 plugin & copied the relevant configuration forward to my test 5.6 setup. The relevant config…
Matt
  • 8,367
  • 4
  • 31
  • 61
3
votes
1 answer

Unable to Activate Coding Rules in new Quality Profile

I'm attempting to create a clone of the existing java Sonar Way Quality Profile. I'm following the instructions at http://docs.sonarqube.org/display/SONAR/Quality+Profiles for "How do I ... Copy the rules from one profile to another?" SQ 5.6/Java…
Darrin
  • 55
  • 1
  • 3
3
votes
0 answers

What is the replacement for these deprecated methods, in Sonar Java API 5.6?

There are some methods in my application using Sonar Java API 4.2. But, I have upgraded to 5.6.1 and unable to implement the replacements for these methods. org.sonar.api.resources.Project.path(); I tried using…
Dravidian
  • 339
  • 2
  • 9
  • 19
3
votes
1 answer

sonarqube failed to start

I am currently trying to install sonarqube to try it, but I am unable to make it start. My OS is Ubuntu 64 bits. What I did : First I wanted to try it with all basics settings so I downloaded the last version of sonarqube on their website (5.6).…
Whin3
  • 675
  • 2
  • 9
  • 27
3
votes
1 answer

HTTPS failing after Sonar Upgrade

I just completed the upgrade from SonarQube 5.3 to 5.6. I copied my key/values from the prior sonar.properties. Sonar is able to start up on HTTP but is generating errors when attempting to start up only with previously working HTTPS. My…
DuckieHo
  • 95
  • 1
  • 5
2
votes
2 answers

Upload of Sonar report fails

I hava a platform based on sonarqube, when someone commit their java code ,it will trigger sonar scan committed files, use command like : mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar…
Chunli Mao
  • 43
  • 6
2
votes
1 answer

SQALE Plugin for Sonarqube 5.6.6 LTS

We are trying to upgrade from 4.5.6 to 5.6.6 LTS. Already have a commercial license for SQALE. The latest version of Sqale plugin 2.7 ( http://www.sonarplugins.com/sqale) is not working on 5.6.6. Is there a version available for 5.6.6?
Upen
  • 1,388
  • 1
  • 22
  • 49
2
votes
1 answer

False postive for fb-contrib:SEO_SUBOPTIMAL_EXPRESSION_ORDER?

SonarQube thinks the following code violates rule fb-contrib:SEO_SUBOPTIMAL_EXPRESSION_ORDER (note, the code example is simplified and not logical): class Foo { boolean baz; boolean foo() { return bar() && baz==Baz.VALUE; //Violation…
Alix
  • 2,630
  • 30
  • 72
2
votes
0 answers

SonarQube 5.6 - update plugin behind proxy (HTTPS) and web context

Using the update center behind a proxy with an associated context gives me this known error: Fail to download the plugin (css, version 3.1) from https://github.com/racodond/sonar-css-plugin/releases/download/3.1/sonar-css-plugin-3.1.jar Error is :…
maría
  • 21
  • 1
2
votes
2 answers

Code Coverage not populated after sonar analysis

I am using sonarqube5.6.1. I have a multi module project for which i am running sonar analysis using the below command. mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.1.1:sonar -Dsonar.host.url=http://bamboo.in.XXX.com:8085…
Syed
  • 61
  • 2
  • 10
1
2 3 4 5 6