Archive Migration Error: Exception: List index out of bounds (0)

  • 7024978
  • 07-Jan-2021
  • 07-Jan-2021

Environment

Retain Unified Archiving 4.x

Situation

While attempting to import GroupWise users archives into Retain using the GW Archive Migration tool, getting the error: Exception: List index out of bounds (0) no matter which users archive you are trying to import.

[1/5/2021 7:41:13 AM][DEBUG] Get GW User Info Using ObjAPI...
[1/5/2021 7:41:13 AM][DEBUG]   Email Address: testuser1@mylabdomain.com
[1/5/2021 7:41:13 AM][DEBUG]   FID: b0b
[1/5/2021 7:41:13 AM][DEBUG]   UUID: 388AD470-09D0-0000-A570-646F34366565
[1/5/2021 7:41:13 AM][DEBUG]   Account Type: 1
[1/5/2021 7:41:13 AM][DEBUG]   Domain: PDomain
[1/5/2021 7:41:13 AM][DEBUG]   PO: Post01
[1/5/2021 7:41:13 AM][DEBUG]   Found 0 Addressbook Entries
[1/5/2021 7:41:13 AM][DEBUG] Exit GW User Info Using ObjAPI.
[1/5/2021 7:41:13 AM][ERROR] Exception: List index out of bounds (0)

Resolution

In the GroupWise Personal Archive Migration Utility Configuration utility, make sure that all five fields are properly filled out on the Connections tab, including http or https for the POA SOAP URL.

Then, in the User List tab, select the box to "Enable Multiple User Processing Using a Text File". In the Users to Process box, type in the UserID(s) of the user that you are attempting to import the archive for:


Exit and save the configuration and then run the MigrationTool.exe and open the correct configuration file that was just saved.

The archive import should work successfully now.

[1/7/2021 8:58:15 AM][DEBUG] Get GW User Info Using ObjAPI...
[1/7/2021 8:58:15 AM][DEBUG]   Email Address: testuser1@mylabdomain.com
[1/7/2021 8:58:15 AM][DEBUG]   FID: b0b
[1/7/2021 8:58:15 AM][DEBUG]   UUID: 388AD470-09D0-0000-A570-646F34366565
[1/7/2021 8:58:15 AM][DEBUG]   Account Type: 1
[1/7/2021 8:58:15 AM][DEBUG]   Domain: PDomain
[1/7/2021 8:58:15 AM][DEBUG]   PO: Post01
[1/7/2021 8:58:15 AM][DEBUG]   Found 0 Addressbook Entries
[1/7/2021 8:58:15 AM][DEBUG] Exit GW User Info Using ObjAPI.
[1/7/2021 8:58:15 AM][DEBUG]
[1/7/2021 8:58:15 AM][DEBUG] Get GW User Info Using SOAP API...
[1/7/2021 8:58:15 AM][DEBUG] Making SOAP Connection...
[1/7/2021 8:58:15 AM][DEBUG] SOAP Response: 0 - Success
[1/7/2021 8:58:15 AM][DEBUG]   Mailbox: testuser1
[1/7/2021 8:58:15 AM][DEBUG]
[1/7/2021 8:58:15 AM][DEBUG] Final GW User Info...
[1/7/2021 8:58:15 AM][DEBUG]    UserInfo.Mailbox:testuser1
[1/7/2021 8:58:15 AM][DEBUG]    UserInfo.FID:b0b
[1/7/2021 8:58:15 AM][DEBUG]    UserInfo.UUID:388AD470-09D0-0000-A570-646F34366565
[1/7/2021 8:58:15 AM][DEBUG]    UserInfo.FirstName:
[1/7/2021 8:58:15 AM][DEBUG]    UserInfo.LastName:
[1/7/2021 8:58:15 AM][DEBUG]    UserInfo.Domain:PDomain
[1/7/2021 8:58:15 AM][DEBUG]    UserInfo.PO:Post01
[1/7/2021 8:58:15 AM][DEBUG]    UserInfo.Dept:
[1/7/2021 8:58:15 AM][DEBUG]    UserInfo.UserType:1
[1/7/2021 8:58:15 AM][DEBUG] Open forced archive at: C:\archive\ofb0barc
[1/7/2021 8:58:15 AM][INFO] Connected to archive at path: C:\archive\ofb0barc
[1/7/2021 8:58:15 AM][INFO] Logged in as user: testuser1@mylabdomain.com
[1/7/2021 8:58:16 AM][DEBUG] acquireTicket result: OK:
[1/7/2021 8:58:16 AM][DEBUG] checkIfUserExists result: OK: USER EXISTS ::: 388AD470-09D0-0000-A570-646F34366565
[1/7/2021 8:58:16 AM][INFO] Counting All Messages...
[1/7/2021 8:58:16 AM][INFO] 10 Messages to Process
[1/7/2021 8:58:16 AM][INFO] Counting All Trash...
[1/7/2021 8:58:16 AM][INFO] 0 Trash to Process
[1/7/2021 8:58:16 AM][INFO] ========== Processing Messages ==========
[1/7/2021 8:58:16 AM][DEBUG] MsgID: 5FF40B38.PDomain.Post01.100.1623062.1.1F.1
[1/7/2021 8:58:16 AM][INFO] Subject: Template signature
[1/7/2021 8:58:16 AM][DEBUG] Sender: testuser2@mylabdomain.com
[1/7/2021 8:58:16 AM][DEBUG] Sender Display Name: Test User2
[1/7/2021 8:58:16 AM][DEBUG] Delivered Date: 1/22/2020 11:07:50 AM
[1/7/2021 8:58:16 AM][DEBUG] Folder: \Test User1\Mailbox\
[1/7/2021 8:58:16 AM][DEBUG] Saved Msg Body
[1/7/2021 8:58:16 AM][DEBUG] Attachments: 1
[1/7/2021 8:58:16 AM][DEBUG] ObjType: 1
[1/7/2021 8:58:16 AM][DEBUG] Attachment Filename: TEXT.htm
[1/7/2021 8:58:16 AM][DEBUG] Processing file: C:\Users\NTS\AppData\Local\Temp\RetainMigrationTool\1\TEXT.htm
[1/7/2021 8:58:16 AM][DEBUG] Hash: 628E1F97E5822A83C41899E9403242A7075924438012C2058A554EB0153D420C
[1/7/2021 8:58:16 AM][DEBUG] Result: OK:
[1/7/2021 8:58:16 AM][DEBUG] Sending file: C:\Users\NTS\AppData\Local\Temp\RetainMigrationTool\1\TEXT.htm
[1/7/2021 8:58:17 AM][DEBUG] result archiveError.errorid: OK
[1/7/2021 8:58:17 AM][DEBUG] result archiveError.errorMsg: All is well.
[1/7/2021 8:58:17 AM][DEBUG] Doc exists
[1/7/2021 8:58:17 AM][DEBUG] Processing file: C:\Users\NTS\AppData\Local\Temp\RetainMigrationTool\1\mail.txt
[1/7/2021 8:58:17 AM][DEBUG] Hash: 313237FDDB4A5B958458419576F76EE5CC0E2062178B60B555FA9CA2C8442DD4
[1/7/2021 8:58:17 AM][DEBUG] Result: INSTANCE_DOES_NOT_EXIST
[1/7/2021 8:58:17 AM][DEBUG] Sending file: C:\Users\NTS\AppData\Local\Temp\RetainMigrationTool\1\mail.txt
[1/7/2021 8:58:18 AM][DEBUG] result archiveError.errorid: OK
[1/7/2021 8:58:18 AM][DEBUG] result archiveError.errorMsg: All is well.