<< Back to previous view

[QB-1249] Findbugs report does not display bug descriptions when using Findbugs 2.0
Created: 02/Apr/12  Updated: 04/Apr/12

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 4.0.27
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Daniel Potter Assigned To: Steve Luo
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Windows Server 2008, Java 6 (Oracle JDK), FindBugs 2.0


 Description   
The FindBugs report published correctly when using FindBugs 2.0, but does not include any Bug Descriptions (get "No Records Found" in the Bug Descriptions list, the "?" hover test, and a blank line when hovering over the violation in the source code viewer). The number of violations and their codes are showing up, but no descriptions.

 Comments   
Comment by Steve Luo [ 04/Apr/12 06:36 AM ]
I can't reproduce this problem. Below is the snippet I used for ANT task:

<target name="findbugs" depends="junit, jar">
<taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask"
classpath="${findbugs.home}/lib/findbugs-ant.jar"/>
<mkdir dir="${findbugs.report.dir}" />
<findbugs home="${findbugs.home}"
output="xml:withMessages"
timeout="90000000"
reportLevel="experimental"
workHard="true"
effort="max"
adjustExperimental="true"
outputFile="${findbugs.report.dir}/findbugs.xml"
jvmargs="-Xmx512m">
<auxClasspath path="${lib.dir}" />
<sourcePath path="${dir.src}/java" />
<class location="${dist.home}/${final.name}.jar" />
</findbugs>
</target>
Comment by Steve Luo [ 04/Apr/12 01:31 PM ]
This is not a bug. The 'xml:withMessages' should be used for output attribute.
Generated at Fri May 17 04:44:55 UTC 2024 using JIRA 189.