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

FNFEs from ChangeLogParser.processFile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cvs-plugin
    • None
    • Platform: All, OS: All

      Looking through my Hudson log file, I see hundreds (thousands?) of exceptions
      such as this:

      Apr 3, 2007 5:28:13 PM
      hudson.org.apache.tools.ant.taskdefs.cvslib.ChangeLogParser processFile
      WARNING: Failed to read CVS/Repository at
      /hudson/workdir/jobs/trunk/workspace/xml/schema/core/test/build.xml/../CVS/Repository
      java.io.FileNotFoundException:
      /hudson/workdir/jobs/trunk/workspace/xml/schema/core/test/build.xml/../CVS/Repository
      (Not a directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:874)
      at
      hudson.org.apache.tools.ant.taskdefs.cvslib.ChangeLogParser.processFile(ChangeLogParser.java:198)
      at
      hudson.org.apache.tools.ant.taskdefs.cvslib.ChangeLogParser.stdout(ChangeLogParser.java:134)
      at
      hudson.org.apache.tools.ant.taskdefs.cvslib.RedirectingOutputStream.processLine(RedirectingOutputStream.java:48)
      at
      org.apache.tools.ant.util.LineOrientedOutputStream.processBuffer(LineOrientedOutputStream.java:82)
      at
      org.apache.tools.ant.taskdefs.LogOutputStream.processBuffer(LogOutputStream.java:67)
      at
      org.apache.tools.ant.util.LineOrientedOutputStream.write(LineOrientedOutputStream.java:57)
      at
      org.apache.tools.ant.util.LineOrientedOutputStream.write(LineOrientedOutputStream.java:132)
      at hudson.util.ForkOutputStream.write(ForkOutputStream.java:29)
      at org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:93)
      at java.lang.Thread.run(Thread.java:595)

      Of course

      /hudson/workdir/jobs/trunk/workspace/xml/schema/core/test/CVS/Repository

      exists with the correct contents. I don't think the use of "/../" is safe on a
      file. You should ask for getParentFile().

      I understand this code is just a few days old, so it is quite possible it is
      simply broken, and not just a problem in my environment.

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: