-
Notifications
You must be signed in to change notification settings - Fork 593
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
Array index out of bounds exception on FindDeadLocalStores
#2994
Comments
Thanks for opening your first issue here! 😃 |
Which version of spotbugs are you using? |
4.8.5 |
I enabled
this is pointing to this line: I got another class that are also throwing the same error, but the method that's failing looks something like: public Deserializer(Format format) {
super(Instant.class);
this.format = format;
} (this is a class constructor) |
What's |
That's an internal SBT plugin that we developed in order to use spotbugs to check sbt modules. I don't think it's intentionally overriding anything. This is the source code: https://gist.github.com/miguel-vila/e96efe3af7eaa1f687104e8c8eaabd62 This is the setup code: https://gist.github.com/miguel-vila/e96efe3af7eaa1f687104e8c8eaabd62#file-sxmjavaspotbugsplugin-scala-L53-L75 which for the most part is just initializing things with defaults. I'm running it with these parameters:
|
Thanks for clarifying, would you know why you're setting |
I'm getting this error when running spotbugs:
the contents of the class are:
I've tried reproducing it in a test (had to remove the
io.vavr
import) but it succeeds. I have other files in which the same error raises but they are a bit more complex, I could try minimizing them.version 4.8.5
The text was updated successfully, but these errors were encountered: