Error: Object reference not set to an instance of an object - when running the Call Center add-in

You may receive one of the following errors when running the current version (3.1.16) of the Call Center add-in:

An error has occurred when attempting to load the next constituent from the call list. Please notify the Call Center administrator of this error.
or
An error occurred during save. This may have resulted in loss of data. Please notify a call center administrator of this issue.
This error is currently being research and will be resolved in a future version of the Call Center.

The error is caused when trying to retrieve the next constituent from the list when you have reached the end of the list. There is no loss of data caused by the error. It has completed the save process and is attempting to move on to the next constituent in the list which doesn't exist.

There are two ways to confirm this is the issue:
1. Use the "View call list" feature of the Call Center in the Admin area to check the list. It should be empty.

or

2. Review the log file for details. CallCenterLog.txt should be found in the same folder as the Call Center Custom Application.exe file.
Search up from the bottom for "error".
Note the caller in the prefix for the error log (mm/dd/yyyy hh:mm:ss PM | Call Center 3 |)
Scan the a few lines up from that error and you should see these three logs in sequence for that caller:
mm/dd/yyyy hh:mm:ss PM | Call Center 3 | Reached end of call list. Processing time: 0.1334618 seconds | Call Center Plug-In |
 
mm/dd/yyyy hh:mm:ss PM | Call Center 3 | btnSaveAndNext_onclick() | Call Center Plug-In | 91 | System.NullReferenceException: Object reference not set to an instance of an object.
at Call_Center_Custom_Application.CallCenterMainControl.btn_SaveAndNext_Click(Object sender, EventArgs e)

mm/dd/yyyy hh:mm:ss PM | Call Center 3 | An error occurred and the information entered was unable to save | Call Center Plug-In |  | System.Exception: DataManager.SaveCallRecord failed to execute at region: SaveCallAction ---> System.Runtime.InteropServices.COMException: CRecord:
Init method must be called before using this object
 

Steps to Duplicate

1. Open the Call Center add-in
2. Click Start Shift
3. Select the appropriate Appeal, Package and Call List
4. Click Start List
(usually occurs after processing through several names in the list)
5. Select "Busy/No Answer" from as the response
6. Click Save and Next

This could occur with any response. We just used Busy/No answer for this example.

Was this article helpful?