Remove Group link on View Principal does not contain a valid directory ID

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 1.2
    • Affects Version/s: 1.1.2
    • Component/s: Core features
    • None

      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)
      

              Assignee:
              Justin Koke
              Reporter:
              Justin Koke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: