gerhardol / trails

Compare (parts of) activities in SportTracks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trail panel generates error

GoogleCodeExporter opened this issue · comments

Hi there, I don't know if this an issue or has something to do with the
plugins I've installed, anyway, everytime I select the "Trails" panel from
activities SportTracks shows an "error loading view" message:

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()

Also, if I select "Trails plugin" under plugin settings I see either
similar errors or ST hungs up.

Can you help?
Thanks,
Cristiano

Original issue reported on code.google.com by cristian...@gmail.com on 21 Apr 2009 at 4:08

I too am receiving this error.  I just installed it for the first time (so 
there was
currently no 'Trails' data in my logbook), went to the trails pane, and this 
error is
pasted in the pane.

Original comment by eddyw...@gmail.com on 1 May 2009 at 5:59

I had to go all the way back to v0.1.2 in order to get the panel to show up.  
Once I
did that, I saved the logbook, and could now run the current v0.1.5 without this
error showing up.

Original comment by eddyw...@gmail.com on 1 May 2009 at 6:22

I did as you said but with no luck, I still get the same error in 0.1.5. 
Nevertheless
if I revert back to 0.1.2 the panel shows up.

Other ideas?

Original comment by cristian...@gmail.com on 21 May 2009 at 2:01

My error message upon plugin installation (on Win 7 x64):

Input string was not in a correct format.

   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer&
number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Int32.Parse(String s)
   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 comment by gmsax...@gmail.com on 24 Feb 2010 at 5:53

Comment 4 handled in issue 19
Also including the Exception described here:
http://www.zonefivesoftware.com/SportTracks/Forums/viewtopic.php?p=29182#29182

Original comment by gerhard....@gmail.com on 16 May 2010 at 11:05

  • Changed state: Fixed