Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------- Message --------------
- The main UI thread has thrown an exception.
- O índice estava fora do intervalo. Ele deve ser não-negativo e menor que o tamanho da coleção.
- Nome do parâmetro: index
- -------------- Stack trace --------------
- em GrfToWpfBridge.Application.DefaultErrorHandler._reportAnyManagedExceptions(String message, Exception exception, ErrorLevel errorLevel)
- em GrfToWpfBridge.Application.DefaultErrorHandler.Handle(Exception exception, ErrorLevel errorLevel)
- em TokeiLibrary.ApplicationManager._current_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e)
- em System.Windows.Threading.Dispatcher.CatchException(Exception e)
- em System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
- em System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
- em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
- em System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
- em System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
- em System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG& msg, Boolean& handled)
- em System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG& msg, Boolean& handled)
- em System.Windows.Interop.ThreadMessageEventHandler.Invoke(MSG& msg, Boolean& handled)
- em System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg)
- em System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
- em System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
- em System.Windows.Window.ShowHelper(Object booleanBox)
- em System.Windows.Window.Show()
- em System.Windows.Window.ShowDialog()
- em ActEditor.Core.Scripts.EditPaletteAdvanced.Execute(Act act, Int32 selectedActionIndex, Int32 selectedFrameIndex, Int32[] selectedLayerIndexes)
- em ActEditor.Core.ScriptLoader.<>c__DisplayClass34.<_generateScriptMenu>b__32()
- em ActEditor.Core.ScriptLoader.<>c__DisplayClass34.<_generateScriptMenu>b__33(Object s, RoutedEventArgs e)
- em System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
- em System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
- em System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
- em System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
- em System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
- em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
- em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
- em System.Windows.Threading.DispatcherOperation.InvokeImpl()
- em System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
- em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
- em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
- em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
- em System.Windows.Threading.DispatcherOperation.Invoke()
- em System.Windows.Threading.Dispatcher.ProcessQueue()
- em System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
- em MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
- em MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
- em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
- em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
- em System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
- em MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
- em MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
- em System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
- em System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
- em System.Windows.Threading.Dispatcher.Run()
- em System.Windows.Application.RunDispatcher(Object ignore)
- em System.Windows.Application.RunInternal(Window window)
- em System.Windows.Application.Run(Window window)
- em ActEditor.GRFEditorMain.Main(String[] args)
- -------------- Exception --------------
- System.Exception: The main UI thread has thrown an exception.
- O índice estava fora do intervalo. Ele deve ser não-negativo e menor que o tamanho da coleção.
- Nome do parâmetro: index ---> System.ArgumentOutOfRangeException: O índice estava fora do intervalo. Ele deve ser não-negativo e menor que o tamanho da coleção.
- Nome do parâmetro: index
- em System.ThrowHelper.ThrowArgumentOutOfRangeException()
- em ActEditor.Tools.PaletteEditorTool.SpriteEditorControl.Save()
- em ActEditor.Tools.PaletteEditorTool.SpriteEditorControl.<.ctor>b__4()
- em TokeiLibrary.Shortcuts.CustomCommand.Execute(Object parameter)
- em System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
- em System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
- em System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
- em System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
- em System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
- em System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
- em System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
- em System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
- em System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
- em System.Windows.Input.InputManager.ProcessStagingArea()
- em System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
- em System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
- em System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
- em System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
- em System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
- em System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
- em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
- em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
- --- Fim do rastreamento de pilha de exceções internas ---
- -------------- Message --------------
- O índice estava fora do intervalo. Ele deve ser não-negativo e menor que o tamanho da coleção.
- Nome do parâmetro: index
- -------------- Inner exception --------------
- System.ArgumentOutOfRangeException: O índice estava fora do intervalo. Ele deve ser não-negativo e menor que o tamanho da coleção.
- Nome do parâmetro: index
- em System.ThrowHelper.ThrowArgumentOutOfRangeException()
- em ActEditor.Tools.PaletteEditorTool.SpriteEditorControl.Save()
- em ActEditor.Tools.PaletteEditorTool.SpriteEditorControl.<.ctor>b__4()
- em TokeiLibrary.Shortcuts.CustomCommand.Execute(Object parameter)
- em System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
- em System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
- em System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
- em System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
- em System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
- em System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
- em System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
- em System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
- em System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
- em System.Windows.Input.InputManager.ProcessStagingArea()
- em System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
- em System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
- em System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
- em System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
- em System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
- em System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
- em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
- em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement