This project is read-only.
1
Vote

Errored when importing a wmv file created with Live Movie Maker

description

System.NullReferenceException: Object reference not set to an instance of an object.
at HandBrake.Interop.HandBrakeInstance.ApplyJob(hb_job_s& nativeJob, EncodeJob job, Boolean preview, Int32 previewNumber, Int32 previewSeconds, Double overallSelectedLengthSeconds) in D:\docs\projects\HandBrakeSVN\win\CS\HandBrake.Interop\HandBrakeInterop\HandBrakeInstance.cs:line 1189
at HandBrake.Interop.HandBrakeInstance.GetSize(EncodeJob job, Int32& width, Int32& height, Int32& parWidth, Int32& parHeight) in D:\docs\projects\HandBrakeSVN\win\CS\HandBrake.Interop\HandBrakeInterop\HandBrakeInstance.cs:line 588
at VidCoder.ViewModel.PicturePanelViewModel.RefreshOutputSize() in D:\docs\projects\VidCoder\VidCoder\ViewModel\Panels\PicturePanelViewModel.cs:line 626
at VidCoder.ViewModel.PicturePanelViewModel.NotifySelectedTitleChanged() in D:\docs\projects\VidCoder\VidCoder\ViewModel\Panels\PicturePanelViewModel.cs:line 659
at VidCoder.ViewModel.EncodingViewModel.OnMainPropertyChanged(Object sender, PropertyChangedEventArgs e) in D:\docs\projects\VidCoder\VidCoder\ViewModel\EncodingViewModel.cs:line 517
at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
at VidCoder.ViewModel.MainViewModel.set_SelectedTitle(Title value) in D:\docs\projects\VidCoder\VidCoder\ViewModel\MainViewModel.cs:line 832
at VidCoder.ViewModel.MainViewModel.UpdateFromNewVideoSource() in D:\docs\projects\VidCoder\VidCoder\ViewModel\MainViewModel.cs:line 2063
at VidCoder.ViewModel.MainViewModel.<>c__DisplayClass4e.<StartScan>b__4d() in D:\docs\projects\VidCoder\VidCoder\ViewModel\MainViewModel.cs:line 2009
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)

comments

RandomEngy wrote Nov 12, 2011 at 5:55 PM

Don't see anything obvious on that line but I've added a few checks that might catch the problem.