cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot delete user due to pending invitations

cdw
Champ in-the-making
Champ in-the-making
We have a user account that cannot be deleted with the usual mechanisms (LDAP sync, manual deletion).
So, I tried to drop it with the help of the javascript console, but then I saw the following dump:
<pre>
[…]
Caused by: java.lang.NullPointerException at org.alfresco.repo.invitation.InvitationServiceImpl.invitationMatches(InvitationServiceImpl.java:835) at org.alfresco.repo.invitation.InvitationServiceImpl.access$100(InvitationServiceImpl.java:98) at org.alfresco.repo.invitation.InvitationServiceImpl$1.apply(InvitationServiceImpl.java:778) at org.alfresco.repo.invitation.InvitationServiceImpl$1.apply(InvitationServiceImpl.java:769) at org.alfresco.util.collections.CollectionUtils.transform(CollectionUtils.java:190) at org.alfresco.repo.invitation.InvitationServiceImpl.searchInvitation(InvitationServiceImpl.java:768) at org.alfresco.repo.invitation.InvitationServiceImpl.searchInvitation(InvitationServiceImpl.java:762) at org.alfresco.repo.invitation.InvitationServiceImpl.listPendingInvitationsForInvitee(InvitationServiceImpl.java:712) at org.alfresco.repo.invitation.InvitationServiceImpl.invalidateTasksByUser(InvitationServiceImpl.java:1633) at org.alfresco.repo.invitation.InvitationServiceImpl.access$1100(InvitationServiceImpl.java:98) at org.alfresco.repo.invitation.InvitationServiceImpl$4.doWork(InvitationServiceImpl.java:1624) at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548) at org.alfresco.repo.invitation.InvitationServiceImpl.beforeDeleteNode(InvitationServiceImpl.java:1577) at
[…]
</pre>
As I read it, there is a pending invitation that cannot be droppend somehow. Does somebody have an idea how to detect the affected site and how to remove the user?
Environment: 4.2.f
1 REPLY 1

cdw
Champ in-the-making
Champ in-the-making
I was able to delete the user in 5.0.c - although I am not fully sure if the upgrade was the (only) reason …