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

Creating Generic Application Link without Incoming Authentication description will cause user profile OAuth Access Token page to return error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 3.7.1, 5.16.6, 5.16.11
    • None

    Description

      Summary

      Attempting to load the OAuth Access Token page from User Profile will return NullPointerException for Generic Application Link

      Steps to Replicate

      1. Create an OAuth Generic Application Link in Bitbucket
      2. Configure Incoming Authentication OAuth setting without description
      3. Create a user access token with the generic application
      4. Access the user OAuth Access Token page, e.g.: https://<INSTANCE_NAME>.atlassian.net/builds/plugins/servlet/oauth/users/access-tokens.

      Expected Results

      User access token is listed.

      Current Result

      The page returns error 500.
      The following error shown in atlassian-bitbucket.log

      2016-08-20 00:25:26,553 ERROR [http-nio-7990-exec-10] ragesh @1L3C0IXx25x73x0 2rgn8b 0:0:0:0:0:0:0:1 "GET /rest/applinks/2.0/applicationlinkForm/manifest.json HTTP/1.1" c.a.a.c.r.u.CreateApplicationLinkUIResource ManifestNotFoundException thrown while retrieving manifest
      com.atlassian.applinks.spi.manifest.ManifestNotFoundException: null
      
      2016-08-20 01:13:50,832 ERROR [http-nio-7990-exec-4] @1L3C0IXx73x257x0 t18j1e 0:0:0:0:0:0:0:1 "GET /mvc/error500 HTTP/1.1" c.a.s.i.web.ErrorPageController There was an unhandled exception loading [/plugins/servlet/oauth/users/access-tokens]
      java.lang.NullPointerException: null
      

      Workaround

      Delete the current OAuth Incoming Authentication configuration and recreate it again with description.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vchin Vincent Chin (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync