Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

This user does not exist, please select a user from the user list. java.lang.NullPointerException

Miguel Balbi September 20, 2018

Hi,

I am trying to access a user and return that the user does not exist,I look for the records and I find the following. 

java.lang.NullPointerException
at com.atlassian.jira.user.LazyLoadingApplicationUser.getUsername(LazyLoadingApplicationUser.java:71)
at com.atlassian.jira.web.action.admin.user.UserBrowser.isUserFocused(UserBrowser.java:246)
at sun.reflect.GeneratedMethodAccessor1833.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
at webwork.util.ValueStack.findValue(ValueStack.java:517)
at webwork.util.ValueStack.findValue(ValueStack.java:216)
at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:62)
at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:54)
at jsp.secure.admin.user.views.userbrowser_jsp._jspx_meth_ww_005fproperty_005f16(userbrowser_jsp.java:2935)
at jsp.secure.admin.user.views.userbrowser_jsp._jspx_meth_ww_005fiterator_005f2(userbrowser_jsp.java:2817)
at jsp.secure.admin.user.views.userbrowser_jsp._jspService(userbrowser_jsp.java:184)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
... 18 filtered
at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:37)
... 74 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)
... 37 filtered
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
... 50 filtered
at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59)
... 66 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)
... 89 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)

 

Users are registered in an LDAP

Validate in the database the user, and if it is found, also synchronize with the activity directory. 

 

Do you have any idea what is happening?

 

1 answer

1 vote
AhmadDanial
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 3, 2018

Hi there, Miguel.

Since you mentioned that the user exists in the database, can we first run a SELECT statement on the database so we can see if there is anything different compared to normal users who can authenticate to Confluence?

SELECT * FROM cwd_user WHERE lower_user_name='<username>';

SELECT * FROM user_mapping WHERE lower_username='<username>';

Additionally, was the user account able to log in before this issue occurs or it is the first time that you are trying to access Confluence using this account?

  • If it is the first time, may I know if you can run a full sync and flush all the cache to confirm if the user is still facing the same issue?
  • If it is not the first time, do you recall any changes made to this account before the problem surfaces?

Looking forward to hear from you soon.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events