zebra reader add unhandled exception has occurred in you application.

87 views
Skip to first unread message

Mark Scoles

unread,
May 5, 2024, 10:54:58 AM5/5/24
to Agee Race Timing Users Group
Pulling out my ART stuff for the second time since cross country season.  I tried to time a cross country style 2 mile earlier this season and ran into the same problem.  It was no big deal on that day.  I just pivoted to my finishlynx stuff. 

But now I have road races coming up and I cannot get my Zebra FX9600 to load. 

I enter the correct Reader Host Name: fx96006968a5, but get the following error:

Unhandled exception has occurred in your application.  If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Object reference not set to an instance of an object. 

Thanks,
Mark 

Any help in correcting this error will be greatly appreciated.

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 RaceTimingSoftware.frmSettings.btnAddDevice_Click(Object sender, EventArgs e) in C:\Projects\BitBucket\AgeeRaceTiming\RaceTiming2\RaceTiming2\UI\frmSettings.vb:line 2781
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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.9232.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
RaceTimingSoftware
    Assembly Version: 1.6.2.0
    Win32 Version: 1.6.2.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/RaceTimingSoftware.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9181.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.9236.0 built by: NET481REL1LAST_B
    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
----------------------------------------
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.9236.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
----------------------------------------
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
----------------------------------------
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.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Management
    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.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.117.0
    Win32 Version: 1.0.117.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/System.Data.SQLite.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.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
CanonCaptureLib
    Assembly Version: 1.0.0.2
    Win32 Version: 1.0.0.2
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/CanonCaptureLib.DLL
----------------------------------------
NikonCapture
    Assembly Version: 1.0.0.2
    Win32 Version: 1.0.0.2
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/NikonCapture.DLL
----------------------------------------
Microsoft.ReportViewer.WinForms
    Assembly Version: 11.0.0.0
    Win32 Version: 11.0.3366.16 ((SQL11_SP1_RS_Dev12-RTM).130829-0516 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/Microsoft.ReportViewer.WinForms.DLL
----------------------------------------
GrapeCity.ActiveReports.Viewer.Win.v12
    Assembly Version: 12.1.12924.0
    Win32 Version: 12.1.12924.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/GrapeCity.ActiveReports.Viewer.Win.v12.DLL
----------------------------------------
Microsoft.ReportViewer.Common
    Assembly Version: 11.0.0.0
    Win32 Version: 11.0.3452.0 ((SQL11_SP1_QFE-CU).140703-1546 )
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/Microsoft.ReportViewer.Common.DLL
----------------------------------------
GrapeCity.ActiveReports.Extensibility.v12
    Assembly Version: 12.1.12924.0
    Win32 Version: 12.1.12924.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/GrapeCity.ActiveReports.Extensibility.v12.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.9232.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
GrapeCity.ActiveReports.v12
    Assembly Version: 12.1.12924.0
    Win32 Version: 12.1.12924.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/GrapeCity.ActiveReports.v12.DLL
----------------------------------------
Newtonsoft.Json
    Assembly Version: 13.0.0.0
    Win32 Version: 13.0.1.25517
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/Newtonsoft.Json.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
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
GrapeCity.ActiveReports.Diagnostics.v12
    Assembly Version: 12.1.12924.0
    Win32 Version: 12.1.12924.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/GrapeCity.ActiveReports.Diagnostics.v12.DLL
----------------------------------------
System.Xml.Linq
    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.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
GrapeCity.ActiveReports.Document.v12
    Assembly Version: 12.1.12924.0
    Win32 Version: 12.1.12924.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/GrapeCity.ActiveReports.Document.v12.DLL
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9232.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
GrapeCity.ActiveReports.Export.Image.v12
    Assembly Version: 12.1.12924.0
    Win32 Version: 12.1.12924.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/GrapeCity.ActiveReports.Export.Image.v12.DLL
----------------------------------------
MercuryAPI
    Assembly Version: 1.27.3.16
    Win32 Version: 1.27.3.16
    CodeBase: file:///C:/Program%20Files%20(x86)/Cross%20Country%20Productions/Agee%20Race%20Timing/Bin/MercuryAPI.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.

Brian Agee

unread,
May 6, 2024, 8:50:23 PM5/6/24
to Agee Race Timing Users Group
The line number that the message said the error came from (line 2781) is simply the software trying to open a connection to the database. So it makes me wonder if the database file (or the folder it's in) is locked down by some kind of virus protection that's being too aggressive, or the database file is residing somewhere that's not local to the computer. This is not something I've seen others reporting. So I would have to remote into the computer to find out what's going on - but I suspect that that may be difficult if the computer you're on is totally locked down.

You could try creating a brand new database file in a new location. Click on the "Create New Database" button in the Settings screen and select a folder and see if that works.
Reply all
Reply to author
Forward
0 new messages