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

NFE with symlink in artifact

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.163

      When there is a symlink inside the artifact folder, the length of that symlink is "", and that value is misinterpreted, throwing:

      Caught exception evaluating: h.humanReadableByteSize(f.getFileSize()) in /jenkins/job/XXX/.
      Reason: java.lang.NumberFormatException: Zero length string
      java.lang.NumberFormatException: Zero length string
      at java.lang.Long.decode(Long.java:893)
      at hudson.model.Run$Artifact.getFileSize(Run.java:1397)
      at sun.reflect.GeneratedMethodAccessor248.invoke(Unknown Source)

            wfollonier Wadeck Follonier
            wfollonier Wadeck Follonier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: