07-04-2017 02:05 AM - edited 03-13-2019 09:57 PM
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
Solved! Go to Solution.
07-05-2017 12:45 PM
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
07-05-2017 12:45 PM
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
07-09-2017 11:52 PM - edited 02-11-2018 10:16 PM
Thank you very much
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide