hi all, spotbugsMain failing for me with below err...
# community-support
s
hi all, spotbugsMain failing for me with below error. i opened the file and i see no error. tried usual stuff like refreshing, clean build etc. can you please suggest how i can resolve this? thanks * What went wrong: Execution failed for task ':spotbugsMain'.
A failure occurred while executing com.github.spotbugs.snom.internal.SpotBugsRunnerForHybrid$SpotBugsExecutor
> Verification failed: SpotBugs ended with exit code 1See the report at: file///workplace/saalapat/RAVS/src/RelayAuctionsVisibilityService/build/brazil documentation/spotbugs/spotbugsMain.html,file///workplace/saalapat/RAVS/src/RelayAuctionsVisibilityService/build/brazil-documentation/spotbugs/spotbugsMain.txt
hi all, anyone on this? kind of stuck on this.
v
This has nothing to do with Gradle and no clean rebuild or similar will help. If you look properly at your output, SpotBugs found a violation in your code and thus the task is failing, it also tells you the location of the detail report. You need to fix your code or configure SpotBugs differently, so that in the end the SpitBugs analysis is not failing anymore.