ERROR: Error during SonarScanner execution java.lang.ExceptionInInitializerError

Hi,

I want to use Sonar-Scanner for CMake project including C++ files.
SonarQube server, 8.4.1
Sonar Scanner version, 5.0.1.3006 Java 17.0.7 Eclipse Adoptium (64-bit)
Build-Wrapper version, 6.11
Java version,17.0.11

Then, I configured my sonar-project.properties due to the my project. When I run the powershell using sonar-scanner.bat, I can see that server is connected but I’m taking the error like;
ERROR: Error during SonarScanner execution
java.lang.ExceptionInInitializerError
at com.B.A.B.A.D.(Unknown Source).

How can fix it?

Hi,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

8.4.1 → 8.9.10 → 9.9.4 → 10.5.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

 
HTH,
Ann