Suddenly “Error during SonarQube Scanner execution” began to appear during at the end of Jenkins build. The full text in Jenkins console output looks like this:
1 2 3 4 5 6 7 8 9 |
ERROR: Error during SonarQube Scanner execution ERROR: Unable to load component class org.sonar.scanner.bootstrap.ScannerPluginInstaller ERROR: Caused by: Unable to load component class org.sonar.home.cache.FileCache ERROR: Caused by: Unable to load component class org.sonar.scanner.bootstrap.GlobalConfiguration ERROR: Caused by: Error 500 on http://10.10.10.10:9000/api/settings/values.protobuf : {"errors":[{"msg":"An error has occurred. Please contact your administrator"}]} ERROR: ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging. ERROR: SonarQube scanner exited with non-zero code: 1 Finished: FAILURE |
Luckily, the problem was not very deep and discovered upon checking web.log
file in SonarQube logs directory:
1 2 3 4 5 6 7 8 |
2020.06.04 17:20:16 ERROR web[AW8D9ctV+v22HSbMAFCY][o.s.s.w.WebServiceEngine] Fail to process request http://10.10.10.10:9000/api/settings/values.protobuf org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.sql.SQLException: ORA-28001: the password has expired ### The error may exist in org.sonar.db.property.PropertiesMapper ### The error may involve org.sonar.db.property.PropertiesMapper.selectByKeys ### The error occurred while executing a query ### Cause: java.sql.SQLException: ORA-28001: the password has expired |
How to reset/renew Oracle DB password and manage policies read here