java.lang.NullPointerException

Atlassian JIRA | Robin Anders | 1 decade 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

    I signed up for a new user account from the login page, filled in a username, password, name and e-mail. Then I tried to login with the new username and got this exception: java.lang.NullPointerException at com.opensymphony.module.user.User.getGroups(User.java:94) at com.atlassian.jira.security.DefaultPermissionManager.hasUserGroupPermission(DefaultPermissionManager.java:213) at com.atlassian.jira.security.DefaultPermissionManager.hasUserPermission(DefaultPermissionManager.java:168) at com.atlassian.jira.web.security.auth.DefaultAuthenticator.login(DefaultAuthenticator.java:56) at com.atlassian.jira.web.security.auth.AbstractAuthenticator.login(AbstractAuthenticator.java:47) at com.atlassian.jira.web.security.LoginFilter.doFilter(LoginFilter.java:141) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:484) Then I logged in as administrator and tried to delete the user and got another exception (sorry, I didn't save that one). I tried to delete the user again and get a Form Errors "Exception trying to remove user: java.lang.NullPointerException" message.

    Atlassian JIRA | 1 decade ago | Robin Anders
    java.lang.NullPointerException
  2. 0

    I signed up for a new user account from the login page, filled in a username, password, name and e-mail. Then I tried to login with the new username and got this exception: java.lang.NullPointerException at com.opensymphony.module.user.User.getGroups(User.java:94) at com.atlassian.jira.security.DefaultPermissionManager.hasUserGroupPermission(DefaultPermissionManager.java:213) at com.atlassian.jira.security.DefaultPermissionManager.hasUserPermission(DefaultPermissionManager.java:168) at com.atlassian.jira.web.security.auth.DefaultAuthenticator.login(DefaultAuthenticator.java:56) at com.atlassian.jira.web.security.auth.AbstractAuthenticator.login(AbstractAuthenticator.java:47) at com.atlassian.jira.web.security.LoginFilter.doFilter(LoginFilter.java:141) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:484) Then I logged in as administrator and tried to delete the user and got another exception (sorry, I didn't save that one). I tried to delete the user again and get a Form Errors "Exception trying to remove user: java.lang.NullPointerException" message.

    Atlassian JIRA | 1 decade ago | Robin Anders
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.opensymphony.module.user.User.getGroups()
    2. com.opensymphony.module
      User.getGroups
      1. com.opensymphony.module.user.User.getGroups(User.java:94)
      1 frame
    3. com.atlassian.jira
      LoginFilter.doFilter
      1. com.atlassian.jira.security.DefaultPermissionManager.hasUserGroupPermission(DefaultPermissionManager.java:213)
      2. com.atlassian.jira.security.DefaultPermissionManager.hasUserPermission(DefaultPermissionManager.java:168)
      3. com.atlassian.jira.web.security.auth.DefaultAuthenticator.login(DefaultAuthenticator.java:56)
      4. com.atlassian.jira.web.security.auth.AbstractAuthenticator.login(AbstractAuthenticator.java:47)
      5. com.atlassian.jira.web.security.LoginFilter.doFilter(LoginFilter.java:141)
      5 frames
    4. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      4. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      6. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
      8. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      9. org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      10. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      11. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      12. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      13. org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
      14. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      15. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      16. org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      17. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      18. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
      19. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      20. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
      21. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      22. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      23. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      24. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      25. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      26. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      27. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      27 frames
    5. org.apache.catalina
      HttpProcessor.run
      1. org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
      2. org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:484)
      1 frame