-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encountering several errors related to the FindBugs plugin while running a build on Bamboo. #968
Comments
Thank you for reporting the issue and sharing the log |
We are using version 4.2.6 |
Thank you for the version, so you're pretty much on the latest which is good Basically it will be impossible to diagnose the problem without the compiled .class files causing the crash, so for instance the |
Yes it was working on SonarQube 9.5 but since we updated the plugin to a later version(SonarQube 9.9) it's giving us errors. |
The SonarQube version shouldn't matter too much, but I guess you also updated the sonar-findbugs plugin at the same time? In any case the code where it's crashing is fairly complex and was written a long time ago. It will be very hard to understand the problem without a way to reproduce the same. We would need for instance a sample .class file to look into it |
We were running Version 4.0.4 |
Ok, so that version of the plugin was using SpotBugs 4.4.0 (release in 2021) while the newer version you're using is SpotBugs 4.8.2 Do you think you can share a sample .class file reproducing the problem? |
Thank you for the log file but what I need to look into this is the compiled .class file triggering the problem. The sources are compiled into .class files and then SpotBugs analyses these .class files
Without these .class files I cannot look into the issue |
Alright I will reach out to the user for the complied .class files. |
Hi, I've reached out to the user and unfortunately the .class file cannot be shared at the moment. |
Thanks, is this the same issue as the separately reported spotbugs/spotbugs#2861? Would it be possible to have some kind of anonymized version of the code for the problematic methods?
There might be something unusal with the |
Yes, it is the same issue. The user is still discussing with their team on sharing the code. Is there anything else that we should be looking at for now? |
Some of the issues we've seen recently:
I don't know how an Android build typically works but anything producing (or modifying) the bytecode (i.e. the content of the .class files) might be doing something that SpotBugs is not handling properly. Maybe what you can do would be to create a sample with something that also causes the error (but something you can share) |
Good day, we have asked some of our users to test for us and if we still get the same issue we will share the file with you. |
bamboo...sonar.txt
Issue Description
Environment
Code (If needed)
The text was updated successfully, but these errors were encountered: