sonarqube-scan Questions

4

Solved

I'm trying to integrate my maven project with SonarQube but when I try to run mvn sonar:sonar -Dsonar.host.url=http://localhost:9000 -X I'm getting this error [DEBUG] 13:09:55.647 Create: /User...
Basrhin asked 4/12, 2019 at 6:0

2

I'm adding SonarQube to existing TFS 2018 builds. I was following the directions for downloading Community Edition 7.4 located here https://docs.sonarqube.org/display/SCAN/Install+the+SonarScanner+...
Zoroaster asked 27/11, 2018 at 22:28

9

sonarqube 5.5 several Java projects, all have permission set to anyone can execute analysis. use mvn sonar:sonar to run analysis Other projects work fine without error. One project was found to n...
Nolasco asked 20/7, 2016 at 19:13

5

Solved

We recently started using SonarQube. We have found some rules that are suggested by SonarQube but we want to ignore them or give them a low priority and even configure the time suggested by SonarQu...
Minnie asked 23/8, 2016 at 19:26

6

Is there a way to export Sonarqube reports into Excel - based on major, minor and critical categories?
Buttons asked 3/2, 2017 at 21:9

13

[07:43:57]W: [Step 1/1] ERROR: Error during SonarQube Scanner execution [07:43:57]W: [Step 1/1] ERROR: Line 523 is out of range in the file src/main/java/com/company/package/File.java (lines: 522)...
Tollbooth asked 28/9, 2016 at 16:34

3

I have installed sonar locally to run it on my java project code. My this code is using java 8. My environment variable is also set to java 8 but I have installed Java 11 on my machine and set a en...
Selectee asked 8/11, 2022 at 20:46

5

SonarQube reports this bug to me: A "NullPointerException" could be thrown; "getBody()" can return null. This is the code: if (holdingResponseEntity == null || holdingResponseEn...
Soudan asked 30/11, 2020 at 14:26

1

I have a very simple sonar-scanner.properties file. This is how it looks like: sonar.host.url=https://sonarhosturl sonar.login=xxx sonar.password=yyy sonar.language=java sonar.projectKey=someproje...
Fie asked 20/11, 2017 at 18:32

2

I am trying to change my main branch in Sonarqube from master to mainline as I have been doing my analysis on mainline for the past few months. This post below in the Sonar community says that I ha...
Elmaelmajian asked 6/4, 2022 at 16:18

13

I have some issues while running Sonar on my netbeans' project. It's not working and i have the following error : C:\Users\remy.fischer\Desktop\NetBeansProjects\NetBeansProjects\BinPacking\sonar-s...
Omdurman asked 21/6, 2017 at 7:30

6

We are using SonarQube 5.1.2 using Ant runner 2.2 and Java pluging 3.12 for the analysis. I can succesfully analyse my project. I just keep getting this error: Java bytecode has not been made avai...
Ragouzis asked 2/9, 2016 at 11:12

3

Solved

I'm trying to get my build to break based on sonar results - so I've got a build-breaker running off the results in report-task.txt. I'm running sonar in maven - with the following plugin config:...
Grigson asked 31/10, 2016 at 5:24

4

I'm looking for a Static Application Security Testing (SAST) tool and I can't afford the commercial products (eg. Checkmarx). SonarQube is a great static code analysis tool but I notice that ther...

12

Solved

I'm getting this warning on Sonar: Hide Utility Class Constructor: Utility classes should not have a public or default constructor My class: public class FilePathHelper { private static String r...
Monogamist asked 18/1, 2013 at 12:14

2

I'm trying to send a job to sonarqube from jenkins. However I'm getting an error saying te following when I run the job ERROR: Error during Sonar runner execution org.sonar.runner.impl.RunnerExcep...
Eras asked 21/7, 2016 at 9:5

5

SonarQube is giving me below error when i integrate the xamarin app with jenkins on windows sever SonarQube Scanner for MSBuild 3.0 Default properties file was found at C:\SonarQube\bin\SonarQube....

1

In JQuery Library jquery-1.4.1-vsdoc.js, Following is the code block : jQuery.fn.extend({ data: function( key, value ) { if ( typeof key === "undefined" && this.length ) { retu...
Mandrel asked 26/7, 2017 at 11:21

3

I am trying to use SonarQube to scan the UI modules I have. The UI modules are lot in number. They have a common structure. Each module has its own JS files. I need to specify the sonar.sources va...
Datestamp asked 19/6, 2015 at 4:16

2

Solved

I recently upgraded from SonarQube 5.1.2 to SonarQube 5.6. Now I'm getting an IllegalStateException "Error when executing blame for file". This happens building with my ant scripts in both Eclipse ...
Centralize asked 25/1, 2017 at 17:4

4

I've got sonarqube 6.5 with default configs. When sonar.forceAuthentication flag is set to false, I can create and analyse project through command given below. mvn sonar:sonar -Dsonar.host.url=htt...
Tullusus asked 8/9, 2017 at 10:11

7

Solved

I recently started using Travis CI and sonarqube in an open source project and have run into a problem with sonarqube-scanner. My Travis CI page can be seen here: https://travis-ci.org/uglyoldbob/...
Forthright asked 14/7, 2016 at 13:9

2

Solved

Just stood up a brand new SonarQube 6.7.1 server and configured it to authenticate users via the LDAP plugin (2.2 build 608). So far so good. However, when users trying to run a command line scan ...
Nephritis asked 19/1, 2018 at 18:23

4

Solved

I'm running sonarqube with maven. I have installed it using following way. Using brew, I installed mysql and sonar. When I run I get 7 critical bugs but the code coverage for 88 tests is zero ...
Cambridge asked 24/5, 2017 at 11:47

1

Solved

I'm using Sonarqube with RoR and RSpec as testing tools, successfully get coverage but not the count of Unit Tests as shown on the image below: Please help 🙏🏼 Configuration: spec_helper.rb if R...
Culbreth asked 23/6, 2020 at 10:19

© 2022 - 2024 — McMap. All rights reserved.