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

          [JENKINS-55049] NFE with symlink in artifact

          Wadeck Follonier created issue -
          Wadeck Follonier made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Wadeck Follonier made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Wadeck Follonier made changes -
          Remote Link New: This issue links to "#3790 in core (Web Link)" [ 22082 ]

          Oleg Nenashev added a comment -

          It was released as Jenkins 2.163

          Oleg Nenashev added a comment - It was released as Jenkins 2.163
          Oleg Nenashev made changes -
          Released As New: Jenkins 2.163
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate

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

              Created:
              Updated:
              Resolved: