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
2
votes
1 answer

SonarQube authentication failure message during analysis

I have a Java 7/Maven 3 project that I want to use SonarQube with. Because of Java 7, I have to use the sonar-maven-plugin 3.0.2. I'm getting a 401 error when trying to connect: [ERROR] Failed to execute goal…
user3676773
  • 43
  • 1
  • 6
2
votes
1 answer

Sonarqube scm author doesn't auto assign and display garbled when scm account was Chinese

SonarQube Version: 5.6 LTS Plugin: sonar-scm-svn-plugin-1.3 When Author is Chinese, it can't be auto-assigned, and the Chinese characters are shown as "_" in the source viewer. How to fix this problem?
elmo
  • 61
  • 5
2
votes
0 answers

How to create modules while using MSBuild.SonarQube.Runner?

I am trying to analyze a complex code which include C# and C++ segments, earlier when I was using sonar-runner I had created modules for C++ part of code in the sonar-project.properties file, but now after migrating to MSBuild.SonarQube.Runner, I…
2
votes
1 answer

SonarQube :: Current version is too old. Please upgrade to Long Term Support version firstly

I downloaded sonarqube-5.6 and configured the sonar.properties . My mysql version is 5.6 and java version is 1.8. when I start sonar getting error current version is too old , while my sonar is 5.6. Here is error log and sonar.properties 2016.08.03…
Vipin Sharma
  • 421
  • 5
  • 24
2
votes
0 answers

Unique constraint violation thrown by sonarqube 5.6 analysis

I've upgraded to sonarqube-5.6 and it seems to be working ok. One analysis is failing repeatedly though and the logs give this error. 016.07.28 21:57:03 ERROR [o.s.s.c.t.CeWorkerCallableImpl] Failed to execute task…
Matt
  • 8,367
  • 4
  • 31
  • 61
2
votes
0 answers

Executing StartSoner.bat is stucked after "Process[ce] is up" line

I'm running StartSonar.bat file. it process up to line "2016.06.22 09:36:12 INFO app[o.s.p.m.Monitor] Process[ce] is up" line and stucked. but as i see some errors are encountered before that. how to resole this and getting StartSonar.bat…
Aravi
  • 21
  • 2
2
votes
1 answer

SonarQube 5 Service account permissions

We are currently running SonarQube 5.2 and are performing a test upgrade to SonarQube 5.6, we have had this issue with Sonar 5.4 as well, but never upgraded in production. When we use the same service account on the same server in the same root…
Nico
  • 627
  • 7
  • 23
2
votes
3 answers

SonarQube 5.6 LDAP Group authentication

We have just performed an upgrade to SonarQube 5.6 in a test environment. The current Sonar 5.2 is work fine in production with LDAP authentication. I can login with my AD credentials, but i have no group membership when I check my permissions…
Nico
  • 627
  • 7
  • 23
1
vote
1 answer

SonarQube background tasks runs past 4 hour

We are upgrading our SonarQube from 4.5.X to 5.6.X, compute engine is a new concept and on the paper is pretty shinny. But when put to work, it does not perform much! help me get through if you had made it I choose a test projects that was scanned…
Shiva
  • 717
  • 9
  • 22
1
vote
1 answer

How to avoid OutOfMemoryErrors when processing big analysis reports?

Running SonarQube 5.6.6 from Jenkins on CentOS 7.3, I got the following error: 2017.09.01 19:05:16 ERROR [o.s.s.c.t.CeWorkerCallableImpl] Failed to execute task AV485bp0qXlQ-QPWWE9A java.lang.OutOfMemoryError: Java heap space 2017.09.01…
HenryK
  • 51
  • 2
  • 7
1
vote
1 answer

How were the default values of the remediation function estimated in SonarQube?

We are using SonarQube 5.6 LTS in my project. There is a remediation function(effort required to fix the violation) for each issue, a value given in minutes. I want to understand how, the effort estimation was done. For instance, a Java issue, Math…
Ayesh Salahuddin
  • 75
  • 1
  • 2
  • 10
1
vote
1 answer

sonar analysis for .net core project

Hi all am using sonarqube v5.6.6 plugins: Sonarqube v5.6.6 sonar fxcop plugin v1.0 Sonar c# v6.0 I am trying to do sonar analysis for .Net core(v1.1) project(c# language) build using VS2017 community edition. i searched in net regarding this issue…
1
vote
1 answer

java.lang.NoSuchMethodError: org.sonar.api.resources.Project.getConfiguration()Lorg/apache/commons/configuration/Configuration

Hi I am getting the below error when running sonarqube analysis on the java project and trying to get the PDF report of it. The sonarqube analysis is run though Jenkins Job and the analysis runs fine but below error is displaying during PDF report…
Anurag Ghosh
  • 65
  • 1
  • 2
  • 7
1
vote
0 answers

Sonarqube 5.6.3 reopens issue marked as won't fix

we are using SonarQube version 5.6.3 and it is installed on linux server( CentOS release 6.8 ). Even after marking issue as "Won't Fix" manually, the issue seems to get open after another analysis in jenkins ( Jenkins ver. 1.642.3) . Out of many…
1
vote
1 answer

In sonarqube 5.6.6. I am unable to register secret key

I am following the instructions here: https://docs.sonarqube.org/display/SONAR/Settings+Encryption I am in step 2. I have created the secret file with a custom path. I set the sonar.secretKeyPath property appropriately and rebooted the…
bkilgore
  • 129
  • 1
  • 7