Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13306

An error message is displayed while trying to view 'blame'

    XMLWordPrintable

Details

    Description

      Issue Summary

      Upon viewing the 'blame' for one or more files in a repository can produce a warning in the UI with a message "An error occurred while executing an external process: null"

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Import a repository
      2. Create a couple of commits in the repository
      3. For one of the commits, add the commit message similar to '10 11 02200' (3 numbers, separated by a single space)
      4. click on blame

      Expected Results

      The proper output for blame is displayed.

      Actual Results

      A dialog box apprears with error "An error occurred while executing an external process: null"

      The below exception is thrown in the atlassian-bitbucket.log file, once debug logging is enabled.

      2022-04-29 16:04:50,746 DEBUG [http-nio-7990-exec-6] username @1FY8PZSx964x12296927x2 1xbbwxk 192.168.1.1,0:0:0:0:0:0:0:1 "GET /rest/api/latest/projects/PRJ/repos/REP/browse/sample/test.yaml HTTP/1.1" c.a.b.i.p.nu.NioNuProcessHandler 23387: Dropping [/bin/git blame --incremental -L 1,+1535 refs/heads/production -- sample/test.yaml] callback invocation (Canceled: false; Timed out: false)
      java.lang.NumberFormatException: null
      at java.lang.Long.parseLong(Unknown Source)
      at java.lang.Long.parseLong(Unknown Source)
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Activity

          People

            5b83d565b5b1 Josh Wang
            46ac2648bc84 Naveen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: