Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3.7.1, 5.16.6, 5.16.11
-
None
-
5
-
Severity 3 - Minor
-
4
-
Description
Summary
Attempting to load the OAuth Access Token page from User Profile will return NullPointerException for Generic Application Link
Steps to Replicate
- Create an OAuth Generic Application Link in Bitbucket
- Configure Incoming Authentication OAuth setting without description
- Create a user access token with the generic application
- 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.