1
Vote

Unhandled System.ArgumentException

description

Upon selecting nextImage->

2/4/2014 8:26:23 AM -- Errors -- Unhandled exception! Error Details: System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.ObjectModel.KeyedCollection
2.AddKey(TKey key, TItem item)
at System.Collections.ObjectModel.KeyedCollection2.InsertItem(Int32 index, TItem item)
at System.Collections.ObjectModel.Collection
1.Add(T item)
at Pulse.Base.DownloadManager.QueuePicture(PictureDownload p) in c:\Code\Pulse_Code\Pulse\Pulse.Base\DownloadManager.cs:line 79
at Pulse.Base.PictureBatch.<DownloadSelectedPictures>b__a(Object state) in c:\Code\Pulse_Code\Pulse\Pulse.Base\PictureBatch.cs:line 96
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

comments

patricker wrote Feb 6, 2014 at 1:13 PM

Thanks for posting the error.

Does this error happen all the time, or does it only happen sometimes?