Searching for issues with Sonarcloud API returns none even though they exist

I am trying to get all the sonar report issues from a branch of a private Sonarcloud project. I do this with the following REST call: https://@sonarcloud.io/api/issues/search?projects=…

Sonar: Possible null pointer dereference due to return value of called method

I am getting issue from Sonar: “Style – Possible null pointer dereference due to return value of called method. findbugs:NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE. the issue is on lockUntil.after(…

Sonar Cube “null pointer exception could be thrown” : False positive?

I have a bug raised by sonar cube on following code : private request = null; try { request = createRequest(); // create Request log.info(” Request created with details “+request.toString());…

Singleton writes a field in unsynchronized manner

I am getting : Singleton class writes to a field in an unsynchronized manner at 4-5 places in Springboot code while scanning through SonarQube. Now, I am trying to understand how can I make this …

Kotlin, Java 8 and Sonar coverage showing as 0

I have a kotlin project using Java 8 and I use Sonar to measure code coverage I am using the latest version of Sonar and noticed the coverage has gone down due to changes in the openjdk. My tests are …

Setting up properly SonarQube’s for Code Coverage

I’m using JUnit5 on a SpringBoot backend application server using Maven. Here is the sonar-project.properties file that is at the root of the project: sonar.host.url=https://sonarcloud.io sonar.login=…