Menu

#25 Unhandled exception in GetXmlTravelBugs

open
nobody
None
5
2014-08-19
2008-09-30
No

When I click on a cache and then close the pop up window - I get an error :

Unhandled exception has occured in your application. If you click continue the application will ignore this errorand attempt to continue. If you click Quit the application will close immediatly.

Object reference not set to an instance of an object.

Here are the details from the error window:

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 CacheMagnet.XmlElementWrapper.GetXmlTravelBugs(String xpathQuery)
at CacheMagnet.XmlElementWrapper.GetXmlText(String xpathQuery)
at CacheMagnet.Cache.get_Travelbugs()
at CacheMagnet.CacheListView.FastAddWaypoint(Waypoint wp)
at CacheMagnet.CacheListView.AddWaypoint(Waypoint wp)
at CacheMagnet.GpxViewerForm.OnWaypointAdded(Object sender, WaypointEventArgs args)
at CacheMagnet.GpxDocument.<AttachEvents>b__1(Object sender, XmlNodeChangedEventArgs e)
at System.Xml.XmlDocument.AfterEvent(XmlNodeChangedEventArgs args)
at System.Xml.XmlNode.AfterEvent(XmlNodeChangedEventArgs args)
at System.Xml.XmlNode.AppendChild(XmlNode newChild)
at CacheMagnet.GpxDocument.AddWaypoint(Waypoint wp)
at CacheMagnet.GpxViewerForm.ShowSelectedWaypointProperties()
at CacheMagnet.GpxViewerForm.OnItemActivate(Object sender, EventArgs e)
at System.Windows.Forms.ListView.OnItemActivate(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.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: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
CacheMagnet
Assembly Version: 1.0.3192.20872
Win32 Version: 1.0.3192.20872
CodeBase: file:///C:/Program%20Files/CacheMagnet/CacheMagnet.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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.

Discussion


Log in to post a comment.