Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.1.2
-
None
Description
The Groups tab on the View Principal page currently has an incorrect URL for the 'Remove' link for each Group.
This link should contain the current directoryID, but it is currently set to '0'. This results in an error when we try and remove the Group from the Principal.
Error:
15:13:52,076 ERROR crowd.console.action.principal.UpdateGroups: java.lang.NullPointerException at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.removePrincipalFromGroup(DirectoryManagerGeneric.java:861) 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:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:88) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy3.removePrincipalFromGroup(Unknown Source) at com.atlassian.crowd.console.action.principal.UpdateGroups.doRemoveGroup(UpdateGroups.java:62) 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:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
Attachments
Issue Links
- is related to
-
CWD-579 Role Tab shows the correct number of roles however they all show up as the principal name
- Closed