cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4755
Views
0
Helpful
2
Replies

Error : Delete User Cisco Unity

islamahmed
Level 1
Level 1

Hello everybody;

There is an error appears on Cisco Unity when i'm trying to delete a user.

Error: java.lang.ArrayIndexOutOfBoundsException: -3

Thanks in advance

1 Accepted Solution

Accepted Solutions

Inderpal Oberoi
Cisco Employee
Cisco Employee
The Cisco Unity Connection administrator receives one of these error messages when it tries to delete the user from Cisco Unity Connection:
• Operation cannot be completed because the object is in use Or
• Error: java.lang.NullPointerException Solution
The user was designated as the destination for a Call Handler "Call Input Action" and then the Call Handler is deleted. This causes the Call Action record representing the Call Input Action to become orphaned. The orphaned Call Action record references the user, which prevents the user from being deleted.
Perform these steps in order to find the orphan Call Action record(s) and remove them so the user can be removed:
From the Unity Connection CLI, run these queries:
1. For each user that cannot be deleted, issue this query from the CLI replacing the user's alias with "UserAlias": run cuc dbquery unitydirdb select objectid from tbl_callaction where targethandlerobjectid IN (select callhandlerobjectid from vw_subscriber where alias='UserAlias').
2. For each Call Action objectid returned by step 1, issue this query from the CLI replacing the objectid with the objectid of the Call Action returned: run cuc dbquery unitydirdb delete from tbl_callaction where objectid='267db053−fff2−488c−af1d−98b3c70e5ea5'.
3. Delete the user in the Cisco Unity Connection Administration.

Regards
Inderpsi

View solution in original post

2 Replies 2

Inderpal Oberoi
Cisco Employee
Cisco Employee
The Cisco Unity Connection administrator receives one of these error messages when it tries to delete the user from Cisco Unity Connection:
• Operation cannot be completed because the object is in use Or
• Error: java.lang.NullPointerException Solution
The user was designated as the destination for a Call Handler "Call Input Action" and then the Call Handler is deleted. This causes the Call Action record representing the Call Input Action to become orphaned. The orphaned Call Action record references the user, which prevents the user from being deleted.
Perform these steps in order to find the orphan Call Action record(s) and remove them so the user can be removed:
From the Unity Connection CLI, run these queries:
1. For each user that cannot be deleted, issue this query from the CLI replacing the user's alias with "UserAlias": run cuc dbquery unitydirdb select objectid from tbl_callaction where targethandlerobjectid IN (select callhandlerobjectid from vw_subscriber where alias='UserAlias').
2. For each Call Action objectid returned by step 1, issue this query from the CLI replacing the objectid with the objectid of the Call Action returned: run cuc dbquery unitydirdb delete from tbl_callaction where objectid='267db053−fff2−488c−af1d−98b3c70e5ea5'.
3. Delete the user in the Cisco Unity Connection Administration.

Regards
Inderpsi

 

Thank you very much