NFE with symlink in artifact

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 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)

            Assignee:
            Wadeck Follonier
            Reporter:
            Wadeck Follonier
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: