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

NFE with symlink in artifact

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:
    • Released As:
      Jenkins 2.163

      Description

      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)

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            It was released as Jenkins 2.163

            Show
            oleg_nenashev Oleg Nenashev added a comment - It was released as Jenkins 2.163

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: