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

TrustedApplicationsAuthListener.authenticationFailure produces NullPointerExceptions

    XMLWordPrintable

Details

    Description

      When authentication via Trusted Applications fails, it produces a NullPointerException like follows from the {TrustedApplicationsAuthListener}}:

      2013-10-03 10:27:01,060 WARN  [http-bio-80-exec-10] 627x524x1 10.0.23.18 "GET /mvc/error500 HTTP/1.1" c.a.s.a.t.f.TrustedApplicationFilterAuthenticator Failed to login trusted application: jira:12361033 due to bad URL signature.
      2013-10-03 10:27:01,071 ERROR [http-bio-80-exec-10] 627x524x1 10.0.23.18 "GET /mvc/error500 HTTP/1.1" c.a.s.i.web.ErrorPageController There was an unhandled exception loading [/plugins/servlet/streams]
      java.lang.NullPointerException: null
              at com.atlassian.stash.internal.auth.trusted.TrustedApplicationsAuthListener.authenticationFailure(TrustedApplicationsAuthListener.java:38) ~[stash-platform-2.8.1.jar:na]
              at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.authenticate(TrustedApplicationsFilter.java:124) ~[atlassian-trusted-apps-core-2.5.2.jar:na]
              at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:95) ~[atlassian-trusted-apps-core-2.5.2.jar:na]
              ...
      

      Attachments

        Activity

          People

            bturner Bryan Turner (Inactive)
            bturner Bryan Turner (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: