Cannot open UCCNC, unhandled exception
Posted: Sun Oct 31, 2021 7:02 am
Hey folks
I recently upgraded to the latest UCCNC version. It has been running smoothly for a few days. I was using UCCNC for the entire today up until a couple of hours ago. I shut down the software and the computer, then after a couple of hours have reopened both and now UCCNC will not open.
"Profile: Default.pro was not found or had a syntax error. Attempting to Load the Default Profile!"
When I press OK:
When I press 'continue' it remains hung.
When I load in my OLD .pro from before I upgraded it fires up fine.
I have looked through the current Default.pro and haven't spotted any issues or syntax errors, I've attached it, did the software save something goofy to the .pro I haven't spotted?
The custom screenset listed exists and is named correctly. (yes, the screenset is called Default2019 - MG103.ssf.ssf, for some reason the software forces me to name it with the double extension. This screenset call in the .pro has worked a-ok for a few days with no changes made to the .pro. Additionally if I point the OLD profile to this NEW screenset it also still loads fine).
I was not mucking about in the .pro before it broke. The last thing I was doing in UCCNC was adjusting backoff for a rotary axis before closing the software.
Any tips?
UCCNC 1.2114
Windows 10 pro (10.0.19042)
Details from exception dialog:
************** Exception Text **************
System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at UCCNC.Startupscreen.CloseForm()
at UCCNC.Form1.Mainformpreparation()
at UCCNC.Form1.Form1_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.Form.WmShowWindow(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.4420.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
------------------------------UCCNC
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/UCCNC/UCCNC.exe
I recently upgraded to the latest UCCNC version. It has been running smoothly for a few days. I was using UCCNC for the entire today up until a couple of hours ago. I shut down the software and the computer, then after a couple of hours have reopened both and now UCCNC will not open.
"Profile: Default.pro was not found or had a syntax error. Attempting to Load the Default Profile!"
When I press OK:
When I press 'continue' it remains hung.
When I load in my OLD .pro from before I upgraded it fires up fine.
I have looked through the current Default.pro and haven't spotted any issues or syntax errors, I've attached it, did the software save something goofy to the .pro I haven't spotted?
The custom screenset listed exists and is named correctly. (yes, the screenset is called Default2019 - MG103.ssf.ssf, for some reason the software forces me to name it with the double extension. This screenset call in the .pro has worked a-ok for a few days with no changes made to the .pro. Additionally if I point the OLD profile to this NEW screenset it also still loads fine).
I was not mucking about in the .pro before it broke. The last thing I was doing in UCCNC was adjusting backoff for a rotary axis before closing the software.
Any tips?
UCCNC 1.2114
Windows 10 pro (10.0.19042)
Details from exception dialog:
************** Exception Text **************
System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at UCCNC.Startupscreen.CloseForm()
at UCCNC.Form1.Mainformpreparation()
at UCCNC.Form1.Form1_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.Form.WmShowWindow(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.4420.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
------------------------------UCCNC
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/UCCNC/UCCNC.exe