Activity YearView

by benbun

Downloads: 10,325 (9) • Reviews: 5




Nov 15, 2011

[solved] Active Year view not loaded

[solved] Active Year view not loaded

Postby meer » Tue Oct 14, 2008 3:33 am

Hello, i´ve a little Problem with this Plugin.
When i try to start it I get following message:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at BENBUN.Controls.YearPlan.AddMarkedDate(DateTime date, Color activityColor, IActivity activity)
at BENBUN.Views.BBBS_YearPlanView.addByCategory()
at BENBUN.Views.BBBS_YearPlanView.ShowPage(String bookmark)
at ZoneFiveSoftware.SportTracks.UI.ViewNavigationManager.GoTo(IView view, String bookmark)
at ZoneFiveSoftware.SportTracks.UI.Controls.ViewNavigator.GoTo(IView view, String bookmark)
at ZoneFiveSoftware.SportTracks.UI.Forms.Application.MainWindow.GoToView(IView view, String bookmark)
at ZoneFiveSoftware.SportTracks.Application.ShowView(Guid viewId, String bookmark)
at ZoneFiveSoftware.SportTracks.Actions.OtherTasks.SelectView.popupItem_Select(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripItem.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)

Maybe you could help me.
Thank you,
Greetings Meer
Last edited by meer on Wed Oct 15, 2008 4:09 am, edited 1 time in total.
Posts: 6
Joined: Thu Feb 28, 2008 5:10 pm

Postby clackerz » Tue Oct 14, 2008 5:32 am

Check your plugins folder - you may have 2 instances of this plugin loaded.

The file (PluginYearView.dll) may be loaded in the plugin root folder as well as a sub-folder.

If you're unsure do a search for the file name.

Delete the oldest instance of the file.
Posts: 1077
Joined: Sun Jun 24, 2007 10:26 pm
Location: Melbourne, Australia

Postby meer » Tue Oct 14, 2008 5:41 am

Thank you for your quick answer.

That was also my first Idea. But I cant find another version of this dll.


Maybe you have another Idea? :)
Posts: 6
Joined: Thu Feb 28, 2008 5:10 pm

Postby meer » Tue Oct 14, 2008 7:18 am

i´ve tested it with a new installation of the hole programm with my old logbook and i´ve got the same mesage.
Maybe a mistake in the Logbook.
The Settingspage is displayed corect.


Definitly a Problem with the Logbook. An older Version works. How can I modify my Loogbook to get the plugin to work?

What could be wrong?
I compared the new one with the working one but I couldn´t find something.
Posts: 6
Joined: Thu Feb 28, 2008 5:10 pm

Postby meer » Wed Oct 15, 2008 4:09 am

Problem solved :D :D

Thanks to Gerhard for his advice in this thread:
Posts: 6
Joined: Thu Feb 28, 2008 5:10 pm

Postby benbun » Fri Oct 17, 2008 4:37 pm


Thanks for sending the logbook for me to test with. The problem is that there is a duplicate activity in the logbook and I had assumed that the uuid for the activities would be unique - not the case in your logbook

Do a search on "eed02eee-a43e-4f2b-bf9c-ed1e685ab327" in a text editor and you will see the duplicate.

Not sure how a duplicate could have got into the logbook - but I have added some checks to the ActivityView plugin to handle this case.

Posts: 165
Joined: Mon Feb 06, 2006 8:00 am
Location: Knaresborough, UK

Return to Activity YearView

Who is online

Users browsing this forum: No registered users and 1 guest