This project is read-only.
1
Vote

System.ArgumentException

description

Stack track:
System.ArgumentException: TimeSpan does not accept floating point Not-a-Number values.
at System.TimeSpan.Interval(Double value, Int32 scale)
at VidCoder.ViewModel.Components.ProcessingViewModel.OnEncodeProgress(Object sender, EncodeProgressEventArgs e) in d:\docs\projects\VidCoder\VidCoder\ViewModel\Components\ProcessingViewModel.cs:line 1488
at VidCoder.RemoteEncodeProxy.c__DisplayClass1c.b__1b() in d:\docs\projects\VidCoder\VidCoder\Services\EncodeProxy\RemoteEncodeProxy.cs:line 307
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Solution:
on line 1488 of VidCoder\ViewModel\Components\ProcessingViewModel.cs, check to make sure that your math operation is not equal to 0 or NaN, and if set to 0?

comments

RandomEngy wrote Jun 18, 2015 at 5:29 AM

Thanks for the report. Are you using Stable or Beta?

Nikey646 wrote Jun 18, 2015 at 7:40 AM

I wasn't the one who encountered the issue, so i do not know if it was Stable or Beta. However, looking at the Line # for the Exception i was given, and the source code hosted here, the problem matched the code, so which ever release channel this file belongs to (Which is Master, so i presume Stable.)

RandomEngy wrote Jun 18, 2015 at 5:01 PM

Well that file exists in the Beta branch as well so that doesn't narrow it down. I ask because since the beta started I've added a lot of checks that look like they should have fixed the issue.