Top "Findbugs" questions

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

Test for floating point equality. (FE_FLOATING_POINT_EQUALITY)

I am using a findbugs in an ANT script and I can't figure out how to fix two of my …

java ant findbugs
FindBugs not showing the bugs found

I've used FindBugs before and I didn't have problems, however this time on Eclipse Helios on Ubuntu Natty Narval bugs …

java eclipse findbugs
Explanation and fix for Possible null pointer dereference of

Code review tool is complaining Possible null pointer dereference of safeScanWarnings in saveSafeScan(...) At the line if (safeScanWarnings != Null & …

java findbugs pmd
CreateProcess error=206, The filename or extension is too long

I'm trying to call Findbugs via Ant, but receiving this error: Cannot run program "C:\Program Files (x86)\Java\jre6\…

ant findbugs
How to generate a html report for findbugs with Maven 3.x

Has anybody managed to configure the findbugs Maven 3.x plugin to produce both an xml and html report? (I want …

maven findbugs
Findbugs issue with "Boxing/unboxing to parse a primitive" with Integer.valueOf(String)

I have this piece of code: public void someMethod(String id) { someOtherMethod(Integer.valueOf(id)); } public void someOtherMethod(int id) { // …

java findbugs boxing unboxing
Can not execute Findbugs Caused by: This project contains Java source files that are not compiled

I am currently using the sonarqube server 5.6 with scanner 2.6.1 and I keep getting errors during analysis for a java project. …

sonarqube findbugs
How to avoid "Security - A prepared statement is generated from a nonconstant String" FindBugs Warning

I am working on a project that has a piece of code like the one below: String sql = "SELECT MAX(" + …

java jdbc findbugs
A boxed value is unboxed and then immediately reboxed

I am getting the Findugs error "A boxed value is unboxed and then immediately reboxed". This is the Code: Employee …

java findbugs autoboxing
MALICIOUS_CODE EI_EXPOSE_REP Medium

I run findbugs against all of my code and only tackle the top stuff. I finally got the top stuff …

java security findbugs