Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-2804

NullPointerException is thrown when using trusted apps and auto add users is turned off

    XMLWordPrintable

Details

    Description

      Steps to replicate:

      1. Integrate with LDAP
      2. Set Auto-add users to false
      3. Integrate JIRA and FishEye with trusted apps
      4. Try and browse the FishEye tab with a user who does not have an account in FishEye

      the following error is thrown

      17:52:53 ERROR - /api/rest/query
      java.lang.NullPointerException
              at com.cenqua.fisheye.user.UserLogin.<init>(UserLogin.java:15)
              at com.cenqua.fisheye.user.UserManager.createTrustedUserLoginImpl(UserManager.java:651)
              at com.cenqua.fisheye.user.UserManager.createTrustedUserLogin(UserManager.java:620)
              at com.cenqua.fisheye.user.UserManager.createTrustedUserLogin(UserManager.java:628)
              at com.atlassian.fisheye.trustedapplications.FisheyeUserResolver.resolve(FisheyeUserResolver.java:18)
              at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:108)
              at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.authenticate(TrustedApplicationsFilter.java:113)
              at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:95)
              at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
              at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
              at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200)
              at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
              at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
              at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:69)
              at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrew.myers Andrew Myers [Atlassian]
              Votes:
              7 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: