Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-43668

Workbox Notification Non-Stop Loading for JIRA SD's Customer when 2LOi is Used

    XMLWordPrintable

Details

    Description

      Steps to Reproduce:

      1. Install Confluence 5.10.x
      2. Install JIRA Service Desk 3.2.1
      3. Create 2 users in both JIRA SD and Confluence. One of the user in JIRA SD is using on the Service Desk. Eg: userend2 is SD Agent, and enduser3 has  Customer access. Refer to screenshot  for example
      4. Create Application Link between JIRA SD and Confluence using 2-Legged OAuth with Impersonation. Refer to  
      5. In Confluence, login as enduser2, access the Workbox Notification and it will shows correct information. Refer to 
      6. In another web browser, login to Confluence as enduser3, then access the Workbox Notification

       

      Expected Behaviour:

      Workbox will be showing relevant notification

       

      Actual Behaviour

      • Workbox Notification keep loading as shown in screenshot 
      • Following traces can be found in the Confluence Log:
      
      2016-09-09 17:25:16,714 ERROR [http-nio-8510-exec-9] [mywork.host.rest.ExceptionLogger] toResponse Exception thrown from REST resource
       -- referer: http://localhost:8510/conf5104/plugins/servlet/notifications-miniview | url: /conf5104/rest/mywork/latest/notification/nested | traceId: a7df6b452cec534e | userName: enduser3
      java.lang.NullPointerException
       at net.oauth.signature.OAuthSignatureMethod.normalizeUrl(OAuthSignatureMethod.java:156)
       at net.oauth.signature.OAuthSignatureMethod.getBaseString(OAuthSignatureMethod.java:149)
       at net.oauth.signature.OAuthSignatureMethod.getSignature(OAuthSignatureMethod.java:76)
       at net.oauth.signature.OAuthSignatureMethod.sign(OAuthSignatureMethod.java:47)
       at net.oauth.OAuthMessage.sign(OAuthMessage.java:297)
       at net.oauth.OAuthMessage.addRequiredParameters(OAuthMessage.java:287)
      ...
      
       at com.atlassian.applinks.oauth.auth.OAuthRequest.signRequest(OAuthRequest.java:97)
       at com.atlassian.applinks.oauth.auth.twolo.impersonation.TwoLeggedOAuthWithImpersonationRequest.signRequest(TwoLeggedOAuthWithImpersonationRequest.java:48)
       at com.atlassian.applinks.oauth.auth.OAuthRequest.execute(OAuthRequest.java:57)
       at com.atlassian.applinks.oauth.auth.OAuthApplinksResponseHandler.handle(OAuthApplinksResponseHandler.java:73)
      ...
      
      
      

      Attachments

        1. Applink2LOi.png
          Applink2LOi.png
          59 kB
        2. excerpt.log
          34 kB
        3. NotificationBoxCorrect.png
          NotificationBoxCorrect.png
          24 kB
        4. NotificationBoxKeepLoading.png
          NotificationBoxKeepLoading.png
          11 kB
        5. UserListInJIRA.png
          UserListInJIRA.png
          50 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jalbion Janet Albion (Inactive)
              Votes:
              11 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated: