You are on page 1of 4

9/9/2014 12:08:06 PM Index was out of range.

Must be non-negative and


less than the size of the collection.
Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio
n()
at RTMv3.MainWindowController.loadProjectOpenDocs()
at RTMv3.MainWindowController.openProject(ExtendedProjectInfo project)
at RTMv3.MainWindowController.MainWindowController_projectClosed()
at RTMv3.MainWindowController.performProjectClose()
at RTMv3.MainWindowController.MainWindowController_previewProjectClose()
at RTMv3.MainWindowController.closeProject()
at RTMv3.MainWindowController.openProject(ExtendedProjectInfo project)
at RTMv3.MainWindow.OpenProject_Executed(Object sender, ExecutedRoutedEventAr
gs e)
at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRout
edEventArgs e)
at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, E
xecutedRoutedEventArgs e, CommandBinding commandBinding)
at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingColle
ction commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boole
an execute)
at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, Rout
edEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRout
edEventArgs e)
at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEven
tArgs e)
at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate g
enericHandler, Object target)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object targ
et)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedE
ventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArg
s args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEve
ntArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputEle
ment target, Boolean userInitiated)
at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputEle
ment target, Boolean userInitiated)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandS
ource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at Telerik.Windows.Controls.RadButton.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseBut
tonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButt
onEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate gene
ricHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object targ
et)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedE
ventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArg
s args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEve
ntArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArg
s e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate gene
ricHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object targ
et)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedE
ventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArg
s args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEve
ntArgs 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, Inp
utMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 w
heel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, W
indowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 ms
g, 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 callba
ck, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, De
legate method, Object args, Int32 numArgs, Delegate catchHandler) System.A
rgumentOutOfRangeException: Index was out of range. Must be non-negative and les
s than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at RTMv3.MainWindowController.loadProjectOpenDocs()
at RTMv3.MainWindowController.openProject(ExtendedProjectInfo project)
at RTMv3.MainWindowController.MainWindowController_projectClosed()
at RTMv3.MainWindowController.performProjectClose()
at RTMv3.MainWindowController.MainWindowController_previewProjectClose()
at RTMv3.MainWindowController.closeProject()
at RTMv3.MainWindowController.openProject(ExtendedProjectInfo project)
at RTMv3.MainWindow.OpenProject_Executed(Object sender, ExecutedRoutedEventAr
gs e)
at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRout
edEventArgs e)
at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, E
xecutedRoutedEventArgs e, CommandBinding commandBinding)
at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingColle
ction commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boole
an execute)
at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, Rout
edEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRout
edEventArgs e)
at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEven
tArgs e)
at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate g
enericHandler, Object target)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object targ
et)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedE
ventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArg
s args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEve
ntArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputEle
ment target, Boolean userInitiated)
at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputEle
ment target, Boolean userInitiated)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandS
ource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at Telerik.Windows.Controls.RadButton.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseBut
tonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButt
onEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate gene
ricHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object targ
et)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedE
ventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArg
s args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEve
ntArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArg
s e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate gene
ricHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object targ
et)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedE
ventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArg
s args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEve
ntArgs 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, Inp
utMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 w
heel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, W
indowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 ms
g, 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 callba
ck, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, De
legate method, Object args, Int32 numArgs, Delegate catchHandler)

You might also like