This project is read-only.
1
Vote

Crash On Edit of Line Item Title

description

System.NullReferenceException Object reference not set to an instance of an object.
at VidCoder.ViewModel.MainViewModel.get_EncodeJob() in DdocsprojectsVidCoderVidCoderViewModelMainViewModel.csline 1732
at VidCoder.ViewModel.MainViewModel.CreateEncodeJobVM() in DdocsprojectsVidCoderVidCoderViewModelMainViewModel.csline 1785
at VidCoder.ViewModel.Components.ProcessingViewModel.get_AddToQueueCommandb__11() in DdocsprojectsVidCoderVidCoderViewModelComponentsProcessingViewModel.csline 492
at GalaSoft.MvvmLight.Command.RelayCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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 13, 2011 at 10:31 PM

I'm having trouble pinpointing the problem; the line number points somewhere that couldn't possibly be creating the error. What's the exact series of steps it takes to create this exception? Does it happen every time? With any source?

deltaecho5 wrote Nov 14, 2011 at 2:42 PM

Both machines, any source. Editing the line or changing anything in the new interface (the list updates your did concerning multiple select, move to top, edit line item) results in an error. This morning I simply clicked on the "X" to clear the completed files and result: crash.

These last releases have become habitually more buggy, I am experiencing 3-6 crashes per 30-50 files of encoding whenever interacting with the interface or when the program completes a file and attempts to move onto another file.

RandomEngy wrote Nov 14, 2011 at 3:56 PM

The "list" you're referring to is the queue then? You said it crashed on edit but this stack trace looks like it crashed when adding an item to the queue: AddToQueueCommand. This bug is rather annoying because at the source line it points out, there can't possibly be a null reference exception. I guess what must be happening is some optimization in the Release build that is messing with the source line numbers. And since I can't get this error to happen for me I can't really fix it.

Would you be willing to run a Debug build for a while and paste whatever errors you see?

deltaecho5 wrote Nov 14, 2011 at 7:45 PM

Replies are on last trouble ticket...