Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3511

Findbugs throws FNFE for source files

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • findbugs-plugin
    • None
    • Platform: All, OS: All

    Description

      Findbugs plugin throws FileNotFoundException for some of the files even though
      the path is correct. Below is a snippet of the exception:

      [FINDBUGS] Can't copy source file:
      source=workspace/rel-1.1-may_2009/src/main/java/com/acn/repmgmt/euonlinerepagmt/business/ApplicationDataBD.java,
      destination=a27250b0.tmp
      java.io.FileNotFoundException:
      workspace/rel-1.1-may_2009/src/main/java/com/acn/repmgmt/euonlinerepagmt/business/ApplicationDataBD.java
      (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at hudson.FilePath$25.invoke(FilePath.java:991)
      at hudson.FilePath$25.invoke(FilePath.java:987)
      at hudson.FilePath.act(FilePath.java:552)
      at hudson.FilePath.copyTo(FilePath.java:987)
      at hudson.FilePath.copyTo(FilePath.java:975)
      at
      hudson.plugins.findbugs.util.HealthAwareMavenReporter.copyFilesToMaster(HealthAwareMavenReporter.java:206)
      at
      hudson.plugins.findbugs.util.HealthAwareMavenReporter.postExecute(HealthAwareMavenReporter.java:164)

      It doesn't fail the build and reports the statistics correctly. So, it is not a
      big problem. But it is annoying to see so many exceptions in the log.

      Attachments

        Issue Links

          Activity

            People

              drulli Ulli Hafner
              shibug shibug
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: