Issue Loading Analysis Resuls

Have Sonarqube v 7.4 running with an Oracle DB on Linux. We use Jenkins to perform the analysis as part of the build jobs using maven.

Analysis completes and we fail with the following error message when the results are attempting to be uploaded to SonarQube. We are not performing any authentication to access SonarQube. The build job provides the URL: http:/machinename:9000/sonarqube/

[DEBUG] 10:33:17.476 Upload report
[DEBUG] 10:33:17.546 POST 500 http://machinename:9000/sonarqube/api/ce/submit?projectKey=com.mapfreusa:name-address-normalizer-api&projectName=MAPFRE%20USA%20-%20Address%20Normalizer%20API | time=68ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34.805 s
[INFO] Finished at: 2019-01-23T10:33:17-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project name-address-normalizer-api: Failed to upload report - An error has occurred. Please contact your administrator -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project name-address-normalizer-api: Failed to upload report - An error has occurred. Please contact your administrator

Thanks in advance for your help

Hello,

The “500” in this log is the HTTP error code of the following HTTP request made to the server. “500” is the code for a server side error. Can you have a look in the logs on the server side, more specifically in “web.log”? Hopefully, more details will be available there.

Issue was resolved when I changed the JDBC driver for Oracel 12c. The error message in the logs gave no indication that it was a JDBC issue. Perhaps in the future a more meaningful error message can be provided.

Please close the issue