Questions tagged [sonarqube5.2]

This is the SonarQube 5.2.x specific tag. Use it in addition to the sonarqube tag if your question is specific to SonarQube 5.2.x — 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.2 version of SonarQube, which was released on the 2nd November 2015. See the tag for general SonarQube questions.

Notable changes:

  • Scanners no longer access the database
  • Enhanced monitoring
  • Better issue management
  • Improved UI for global admin
  • Design related features were dropped
45 questions
6
votes
1 answer

SonarQube 5.3 Background Task Fails with No Log in Dashboard

I know this is similar to sonarqube 5.2 background tasks sometimes fail with no log - however I cannot comment (due to lack of reputation points) to add some more information, so tried adding this post as an answer, but had it deleted by the…
Rohan Pynor
  • 61
  • 1
  • 4
5
votes
2 answers

SonarQube ecosystem upgrades (SonarQube and SonarLint)

We are using SonarQube 5.1 and want to upgrade to SonarQubee 5.2 or 5.3 due to some issues around issue assign area of SonarQube 5.1 We are also using SonarQube eclipse plugin 3.5.0 I noticed recently that SonarQube eclipse plugin 3.5.0 is not…
Tarun Singh
  • 127
  • 7
5
votes
1 answer

Failed to execute goal... code=500

I have upgraded to SonarQube 5.2 and when I try to run the analysis, I get the error below. If I try to browse to the URL in the error message I get a page with {"errors":[{"msg":""}]}. I am using sonar-maven-plugin 2.7.1 (from…
mmilone
  • 85
  • 5
4
votes
1 answer

Sonarqube analysis fails with PersistenceException - Cannot insert duplicate key row in object 'dbo.issues' with unique index 'issues_kee'

This is a new Sonarqube 5.2 installation on windows server 2012R2 with a MS SQL Server 2012 database Driver: Microsoft JDBC Driver 4.1 for SQL Server, version: 4.1.5605.100 The analysis files are uploaded ok but when the job is processed I see…
Richard
  • 1,804
  • 16
  • 22
3
votes
1 answer

How to Pass -X Switch to SonarQube Scanner for MSBuild?

Log message states `ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.` How do I pass -X switch to Sonar Runner from MSBuild.SonarQube.Runner.exe. Is it in the begin command or end command? My search is not yielding…
WiSeeker
  • 812
  • 9
  • 24
3
votes
1 answer

SonarQube - unity tests code coverage on new code not working

I am trying to do Sonar analysis with the unit tests code coverage on new code. When I do code coverage analysis with cobertura and do Sonar analysis the overall code coverage of the code is displayed correctly, however the code coverage of new code…
klodye
  • 93
  • 1
  • 4
  • 11
3
votes
0 answers

SonarQube JIRA integration - incorrect link generated in JIRA description field

When raising tickets from SonarQube 5.2 using JIRA plugin v1.2, the text within the issue description contains the following markup: Issue detail: {quote} [Description of issue] {quote} Check it on Sonar: [value set in…
James G
  • 2,069
  • 16
  • 28
3
votes
1 answer

Sonar 5.2 & Cobertura Plugin doesn't work

We upgraded to Sonar 5.2. But now, the task to process the sonar report fails: 2015.12.21 16:08:20 ERROR [o.s.s.c.t.CeWorkerRunnableImpl] Failed to execute task AVHFFR9SqYJURQAYr8yb java.lang.IllegalArgumentException: There's no changeset on line…
faenschi
  • 271
  • 1
  • 3
  • 11
2
votes
1 answer

SonarQube Runner fails on a file having comma in its name

SonarQube: 5.2 Scanner For MSBuild: 1.0.2 Below line exists in FilesToAnalyze.txt deep inside .sonarqube folder ...Help\User\Duplicating,_Renaming,_Deleting_a_Blueprint.htm And, MSBuild.SonarQube.Runner.exe end throws below exception. Notice how…
WiSeeker
  • 812
  • 9
  • 24
2
votes
1 answer

How to change Sonarqube rule priority for default JAVA rules?

I need to downgrade/upgrade some of the priority levels of default SQ rules. For Eg: The duplicated block of code rule , seems to be false positive in our scenario so we need to downgrade for Major to Info/Minor. The Hardcoded password rule needs…
Jeel
  • 2,227
  • 5
  • 23
  • 38
2
votes
1 answer

How to secure SonarQube 5.2?

The Release notes for SonarQube 5.2 indicate that scanners no longer access the database directly. With SonarQube 5.1, it's possible to ensures that the dashboard only ever shows reports on code in version control by configuring the database to only…
Martin Ellis
  • 9,603
  • 42
  • 53
2
votes
0 answers

Inject MavenProject in Sensor constructor as in SonarQube 4.4

We currently use SonarQube 4.5.1 and want to switch to 5.2. In preparation for this step we switched the build version of our SonarQube Plugins from 4.4 to 5.2. The sensor constructors used MavenProject as IoC: public MySensor(Settings settings,…
Johannes Zink
  • 495
  • 4
  • 13
2
votes
2 answers

SonarQube background tasks failing with IllegalArgumentException for Java

We updated Sonarqube to version 5.2. After it, some Java projects start failing with following exception: 2015.12.22 02:42:13 INFO [o.s.s.c.s.ComputationStepExecutor] Execute component visitors | time=9942ms 2015.12.21 13:01:45…
olexii
  • 333
  • 1
  • 8
2
votes
1 answer

SonarQube ,Response code: 500 SonarRunner

I am running SonarQube 5.2 and run the analyzes on project with Commandline by SonarRunner Then get error like this: 10:05:01.645 WARN - SCM provider autodetection failed. No SCM provider claims t o support this project. Please use…
sagaakuma
  • 23
  • 3
2
votes
0 answers

Upgrade SonarQube to 5.2 fails with java.util.concurrent.CancellationException: null

I've tried to upgrade SonarQube from 5.0 to 5.2, that failed so I've run upgrade from 5.0 through all intermediate versions up to 5.1.2 - all of them succeeded, but upgrade from 5.1.2 to 5.2 failed again with the same error. I haven't found anywhere…
1
2 3