History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1249
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Steve Luo
Reporter: Daniel Potter
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Findbugs report does not display bug descriptions when using Findbugs 2.0

Created: 02/Apr/12 03:48 PM   Updated: 04/Apr/12 01:31 PM
Component/s: None
Affects Version/s: 4.0.27
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows Server 2008, Java 6 (Oracle JDK), FindBugs 2.0


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:
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>

Steve Luo [04/Apr/12 01:31 PM]
This is not a bug. The 'xml:withMessages' should be used for output attribute.