Unhandled exception from ProgramEntry

This forum is for programmers who have questions about the source code.
Post Reply
jfd2
Posts: 55
Joined: Sat Feb 16, 2008 10:14 pm

Unhandled exception from ProgramEntry

Post by jfd2 » Sat Oct 28, 2017 8:50 pm

Hello All,

WE got this once in a while, once it happened, we restarting OD and it will be fine for a while. then randomly this error will be thrown. we are on 17.2.30:
Unhandled exception from ProgramEntry: There is no row at position 130.
System.IndexOutOfRangeException
at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
at OpenDental.ContrAccount.toolBarButIns_Click(Boolean isVerbose, Patient pat, Family fam, ODGrid grid, DataTable tableIn, Boolean hasPrimaryClaim, Boolean hasSecondaryClaim) in D:\Work\opendental\opendental17.2\OpenDental\Main Modules\ContrAccount.cs:line 3796
at OpenDental.ContrAccount.ToolBarMain_ButtonClick(Object sender, ODToolBarButtonClickEventArgs e) in D:\Work\opendental\opendental17.2\OpenDental\Main Modules\ContrAccount.cs:line 3608
at OpenDental.UI.ODToolBar.OnButtonClicked(ODToolBarButton myButton) in D:\Work\opendental\opendental17.2\OpenDental\UI\ODToolBar.cs:line 278
at OpenDental.UI.ODToolBar.OnMouseUp(MouseEventArgs e) in D:\Work\opendental\opendental17.2\OpenDental\UI\ODToolBar.cs:line 258
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Thanks.
Best regards,

Jeff

User avatar
dgraffeo
Posts: 147
Joined: Wed Sep 24, 2014 3:19 pm

Re: Unhandled exception from ProgramEntry

Post by dgraffeo » Tue Oct 31, 2017 11:28 am

Strange. It may be best to call us and let us collect a copy of your database so we can try and troubleshoot it. There isn't too much special about this section, I can't tell what's breaking based on this error message.
"To understand what recursion is, you must first understand recursion."

David Graffeo
Open Dental Software
http://www.opendental.com

Post Reply