I’m trying once again to upgrade to GHI NetMF SDK 2015 R1 and have the same issue that FezConfig throws an Unhandled exception. Here’s the text from the Unhandled exception window. Below that is what I was able to get out of the Windows Event Viewer. I tried to repair the GHI SDK installation. As part of that process, this website pops up: file:///C:/Program%20Files%20(x86)/Atmel/sam-ba_2.12/doc/usb_notice.html
It talks about the SAM-BA USB driver. I can’t find the ‘atm6124.Sys ATMEL AT91xxxxx Test Board’ entry it refers do anywhere in the device manager if that makes a difference and none of the options for installing it seem to pop up for me.
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 FEZConfig.TinyConfiguaration.TinyConfiguaration_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.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
FEZ Config
Assembly Version: 4.3.7.10
Win32 Version: 4.3.7.10
CodeBase: file:///C:/Program%20Files%20(x86)/GHI%20Electronics/FEZ%20Config/FEZ%20Config.exe
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34270 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
Microsoft.SPOT.Debugger
Assembly Version: 4.3.1.0
Win32 Version: 4.3.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/GHI%20Electronics/FEZ%20Config/Microsoft.SPOT.Debugger.DLL
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
MFDeployEngine
Assembly Version: 4.3.1.0
Win32 Version: 4.3.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/GHI%20Electronics/FEZ%20Config/MFDeployEngine.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:
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.
The following is from the Windows Event Viewer
Log Name: Application
Source: Application Error
Date: 11/6/2015 9:40:36 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: Vailuluu.shore.mbari.org
Description:
Faulting application name: FEZ Config.exe, version: 4.3.7.10, time stamp: 0x55ba6aa6
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x008127dd
Faulting process id: 0x1ae4
Faulting application start time: 0x01d118ba38c984bc
Faulting application path: C:\Program Files (x86)\GHI Electronics\FEZ Config\FEZ Config.exe
Faulting module path: unknown
Report Id: 7c988faf-84ad-11e5-871b-00247e3b7d3e
Event Xml:
1000
2
100
0x80000000000000
70330
Application
Vailuluu.shore.mbari.org
FEZ Config.exe
4.3.7.10
55ba6aa6
unknown
0.0.0.0
00000000
c0000005
008127dd
1ae4
01d118ba38c984bc
C:\Program Files (x86)\GHI Electronics\FEZ Config\FEZ Config.exe
unknown
7c988faf-84ad-11e5-871b-00247e3b7d3e
Log Name: Application
Source: .NET Runtime
Date: 11/6/2015 9:40:35 AM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: Vailuluu.shore.mbari.org
Description:
Application: FEZ Config.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at FEZConfig.ConnectionForm.DisconnectCurrentDevice(Boolean)
at FEZConfig.ConnectionForm.RefreshDeviceNameInList(Boolean)
at FEZConfig.ConnectionForm.ThreadRefeshDevice()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
Event Xml:
1026
2
0
0x80000000000000
70329
Application
Vailuluu.shore.mbari.org
Application: FEZ Config.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at FEZConfig.ConnectionForm.DisconnectCurrentDevice(Boolean)
at FEZConfig.ConnectionForm.RefreshDeviceNameInList(Boolean)
at FEZConfig.ConnectionForm.ThreadRefeshDevice()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()