- Moderator
- #231
Got the following error on my HTPC today, it actually crashed whole MP
Code:
2012-09-07 20:23:14.377620 [ERROR][(15)]: MediaPortal: Unhandled exception occured
2012-09-07 20:23:14.625635 [ERROR][(15)]: Exception :System.InvalidOperationException: Collection was modified after the enumerator was instantiated.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Queue`1.Enumerator.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
at MPEIPlugin.DownloadManager.client_DownloadFileCompleted(Object sender, AsyncCompletedEventArgs e)
at System.Net.WebClient.OnDownloadFileCompleted(AsyncCompletedEventArgs e)
at System.Net.WebClient.DownloadFileOperationCompleted(Object arg)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
2012-09-07 20:23:14.625635 [ERROR][(15)]: Exception :Collection was modified after the enumerator was instantiated.
2012-09-07 20:23:14.626635 [ERROR][(15)]: site :Void ThrowInvalidOperationException(System.ExceptionResource)
2012-09-07 20:23:14.626635 [ERROR][(15)]: source :System
2012-09-07 20:23:14.626635 [ERROR][(15)]: stacktrace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Queue`1.Enumerator.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
at MPEIPlugin.DownloadManager.client_DownloadFileCompleted(Object sender, AsyncCompletedEventArgs e)
at System.Net.WebClient.OnDownloadFileCompleted(AsyncCompletedEventArgs e)
at System.Net.WebClient.DownloadFileOperationCompleted(Object arg)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
2012-09-07 20:23:14.962654 [ERROR][(81)]: [MPEI] Failed to process http://mptvseries.googlecode.com/svn/trunk/MPEI/update.xml: The process cannot access the file 'G:\temp\tmp5E58.tmp' because it is being used by another process.