OD crashes on start

This forum is for programmers who have questions about the source code.
Post Reply
pid_user
Posts: 67
Joined: Thu Jun 04, 2015 9:31 am

OD crashes on start

Post by pid_user » Wed Sep 29, 2021 1:14 am

Hi,
Suddenly started getting this error on my OD- 20.5.68 version. And my preference entry for ADAdescriptionsReset is 1.

Error Encountered - 09/29/2021 1:40:44 PM
Unhandled exception : Method not found: 'Int32 OpenDentBusiness.ProcedureCodes.ResetADAdescriptions()'.
System.MissingMethodException
at OpenDental.FormOpenDental.FormOpenDental_Shown(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

Please help

joes
Posts: 239
Joined: Tue Aug 13, 2019 12:41 pm

Re: OD crashes on start

Post by joes » Wed Sep 29, 2021 9:40 am

Are you compiling from source code? If so, I think your FormOpenDental.cs needs to be updated. The name of ProcedureCodes.ResetADAdescriptions() was changed to ProcedureCodes.ResetADAdescriptionsAndAbbrs().
Joe Sullivan
Open Dental Software
http://www.opendental.com

pid_user
Posts: 67
Joined: Thu Jun 04, 2015 9:31 am

Re: OD crashes on start

Post by pid_user » Wed Sep 29, 2021 11:53 pm

Thank you for the help. i build up my plugin with dlls version 20.5.68 and now OD is working fine.

pid_user
Posts: 67
Joined: Thu Jun 04, 2015 9:31 am

Re: OD crashes on start

Post by pid_user » Mon Oct 04, 2021 6:29 am

Hi,
Another similar error found on load of Open Dental 21.1.

Unhandled exception : Method not found: 'System.String OpenDental.Thinfinity.Browser.GetComputerIpAddress()'.
System.MissingMethodException
at OpenDental.FormOpenDental.IsCloudUserIpAllowed()
at OpenDental.FormOpenDental.LogOnOpenDentalUser(String odUser, String odPassword, String domainUserFromCmd)
at OpenDental.FormOpenDental.FormOpenDentalShown()
at OpenDental.FormOpenDental.FormOpenDental_Shown(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

joes
Posts: 239
Joined: Tue Aug 13, 2019 12:41 pm

Re: OD crashes on start

Post by joes » Mon Oct 04, 2021 8:30 am

That method still exists under that name in the latest version of 21.1. It is in VirtualWeb.dll. You may have an outdated version of that dll.
Joe Sullivan
Open Dental Software
http://www.opendental.com

pid_user
Posts: 67
Joined: Thu Jun 04, 2015 9:31 am

Re: OD crashes on start

Post by pid_user » Mon Oct 04, 2021 11:43 pm

Hi,
with the latest virtualweb dll, available in OD 21.1.59, the crash issue is resolve. but when i put note in chart window, in group note, facing this error-
Unhandled exception : Object reference not set to an instance of an object.
System.NullReferenceException
at OpenDental.FormProcGroup.FormProcGroup_FormClosing(Object sender, FormClosingEventArgs e)
at System.Windows.Forms.FormClosingEventHandler.Invoke(Object sender, FormClosingEventArgs e)
at System.Windows.Forms.Form.OnFormClosing(FormClosingEventArgs e)
at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)

joes
Posts: 239
Joined: Tue Aug 13, 2019 12:41 pm

Re: OD crashes on start

Post by joes » Tue Oct 05, 2021 9:29 am

The FormProcGroup.cs for version 21.1 has not changed since that version's release, and we don't currently have any bug reports that match the UE you are getting. I was also unable to reproduce this error. You may have other files that need updates.
Joe Sullivan
Open Dental Software
http://www.opendental.com

Post Reply