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

NFE with symlink in artifact

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • core
    • None
    • 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

            oleg_nenashev Oleg Nenashev added a comment -

            It was released as Jenkins 2.163

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: