Questions tagged [sonarqube-5.0]

This is the SonarQube 5.0.x specific tag. Use it in addition to the sonarqube tag if your question is specific to SonarQube 5.0.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.0 version of SonarQube, which was released on the 14th January 2015. See the tag for general SonarQube questions.

132 questions
35
votes
8 answers

Error in sonar startup, Unable to start JVM: No such file or directory (2)

I am facing strange issue with sonarqube 5.0.1 , one one of the machine it is not starting. Here is the error log - sonar.log - --> Wrapper Started as Daemon Launching a JVM... Unable to start JVM: No such file or directory (2) JVM exited while…
Rishi
  • 5,869
  • 7
  • 34
  • 45
26
votes
4 answers

Sonar complaining about logging and rethrowing the exception

I have the following piece of code in my program and I am running SonarQube 5 for code quality check on it after integrating it with Maven. However, Sonar is complaining that I should Either log or rethrow this exception. What am I missing here? Am…
Nital
  • 5,784
  • 26
  • 103
  • 195
23
votes
10 answers

How to rename a project in SonarQube 5.1?

I can't find how to rename a project in SonarQube 5.1. Once created, how one can change project name, key, branch, from the web dashboard? SonarQube's documentation doesn't help.
Francois
  • 10,730
  • 7
  • 47
  • 80
18
votes
1 answer

How to skip a sub module in a sonar analysis in a multi module java project

I have a multi module Maven project. I need to exclude one of the sub module from sonar anlaysis. I run the mvn sonar:sonar from parent directory. Is there a way to specify the exclusions in pom file or do we need to configure it in sonar qube.
16
votes
6 answers

Error in SonarQube when launching svn blame

I recently upgraded my SonarQube server from 4.5.2 to 5.0.1, then to 5.1 (see edit below). Suddenly, the analysis of a multi-module Maven project failed with the following error : [INFO] [12:02:05.045] Sensor SCM Sensor... [INFO] [12:02:05.169] SCM…
Tunaki
  • 132,869
  • 46
  • 340
  • 423
13
votes
1 answer

importing javascript xml junit tests to SONAR using jstestdriver fails

What I am doing? I am currently working on setting up Continuous integration / delivery pipeline for front end applications. We are planning to use SonarQube as code quality tool and want to import junit test results/code coverage in SONAR for…
Sunil
  • 191
  • 2
  • 6
11
votes
2 answers

Upgrade SonarQube issues

I'm having issues installing my instance of SonarQube 4.4 to 5.1. The instructions say to stop the SonarQube server, match up a couple files (back up DB, copy plugins, etc.), and then restart the sonar server for the updated version. My problem is…
PT_C
  • 1,178
  • 5
  • 24
  • 57
11
votes
5 answers

SonarQube - Temp directory is not writable

I'm installing SonarQube v5.0.1. I'm running Windows Server 2012 64-bit, Java 1.8 64-bit, and the SonarQube windows-x86-64 wrapper. SonarQube keeps throwing the following error: WrapperSimpleApp: Encountered an error running main:…
Chris Harris
  • 1,329
  • 4
  • 17
  • 28
9
votes
2 answers

How to get list of fixed issues during a sonar scan

After every sonar scan we can see the list of newly added issues in both portal and Scan logs like shown below. Iam able to get the list of newly added issues using the Rest API http://localhost:9000/api/issues/search?createdAfter=2015-08-15 Here we…
Nayeem
  • 681
  • 15
  • 35
6
votes
2 answers

How to Generate html issues report in SonarQube 5.1

We have recently upgraded SonarQube to 5.1 version. In earlier versions there was Issues report plugin to generate html report for the issues. Now that plugin becomes native in 5.1, I wonder where the settings for issues report is? Is there anyway…
6
votes
1 answer

Ignore SCM Sensor error

During sonar runner analysis the SVN blame command is executed many times. Sometimes an error happens. The connection might be lost for a moment so that a timeout occurs and the SVN server can't be reached. The sonar-runner aborts execution when…
5
votes
2 answers

Debugging Ruby and Rails code inside Sonar plugin

What is the way to debug Rails and Ruby code (i.e. breakpoints, call stack etc...) which is running inside a separate JVM using IDE (IntelliJ Idea)? What configuration is required for it in Sonarqube and IntelliJ? I did not find this information on…
Sergey
  • 3,253
  • 2
  • 33
  • 55
5
votes
3 answers

Sonar fails on analysis Unable to create symbol table for

when i run analysis with SonarQube 5.0.1 i receive the following exception on java source I'm running this analysis with maven project by running the following command : mvn sonar:sonar -Psonar Please help Gidi [22:04:35]: [ERROR] [22:04:35.535]…
Gidi Samuels
  • 53
  • 1
  • 4
5
votes
2 answers

Insufficient privileges error with sonarRunner

I am getting Insufficient privileges error running sonar. This started happening after I upgraded sonarQube to 5.0. ERROR: Error during Sonar runner execution ERROR: Unable to execute Sonar ERROR: Caused by: Fail to decorate…
Ashish Musale
  • 839
  • 10
  • 15
4
votes
5 answers

SonarQube - Unable to load the Wrapper's native library 'wrapper.dll'

I'm installing SonarQube v5.0. I'm running Windows Server 2012 64-bit (a virtual OS), Java 1.8 64-bit, and the SonarQube windows-x86-64 wrapper. SonarQube, whether run via StartSonar.bat using Command Prompt as Administrator or as a Windows Service,…
Chris Harris
  • 1,329
  • 4
  • 17
  • 28
1
2 3
8 9