Hi all,
After enjoying Open GD77 for some years I have unexpectedly had an issue.
Recently a TYT MD-380 joined my set up and now when plugging in the TYT MD-760 to download the updated codeplug I get an error message.
To remedy this I have uninstalled and reinstalled the latest CPS. I have also selected to reinstall the drivers. I have found the 380 works flawlessly, however the 760 continues to create an error. What I mean by this is I plug in the 760 and get non stop errors, and then plug in the 380 and everything instantly works.
I am using Windows 10.
The error from inside the OpenGd77 CPS says:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at DMR.OpenGD77Form.readOpenGD77RadioInfoAndUpdateUSBBufferSize(SerialPort port, Boolean stealth)
at DMR.OpenGD77Form.probeRadioModel(Boolean stealth)
at DMR.OpenGD77Form.OpenGD77Form_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
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.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
OpenGD77CPS
Assembly Version: 1.2.9165.30499
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/OpenGD77CPS/OpenGD77CPS.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9251.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly Version: 3.0.4.0
Win32 Version: 3.0.4.0
CodeBase: file:///C:/Program%20Files%20(x86)/OpenGD77CPS/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9277.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
I believe the issue is logically in relation to using 2 different radios. And yes I have ensured to have selected the radio type to the top option as reinstalled the driver software using a different USB port.
CPS Unhandled expection error - SOLVED
CPS Unhandled expection error - SOLVED
Last edited by VK7BOB on Sun Feb 23, 2025 11:31 am, edited 1 time in total.
Re: CPS Unhandled expection error
Your firmware is way too old, and the CPS expects a newer one.
Update your firmware.
Update your firmware.
Re: CPS Unhandled expection error
Thanks F1RMB, I will flash the firmware. If it works I'll change the thread to solved. I'm just getting a firmware file too large error to work out first.
Re: CPS Unhandled expection error
I don't know which CPS version your using, or the firmware file you're trying to flash.
This error message appears when the selected file a not really an expected OpenGD77 firmware, as the firmware file has a size limit.
The MD-760 is a GD-77.
Re: CPS Unhandled expection error
Hi F1RMB, I was following the instructions by yours truly in this forum to ensure it was the latest files. The issue was me not reading past step 10 clearly and using the incorrect .bin file. I learnt the hard way it must be the open gd77 .bin file! As you also mentioned, upgrading the firmware (it was indeed very old, 2020) fixed the issue with the CPS software error. I will change the status to solved and hope this may assist others.
Re: CPS Unhandled expection error
Nice you solved the problem.VK7BOB wrote: ↑Sun Feb 23, 2025 11:30 amHi F1RMB, I was following the instructions by yours truly in this forum to ensure it was the latest files. The issue was me not reading past step 10 clearly and using the incorrect .bin file. I learnt the hard way it must be the open gd77 .bin file! As you also mentioned, upgrading the firmware (it was indeed very old, 2020) fixed the issue with the CPS software error. I will change the status to solved and hope this may assist others.