gerhardol / trails

Compare (parts of) activities in SportTracks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting an error message first time using

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Just installed and got the error message
2. What am I missing?
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
0.1.5.0  OS=Windows XP

Please provide any additional information below.
Object reference not set to an instance of an object.

   at TrailsPlugin.Data.Settings.FromXml(XmlNode pluginNode)
   at TrailsPlugin.PluginMain.ReadExtensionData()
   at TrailsPlugin.PluginMain.get_Settings()
   at TrailsPlugin.UI.Activity.ActivityDetailPageControl.RefreshColumns()
   at TrailsPlugin.UI.Activity.ActivityDetailPageControl.InitControls()
   at TrailsPlugin.UI.Activity.ActivityDetailPageControl..ctor(IActivity activity)
   at TrailsPlugin.UI.Activity.ActivityDetailPage.CreatePageControl()
   at ZoneFiveSoftware.SportTracks.UI.Controls.PageSelectorBanner.ShowCurrentPage()

Original issue reported on code.google.com by cbenson9...@gmail.com on 1 Jul 2010 at 1:34

Corrected since version 0.2.65 - see downloads
Awaiting feedback before releasing a new version as default

Original comment by gerhard....@gmail.com on 1 Jul 2010 at 9:18

  • Changed state: Fixed
I also have just installed 1.0.364 into ST3 (on Win XP) and got the Object 
reference not set to an instance of an object message.

Error Details
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an 
object.
   at TrailsPlugin.UI.Activity.ResultListControl.RefreshColumns() in G:\Users\go\dev\gc\trails\trunk\UI\Activity\ResultListControl.cs:line 132
   at TrailsPlugin.UI.Activity.ResultListControl.UICultureChanged(CultureInfo culture) in G:\Users\go\dev\gc\trails\trunk\UI\Activity\ResultListControl.cs:line 107
   at TrailsPlugin.UI.Activity.ActivityDetailPageControl.UICultureChanged(CultureInfo culture) in G:\Users\go\dev\gc\trails\trunk\UI\Activity\ActivityDetailPageControl.cs:line 116
   at TrailsPlugin.UI.Activity.ActivityDetailPage.UICultureChanged(CultureInfo culture) in G:\Users\go\dev\gc\trails\trunk\UI\Activity\ActivityDetailPage.cs:line 172
   at ZoneFiveSoftware.SportTracks.UI.Controls.PageSelectorBanner.SetCurrentPageUICulture(CultureInfo culture)
   at ZoneFiveSoftware.SportTracks.UI.Controls.PageSelectorBanner.ShowCurrentPage()
   at ZoneFiveSoftware.SportTracks.UI.Controls.PageSelectorBanner.ShowPage(IDialogPage page)
   at ZoneFiveSoftware.SportTracks.UI.Controls.PageSelectorBanner.Menu_Select(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.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.3615 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SportTracks
    Assembly Version: 3.0.4182.37640
    Win32 Version: 3.0.4182.37640
    CodeBase: file:///C:/Program%20Files/Zone%20Five%20Software/SportTracks%203/SportTracks.exe
----------------------------------------
Common.Visuals
    Assembly Version: 3.0.4182.37540
    Win32 Version: 3.0.4182.37540
    CodeBase: file:///C:/Program%20Files/Zone%20Five%20Software/SportTracks%203/Common.Visuals.DLL
----------------------------------------

Original comment by robertso...@gmail.com on 19 Jul 2011 at 3:50

Thanks for searching before reporting and for including info. 
Just one comment. In this case, the issue was already fixed, so I do not see 
the updates easily, it would have been better to open a new one.

The problem occurs when starting ST without a logbook is loaded by default. 
Seem to be OK if open ST, create logbook, close and reopen. Anyway, I removed 
the old compatibility code causing the problem and uploaded a new build.
(not in the Plugin Catalog yet.)

Original comment by gerhard....@gmail.com on 19 Jul 2011 at 4:43