Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.2.11
-
5.02
-
1
-
Severity 3 - Minor
-
-
Description
When trying to add a new group through the JIRA UI, and permanent profiling is activated (via the web.xml file and this documentation), the following stack trace is shown in the browser:
java.lang.reflect.UndeclaredThrowableException at sun.proxy.$Proxy1570.findByName(Unknown Source) at com.atlassian.crowd.directory.AbstractInternalDirectory.findGroupByName(AbstractInternalDirectory.java:576) at com.atlassian.crowd.directory.AbstractInternalDirectory.findGroupByName(AbstractInternalDirectory.java:32) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.findGroupByName(DirectoryManagerGeneric.java:492) at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.findGroupByName(ApplicationServiceGeneric.java:658) at com.atlassian.crowd.embedded.core.CrowdServiceImpl.getGroup(CrowdServiceImpl.java:126) at com.atlassian.crowd.embedded.core.DelegatingCrowdService.getGroup(DelegatingCrowdService.java:50) at com.atlassian.crowd.embedded.core.FilteredCrowdServiceImpl.getGroup(FilteredCrowdServiceImpl.java:86) at com.atlassian.jira.web.action.admin.user.GroupBrowser.addNewGroup(GroupBrowser.java:114) ... Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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) ... 175 more Caused by: com.atlassian.crowd.exception.GroupNotFoundException: Group <THE-GROUP-NAME-HERE> does not exist at com.atlassian.jira.crowd.embedded.ofbiz.OfBizGroupDao.findByName(OfBizGroupDao.java:85) at com.atlassian.jira.crowd.embedded.ofbiz.OfBizGroupDao.findByName(OfBizGroupDao.java:42) ... 181 more
Steps to Reproduce:
- Install a fresh new JIRA 5.2.11 instance.
- Activate permanent profiling as per this documentation.
- Try to add a new group via Administration > Users > Groups.
- Observe that the stack trace is thrown, and the group is not successfully created.
Workaround:
- Disable permanent profiling.