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

FNFEs from ChangeLogParser.processFile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cvs-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          jglick Jesse Glick created issue -
          kohsuke Kohsuke Kawaguchi made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 130495 ] JNJira + In-Review [ 199866 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: