Profiling upon JIRA startup is not allowing user creation
Symptoms
When we attempt to create an user through the UI, the following error appears:
System Error
A system error has occurred.
Please try submitting this problem via the Support Request Page
Otherwise, please create a support issue on our support system at http://support.atlassian.com with the following information:
a description of your problem
cut & paste the error and system information found below
attach the application server log file ( /opt/Atlassian/atlassian-jira-5.2.8-standalone/home/log/atlassian-jira.log )
Cause:
java.lang.reflect.UndeclaredThrowableException
Stack Trace: [hide]
java.lang.reflect.UndeclaredThrowableException
at $Proxy349.validateCreateUserForAdmin(Unknown Source)
at com.atlassian.jira.web.action.admin.user.AddUser.doValidation(AddUser.java:68)
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)
...
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy1605.findByName(Unknown Source)
at com.atlassian.crowd.directory.AbstractInternalDirectory.findUserByName(AbstractInternalDirectory.java:117)
at com.atlassian.crowd.directory.AbstractInternalDirectory.findUserByName(AbstractInternalDirectory.java:32)
at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.findUserByName(DirectoryManagerGeneric.java:283)
at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.findUserByName(ApplicationServiceGeneric.java:265)
at com.atlassian.crowd.embedded.core.CrowdServiceImpl.getUser(CrowdServiceImpl.java:92)
at com.atlassian.crowd.embedded.core.DelegatingCrowdService.getUser(DelegatingCrowdService.java:40)
at com.atlassian.crowd.embedded.core.FilteredCrowdServiceImpl.getUser(FilteredCrowdServiceImpl.java:51)
at com.atlassian.jira.user.util.UserUtilImpl.getUserCwd(UserUtilImpl.java:843)
at com.atlassian.jira.user.util.UserUtilImpl.userExists(UserUtilImpl.java:871)
at com.atlassian.jira.bc.user.DefaultUserService.validateCreateUsername(DefaultUserService.java:293)
at com.atlassian.jira.bc.user.DefaultUserService.validateCreateUser(DefaultUserService.java:248)
at com.atlassian.jira.bc.user.DefaultUserService.validateCreateUserForAdmin(DefaultUserService.java:169)
...
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor179.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.atlassian.jira.config.component.GroupedMethodProfiler.profiledInvoke(GroupedMethodProfiler.java:65)
at com.atlassian.jira.config.component.TimerInvocationHandler.invoke(GroupedMethodProfiler.java:99)
...
Caused by: com.atlassian.crowd.exception.UserNotFoundException: User <test> does not exist
at com.atlassian.jira.crowd.embedded.ofbiz.OfBizUserDao.findByName(OfBizUserDao.java:82)
at com.atlassian.jira.crowd.embedded.ofbiz.OfBizUserDao.findByName(OfBizUserDao.java:51)
...
Cause
This error occurs If we turn on profiling upon JIRA startup and this bug is being tracked here: - JRA-24889Getting issue details... STATUS
Workaround
Set param-value to false into the $JIRA_install/atlassian-jira/WEB-INF/web.xml file.
Last modified on Nov 1, 2018
Powered by Confluence and Scroll Viewport.