java.lang.NullPointerException

Atlassian JIRA | Andrew Myers [Atlassian] | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Steps to replicate: # Integrate with LDAP # Set Auto-add users to false # Integrate JIRA and FishEye with trusted apps # Try and browse the FishEye tab with a user who does not have an account in FishEye the following error is thrown {noformat}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){noformat}

    Atlassian JIRA | 7 years ago | Andrew Myers [Atlassian]
    java.lang.NullPointerException
  2. 0

    Steps to replicate: # Integrate with LDAP # Set Auto-add users to false # Integrate JIRA and FishEye with trusted apps # Try and browse the FishEye tab with a user who does not have an account in FishEye the following error is thrown {noformat}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){noformat}

    Atlassian JIRA | 7 years ago | Andrew Myers [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.cenqua.fisheye.user.UserLogin.<init>()
    2. com.cenqua.fisheye
      UserManager.createTrustedUserLogin
      1. com.cenqua.fisheye.user.UserLogin.<init>(UserLogin.java:15)
      2. com.cenqua.fisheye.user.UserManager.createTrustedUserLoginImpl(UserManager.java:651)
      3. com.cenqua.fisheye.user.UserManager.createTrustedUserLogin(UserManager.java:620)
      4. com.cenqua.fisheye.user.UserManager.createTrustedUserLogin(UserManager.java:628)
      4 frames
    3. com.atlassian.fisheye
      FisheyeUserResolver.resolve
      1. com.atlassian.fisheye.trustedapplications.FisheyeUserResolver.resolve(FisheyeUserResolver.java:18)
      1 frame
    4. com.atlassian.security
      TrustedApplicationsFilter.doFilter
      1. com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:108)
      2. com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.authenticate(TrustedApplicationsFilter.java:113)
      3. com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:95)
      3 frames
    5. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
      2 frames
    6. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200)
      1 frame
    7. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
      2. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
      2 frames
    8. com.atlassian.oauth
      OAuthFilter.doFilter
      1. com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:69)
      1 frame