RandomEngy / VidCoder

A Blu-ray, DVD and video file transcoder for Windows.
http://vidcoder.net
GNU General Public License v2.0
708 stars 42 forks source link

ReactiveUI.UnhandledErrorException: An object implementing IHandleObservableErrors (often a ReactiveCommand or ObservableAsPropertyHelper) has errored, thereby breaking its observable pipeline. To prevent this, ensure the pipeline does not error, or Subscribe to the ThrownExceptions property of the object in question to handle the erroneous case. #1213

Open Yggdrasil-2022 opened 10 months ago

Yggdrasil-2022 commented 10 months ago

What were you doing when VidCoder crashed?

Going to settings after creating a custom hb.dll

Crash details

VidCoder 9.16 Beta SquirrelInstaller
ReactiveUI.UnhandledErrorException: An object implementing IHandleObservableErrors (often a ReactiveCommand or ObservableAsPropertyHelper) has errored, thereby breaking its observable pipeline. To prevent this, ensure the pipeline does not error, or Subscribe to the ThrownExceptions property of the object in question to handle the erroneous case.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at VidCoder.ViewModel.VideoFiltersPanelViewModel.GetCustomFilterToolTip(hb_filter_ids filter)
   at VidCoder.ViewModel.VideoFiltersPanelViewModel.<>c.<.ctor>b__4_14(VCDeinterlace deinterlaceType)
   at ReactiveUI.WhenAnyMixin.<>c__DisplayClass1_0`3.<WhenAnyValue>b__0(IObservedChange`2 c1) in D:\a\ReactiveUI\ReactiveUI\src\ReactiveUI\VariadicTemplates.cs:line 54
   at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value) in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/Select.cs:line 39
   --- End of inner exception stack trace ---
   at ReactiveUI.RxApp.<>c__DisplayClass10_0.<.cctor>b__2() in D:\a\ReactiveUI\ReactiveUI\src\ReactiveUI\RxApp.cs:line 106
   at System.Reactive.Concurrency.Scheduler.<>c.<Schedule>b__74_0(IScheduler _, Action a) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Simple.cs:line 37
   at System.Reactive.Concurrency.DispatcherScheduler.<>c__DisplayClass12_0`1.<Schedule>b__0() in /_/Rx.NET/Source/src/System.Reactive/Platforms/Desktop/Concurrency/DispatcherScheduler.cs:line 98
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
RandomEngy commented 10 months ago

Looks like the crash was from getting an empty result from a hb.dll call. It has to match up in terms of capabilities with the version of VidCoder/HandBrakeInterop.dll, so pasting in a custom version isn't always going to work.