Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2015
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.94 KB | None | 0 0
  1. -------------- Message --------------
  2. The main UI thread has thrown an exception.
  3.  
  4. O índice estava fora do intervalo. Ele deve ser não-negativo e menor que o tamanho da coleção.
  5. Nome do parâmetro: index
  6. -------------- Stack trace --------------
  7. em GrfToWpfBridge.Application.DefaultErrorHandler._reportAnyManagedExceptions(String message, Exception exception, ErrorLevel errorLevel)
  8. em GrfToWpfBridge.Application.DefaultErrorHandler.Handle(Exception exception, ErrorLevel errorLevel)
  9. em TokeiLibrary.ApplicationManager._current_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e)
  10. em System.Windows.Threading.Dispatcher.CatchException(Exception e)
  11. em System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
  12. em System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
  13. em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
  14. em System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
  15. em System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
  16. em System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG& msg, Boolean& handled)
  17. em System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG& msg, Boolean& handled)
  18. em System.Windows.Interop.ThreadMessageEventHandler.Invoke(MSG& msg, Boolean& handled)
  19. em System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg)
  20. em System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
  21. em System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
  22. em System.Windows.Window.ShowHelper(Object booleanBox)
  23. em System.Windows.Window.Show()
  24. em System.Windows.Window.ShowDialog()
  25. em ActEditor.Core.Scripts.EditPaletteAdvanced.Execute(Act act, Int32 selectedActionIndex, Int32 selectedFrameIndex, Int32[] selectedLayerIndexes)
  26. em ActEditor.Core.ScriptLoader.<>c__DisplayClass34.<_generateScriptMenu>b__32()
  27. em ActEditor.Core.ScriptLoader.<>c__DisplayClass34.<_generateScriptMenu>b__33(Object s, RoutedEventArgs e)
  28. em System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
  29. em System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
  30. em System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
  31. em System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
  32. em System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
  33. em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  34. em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
  35. em System.Windows.Threading.DispatcherOperation.InvokeImpl()
  36. em System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
  37. em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  38. em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  39. em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  40. em System.Windows.Threading.DispatcherOperation.Invoke()
  41. em System.Windows.Threading.Dispatcher.ProcessQueue()
  42. em System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  43. em MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  44. em MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  45. em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  46. em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
  47. em System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
  48. em MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  49. em MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
  50. em System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
  51. em System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
  52. em System.Windows.Threading.Dispatcher.Run()
  53. em System.Windows.Application.RunDispatcher(Object ignore)
  54. em System.Windows.Application.RunInternal(Window window)
  55. em System.Windows.Application.Run(Window window)
  56. em ActEditor.GRFEditorMain.Main(String[] args)
  57.  
  58. -------------- Exception --------------
  59. System.Exception: The main UI thread has thrown an exception.
  60.  
  61. O índice estava fora do intervalo. Ele deve ser não-negativo e menor que o tamanho da coleção.
  62. 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.
  63. Nome do parâmetro: index
  64. em System.ThrowHelper.ThrowArgumentOutOfRangeException()
  65. em ActEditor.Tools.PaletteEditorTool.SpriteEditorControl.Save()
  66. em ActEditor.Tools.PaletteEditorTool.SpriteEditorControl.<.ctor>b__4()
  67. em TokeiLibrary.Shortcuts.CustomCommand.Execute(Object parameter)
  68. em System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
  69. em System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
  70. em System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
  71. em System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
  72. em System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
  73. em System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
  74. em System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
  75. em System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
  76. em System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
  77. em System.Windows.Input.InputManager.ProcessStagingArea()
  78. em System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
  79. em System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
  80. em System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
  81. em System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
  82. em System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
  83. em System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
  84. em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  85. em MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
  86. --- Fim do rastreamento de pilha de exceções internas ---
  87. -------------- Message --------------
  88. O índice estava fora do intervalo. Ele deve ser não-negativo e menor que o tamanho da coleção.
  89. Nome do parâmetro: index
  90. -------------- Inner exception --------------
  91. System.ArgumentOutOfRangeException: O índice estava fora do intervalo. Ele deve ser não-negativo e menor que o tamanho da coleção.
  92. Nome do parâmetro: index
  93. em System.ThrowHelper.ThrowArgumentOutOfRangeException()
  94. em ActEditor.Tools.PaletteEditorTool.SpriteEditorControl.Save()
  95. em ActEditor.Tools.PaletteEditorTool.SpriteEditorControl.<.ctor>b__4()
  96. em TokeiLibrary.Shortcuts.CustomCommand.Execute(Object parameter)
  97. em System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
  98. em System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
  99. em System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
  100. em System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
  101. em System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
  102. em System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
  103. em System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
  104. em System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
  105. em System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
  106. em System.Windows.Input.InputManager.ProcessStagingArea()
  107. em System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
  108. em System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
  109. em System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
  110. em System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
  111. em System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
  112. em System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
  113. em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  114. 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