FindBugs not show correct line number

XMLWordPrintable

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Major
    • Component/s: findbugs-plugin
    • None
    • Environment:
      Platform: All, OS: Linux

      In the FindBugs report, the line number of code is always displayed -1.
      See attachment...

      The ant-tak (http://findbugs.sourceforge.net/manual/anttask.html) used to generate xml is:

      <property name="findbugs.home" value="/hudson/code-quality/findbugs-1.3.8" />
      <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${findbugs.home}/lib/findbugs-ant.jar"/>
      <property environment="env" />

      <findbugs home="${findbugs.home}" output="xml" quietErrors="true" outputFile="${env.WORKSPACE}/SVN/Projeto/findbugs.xml" >
      <sourcePath path="${env.WORKSPACE}/SVN/Projeto/src" />
      <class location="${env.WORKSPACE}/SVN/Projeto/classes"/>
      </findbugs>

            Assignee:
            Ulli Hafner
            Reporter:
            sberlotto
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: