-
Hi Team,
We are using SpotBug-4.0.2.
We want to report SE_NO_SERIALVERSIONID bug using spotbug with ANT, but we are not getting this bug in report. Whereas we are getting other bugs detected from…
-
Unfortunately the `Optional.of(..)` API is easy to confuse with `Optional.ofNullable(..)`. The former requires the argument be not-null, the latter allows it to be null.
If there is code like `Opti…
-
I have written a simple plugin. It is for performance issue so I changed the category in findbugs.xml to "PERFORMANCE". And now the tests are not working anymore. I spend an hour debugging the whole t…
-
In this project https://github.com/nielsbasjes/yauaa/blob/f4d7d06b88f6784ba1a202a92ad92f13fef0d28f/analyzer/src/main/java/nl/basjes/parse/useragent/AbstractUserAgentAnalyzerDirect.java#L644 I got an N…
-
Just to test, I configured
```kts
refreshVersions {
rejectVersionIf {
println("FOO: $moduleId")
true
}
}
```
But it does not reject any version and also does not print…
-
spotbugs-maven-plugin:3.1.9 reports an error on a valid CompletableFuture.getNow(null) call:
```java
import org.junit.jupiter.api.Test;
import java.util.concurrent.CompletableFuture;
import java…
-
I'm trying to migrate from Findbugs 3.0 to Spotbugs 3.1.6. There are quite a few new `NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE` warnings that are generated now. I can fix some of them easily, but others…
-
Hi, I am facing issue " No suitable driver found for jdbc:oracle:thin:@host:1521/xe" while running connect-standalone for source as well as sink options.
below files are present in plugin path
s…
-
Hello!
I was testing various Java analyzer tools on different projects used as test projects. One analyzer tool was the test project of another one :-) Last time Spotbugs was the test project for F…
-
| Component | Version |
| ------------------ | ------- |
| Maven | 3.6.3 |
| Java | 8 |
| SpotBugs | 3.1.5 |
| FindSecBugs | 1.10.1 |
…