Top "Findbugs" questions

A program which uses static analysis to look for bugs in Java code.

What is the proper way to use a Logger in a Serializable Java class?

I have the following (doctored) class in a system I'm working on and Findbugs is generating a SE_BAD_FIELD …

java logging serialization findbugs
Invocation of toString on an array - FindBugs

I am getting the below Findbugs error for my code, Invocation of toString on <<Package Path>> …

arrays tostring findbugs
FindBugs - "may fail to close stream" when using ObjectOutputStream

I have this piece of code, which is to write an Ojbect to a byte array stream: static byte[] toBytes(…

java stream findbugs software-quality
How to configure findbugs plugin in eclipse?

Can anyone help me to configure findbugs plugin in eclipse , so that i can create an xml file and import …

eclipse eclipse-plugin findbugs
Any easy way to generate a Findbug HTML report from Maven without site:site?

I am trying to integrate FindBugs in a maven project. Does anyone have a sample pom.xml generating a simple …

java html maven report findbugs
How do I get @ParametersAreNonnullByDefault to work?

I've made several attempts at getting package annotation @ParametersAreNonnullByDefault to work for me in a maven project but with no …

java maven annotations nullpointerexception findbugs
Gradle PMD Checkstyle Findbugs - Which sourceSet directory to work Java build

Gradle 1.6 Linux . Java build Project structure Project_or_Module src/java (contains java source code) test/java (contains JUnit tests …

gradle ignore findbugs checkstyle pmd
Is there a class annotation in FindBugs to ignore all warning in a file

there is an annotation in FindBugs to ignore a set of errors, for instance: import edu.umd.cs.findbugs.annotations.…

findbugs
Does the FindBugs EI_EXPOSE_REP bug only concern Date?

Findbugs reports a lot of EI_EXPOSE_REP and EI_EXPOSE_REP2 bugs on my code, each time I write …

java getter-setter findbugs accessor
Findbugs exclude generated files

I am trying to filter out the generated files from the findbugs check and all I tried does not seem …

maven ant findbugs