Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.2.1, 5.2.11, 6.0.3
-
5.02
-
1
-
Severity 3 - Minor
-
-
Description
Jira allows you to accidentally set a username to: "" when creating a user, but throws the following NPE when you try to delete the user:
Cause: java.lang.NullPointerException Stack Trace: [hide] java.lang.NullPointerException at com.atlassian.jira.web.action.admin.user.DeleteUser.doValidation(DeleteUser.java:56) at webwork.action.ActionSupport.validate(ActionSupport.java:391) at webwork.action.ActionSupport.execute(ActionSupport.java:162) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:221) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:150) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
Note:
When I tried to reproduce in 6.0.3, the stack trace wasn't produced and there were no errors in the logs but I got the "user does not exist, please select a user from the user browser" error in the screenshot.