.net unhandled exception

If you think you've found a bug post it here.

.net unhandled exception

Postby johu » Thu Apr 29, 2021 6:59 am

Today,

when first starting the application I got an error.

First the application showed a dialog message:
The software was started with the /s <SERIAL_NUMBER> command line argument, but a device with this serial number was not found.
Strange because the startup procedure was the same as always.

Directly after this I got an unhandled exception error:

Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OverflowException: Arithmetic operation resulted in an overflow.
   at USBClassLibrary.USBClass.GetUSBDevice(UInt32 VID, UInt32 PID, List`1& ListOfDP, Boolean GetCOMPort, Nullable`1 MI)
   at Plugins.PluginForm..ctor(UCCNCplugin Pluginmain)
   at Plugins.UCCNCplugin.Init_event(Entry UC)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.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
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_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.4300.0 built by: NET48REL1LAST_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.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
OpenTK
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.1664.6217
    CodeBase: file:///C:/UCCNC/OpenTK.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    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.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ୈỲ㬔䙸噤︬玿岱
    Assembly Version: 0.0.65535.65535
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/UCCNC.exe
----------------------------------------
OpenTK.GLControl
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.1664.6217
    CodeBase: file:///C:/UCCNC/OpenTK.GLControl.DLL
----------------------------------------
OpenTK.Compatibility
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.1664.6217
    CodeBase: file:///C:/UCCNC/OpenTK.Compatibility.DLL
----------------------------------------
ILCalc
    Assembly Version: 0.9.7.5
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/UCCNC.exe
----------------------------------------
ory3hwqa
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
AForge.Video.DirectShow
    Assembly Version: 2.2.5.0
    Win32 Version: 2.2.5.0
    CodeBase: file:///C:/UCCNC/AForge.Video.DirectShow.DLL
----------------------------------------
Microsoft.CSharp
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Dynamic
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
j1j3bid1
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Plugininterface
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugininterface.DLL
----------------------------------------
AutoBackupProfile
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/UCCNC/Plugins/AutoBackupProfile.dll
----------------------------------------
AutoLevelerCA
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/AutoLevelerCA.dll
----------------------------------------
C76 Fault Reporting
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/UCCNC/Plugins/C76%20Fault%20Reporting.dll
----------------------------------------
Console
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Console.dll
----------------------------------------
Debugger
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Debugger.dll
----------------------------------------
Diagnostics
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Diagnostics.dll
----------------------------------------
FaultSignals
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///C:/UCCNC/Plugins/FaultSignals.dll
----------------------------------------
Laserengrave
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Laserengrave.dll
----------------------------------------
Lubricator
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Lubricator.dll
----------------------------------------
Modbusmaster
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Modbusmaster.dll
----------------------------------------
Pinout
    Assembly Version: 2.5.0.0
    Win32 Version: 2.5.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Pinout.dll
----------------------------------------
Plugintest
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Plugintest.dll
----------------------------------------
Printer3D
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Printer3D.dll
----------------------------------------
Probing
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Probing.dll
----------------------------------------
Profiler
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Profiler.dll
----------------------------------------
Scope
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Scope.dll
----------------------------------------
UCCAM
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/UCCAM.dll
----------------------------------------
UCCNC_OSK
    Assembly Version: 1.7.3.0
    Win32 Version: 1.7.3.0
    CodeBase: file:///C:/UCCNC/Plugins/UCCNC_OSK.dll
----------------------------------------
UCR200Plugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/UCR200Plugin.dll
----------------------------------------
UCR201Plugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/UCR201Plugin.dll
----------------------------------------
Webcamera
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Webcamera.dll
----------------------------------------
Xbox360controller
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Xbox360controller.dll
----------------------------------------
XHC-HB04_pendant
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/XHC-HB04_pendant.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.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.


Although restarting the application fixed the problem, I still think the error should be handled properly.
johu
 
Posts: 35
Joined: Fri Jan 08, 2021 3:57 pm

Re: .net unhandled exception

Postby cncdrive » Fri Apr 30, 2021 2:44 am

It is caused by one of the plugins you enabled.
But it is not clear which one caused it.
cncdrive
Site Admin
 
Posts: 4901
Joined: Tue Aug 12, 2014 11:17 pm

Re: .net unhandled exception

Postby johu » Wed May 12, 2021 9:45 am

I've had the "Unhandled Exception" multiple times now.
I'd like to figure out which plugin causes it.

The dialog box ends with:
Code: Select all
...
************** 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.


So I downloaded the Microsoft's "Visual Studio Community 2019" installer.
I've installed none of the "Workloads" and only selected the component "Just-In-Time debugger".
The installation size is approximatly 1.4Gb.

Now after a few restarts an "Unhandled Exception" popped-up:
UCCNC_Error - UCR201 Plugin Beta 1.4.png

Now it's clear where the error originated:
The UCR201 Plugin Beta 1.4

Now my question is:
Do you have a newer version of the plugin available?
- If yes, where to find it? (For now I've used the automatic installer from here)
- If no, could you enable the debugging feature for the application? Or should I enable something on my machine to make debugging work?
johu
 
Posts: 35
Joined: Fri Jan 08, 2021 3:57 pm

Re: .net unhandled exception

Postby dezsoe » Wed May 12, 2021 10:50 am

Please, open the details and copy the detailed message here. Thanks.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: .net unhandled exception

Postby dezsoe » Wed May 12, 2021 10:52 am

And also your current profile, please. Maybe, it tries to load a bad setting.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: .net unhandled exception

Postby johu » Wed May 12, 2021 11:58 am

The UCR201 Pendant has FW V1.005
Europe CH: 2

The UCR201 Plugin is version Beta 1.4

My UCCNC profile is attached here:
CNC_Frees.pro
Profile
(42.24 KiB) Downloaded 616 times


And the details of the dialog:
Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OverflowException: Arithmetic operation resulted in an overflow.
   at USBClassLibrary.USBClass.GetUSBDevice(UInt32 VID, UInt32 PID, List`1& ListOfDP, Boolean GetCOMPort, Nullable`1 MI)
   at Plugins.PluginForm..ctor(UCCNCplugin Pluginmain)
   at Plugins.UCCNCplugin.Init_event(Entry UC)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.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
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_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.4300.0 built by: NET48REL1LAST_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.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
OpenTK
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.1664.6217
    CodeBase: file:///C:/UCCNC/OpenTK.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    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.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ୈỲ㬔䙸噤︬玿岱
    Assembly Version: 0.0.65535.65535
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/UCCNC.exe
----------------------------------------
OpenTK.GLControl
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.1664.6217
    CodeBase: file:///C:/UCCNC/OpenTK.GLControl.DLL
----------------------------------------
OpenTK.Compatibility
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.1664.6217
    CodeBase: file:///C:/UCCNC/OpenTK.Compatibility.DLL
----------------------------------------
ILCalc
    Assembly Version: 0.9.7.5
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/UCCNC.exe
----------------------------------------
fdal1szn
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
AForge.Video.DirectShow
    Assembly Version: 2.2.5.0
    Win32 Version: 2.2.5.0
    CodeBase: file:///C:/UCCNC/AForge.Video.DirectShow.DLL
----------------------------------------
Microsoft.CSharp
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Dynamic
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
5s4xdc5o
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Plugininterface
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugininterface.DLL
----------------------------------------
AutoBackupProfile
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/UCCNC/Plugins/AutoBackupProfile.dll
----------------------------------------
AutolevelerCA
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/AutolevelerCA.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
C76 Fault Reporting
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/UCCNC/Plugins/C76%20Fault%20Reporting.dll
----------------------------------------
Console
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Console.dll
----------------------------------------
Debugger
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Debugger.dll
----------------------------------------
Diagnostics
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Diagnostics.dll
----------------------------------------
FaultSignals
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///C:/UCCNC/Plugins/FaultSignals.dll
----------------------------------------
Laserengrave
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Laserengrave.dll
----------------------------------------
Lubricator
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Lubricator.dll
----------------------------------------
Modbusmaster
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Modbusmaster.dll
----------------------------------------
Pinout
    Assembly Version: 2.5.0.0
    Win32 Version: 2.5.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Pinout.dll
----------------------------------------
Plugintest
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Plugintest.dll
----------------------------------------
Printer3D
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Printer3D.dll
----------------------------------------
Probing
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Probing.dll
----------------------------------------
Profiler
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Profiler.dll
----------------------------------------
Scope
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Scope.dll
----------------------------------------
UCCAM
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/UCCAM.dll
----------------------------------------
UCCNC_OSK
    Assembly Version: 1.7.3.0
    Win32 Version: 1.7.3.0
    CodeBase: file:///C:/UCCNC/Plugins/UCCNC_OSK.dll
----------------------------------------
UCR200Plugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/UCR200Plugin.dll
----------------------------------------
UCR201Plugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/UCR201Plugin.dll
----------------------------------------
Webcamera
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Webcamera.dll
----------------------------------------
Xbox360controller
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/Xbox360controller.dll
----------------------------------------
XHC-HB04_pendant
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/UCCNC/Plugins/XHC-HB04_pendant.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.


johu
 
Posts: 35
Joined: Fri Jan 08, 2021 3:57 pm

Re: .net unhandled exception

Postby Dimitris » Mon May 17, 2021 11:02 am

Hi to all,

I just received my UCR201 a couple of days ago. I love it!
The only problem I've got is that I get the unhandled exception when starting the UCNC application. Some times.. It takes a couple of retries to start successfully.
Attachments
unhandled exception.png
Dimitris
 
Posts: 1
Joined: Mon May 17, 2021 10:58 am

Re: .net unhandled exception

Postby dezsoe » Mon May 17, 2021 8:51 pm

Thank you for the details, I'll contact to the developer and be back soon.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: .net unhandled exception

Postby Battwell » Fri May 28, 2021 12:07 pm

i have had this with the ucr201 as well.
its resolved by unplugging and re mounting the usb receiver.
can be a pain!
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: .net unhandled exception

Postby cncdrive » Sat May 29, 2021 1:06 am

Dezsoe, could you please check and correct his issue.
It seems to me that it is something to do with the HID devices query, but I do not have the source code nor a UCR201 at me to debug it.
So, please contact with the collegue who develops it and ask him to correct it or get the source code from him and correct it.
It would be nice to have this corrected in the next release.
cncdrive
Site Admin
 
Posts: 4901
Joined: Tue Aug 12, 2014 11:17 pm

Next

Return to Report a bug

Who is online

Users browsing this forum: Bing [Bot] and 1 guest