'sonarQube Findbug error and ##[error]java.lang.IllegalStateException: Can not execute Findbugs

I am really struggling from months. We are trying to scan SCALA code with SonarQube in Azure Devops which is in Databricks. We were getting around 30 error. But now we work around our self and still getting 7-6 errors. Also our source code is fully complied in databricks itself.

still getting few errors : Please help us to rectify this issue . really appreciate. we are using findbug version- 4.0.3 , which i know is quite old but admin team won't update this as its a large organization . let me know what i m missing.

enter image description here



Solution 1:[1]

It worked for me after adding :

sonar.java.binaries=[YOUR_BUILD_DIR] (target/classes)

Refer this Github link for more information :

https://github.com/SonarQubeCommunity/sonar-findbugs/issues/49

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 SuryasriKamini-MT