GoldRenard / DMOAdvancedLauncher

Advanced launcher for Digimon Masters Online (DMO)
16 stars 9 forks source link

OnCurrentChanged - BackgroundWorker is currently busy and cannot run multiple tasks concurrently. #56

Open GoldRenard opened 8 years ago

GoldRenard commented 8 years ago

Error Reason:
----------------------------------------
AdvancedLauncher.exe caused InvalidOperationException (This BackgroundWorker is currently busy and cannot run multiple tasks concurrently.) in assembly "System" at IL:23, NATIVE:8240771, System.Void System.ComponentModel.BackgroundWorker.RunWorkerAsync(System.Object argument)

CLR Stack Trace: Interrupted Thread, TID: 10
----------------------------------------
"System" at IL:23, NATIVE:8240771, System.Void System.ComponentModel.BackgroundWorker.RunWorkerAsync(System.Object argument)
"AdvancedLauncher.SDK" at NATIVE:0, System.Void AdvancedLauncher.SDK.Model.Events.BaseEventHandler.Invoke(System.Object sender, AdvancedLauncher.SDK.Model.Events.BaseEventArgs e)
"AdvancedLauncher" at IL:36, NATIVE:98, System.Void AdvancedLauncher.Management.ProfileManager.OnCurrentChanged()
"AdvancedLauncher" at IL:287, NATIVE:741, System.Void AdvancedLauncher.Management.ProfileManager.ApplyChanges(System.Collections.Generic.ICollection`1[AdvancedLauncher.SDK.Model.Config.Profile] profiles, System.Int32 defaultProfileId)
"AdvancedLauncher" at IL:23, NATIVE:79, System.Void AdvancedLauncher.Management.ProfileManager.ApplyChanges()
"AdvancedLauncher" at IL:0, NATIVE:53, System.Void AdvancedLauncher.UI.Windows.Settings.OnApplyClick(System.Object sender, System.Windows.RoutedEventArgs e)
"PresentationCore" at IL:238, NATIVE:240, System.Void System.Windows.EventRoute.InvokeHandlersImpl(System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised)
"PresentationCore" at IL:87, NATIVE:134, System.Void System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args)
"PresentationFramework" at IL:19, NATIVE:98, System.Void System.Windows.Controls.Primitives.ButtonBase.OnClick()
"PresentationFramework" at IL:26, NATIVE:90, System.Void System.Windows.Controls.Button.OnClick()
"PresentationFramework" at IL:81, NATIVE:184, System.Void System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e)
"PresentationCore" at IL:7, NATIVE:54, System.Void System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, System.Object target)
"PresentationCore" at IL:61, NATIVE:76, System.Void System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object target, System.Windows.RoutedEventArgs routedEventArgs)
"PresentationCore" at IL:238, NATIVE:240, System.Void System.Windows.EventRoute.InvokeHandlersImpl(System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised)
"PresentationCore" at IL:109, NATIVE:330, System.Void System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args, System.Windows.RoutedEvent newEvent)
"PresentationCore" at IL:70, NATIVE:245, System.Void System.Windows.UIElement.OnMouseUpThunk(System.Object sender, System.Windows.Input.MouseButtonEventArgs e)
"PresentationCore" at IL:7, NATIVE:54, System.Void System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, System.Object target)
"PresentationCore" at IL:61, NATIVE:76, System.Void System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object target, System.Windows.RoutedEventArgs routedEventArgs)
"PresentationCore" at IL:238, NATIVE:240, System.Void System.Windows.EventRoute.InvokeHandlersImpl(System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised)
"PresentationCore" at IL:87, NATIVE:134, System.Void System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args)
"PresentationCore" at IL:20, NATIVE:76, System.Void System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args)
"PresentationCore" at IL:479, NATIVE:1320, System.Boolean System.Windows.Input.InputManager.ProcessStagingArea()
"PresentationCore" at IL:53, NATIVE:114, System.Boolean System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport)
"PresentationCore" at IL:524, NATIVE:829, System.Boolean System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, System.Int32 timestamp, System.Windows.Input.RawMouseActions actions, System.Int32 x, System.Int32 y, System.Int32 wheel)
"PresentationCore" at IL:588, NATIVE:721, System.IntPtr System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"PresentationCore" at IL:98, NATIVE:158, System.IntPtr System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"WindowsBase" at IL:16, NATIVE:195, System.IntPtr MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"WindowsBase" at IL:54, NATIVE:130, System.Object MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object o)
"WindowsBase" at IL:119, NATIVE:105, System.Object System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, System.Object args, System.Int32 numArgs)
"WindowsBase" at IL:2, NATIVE:54, System.Object System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler)
"WindowsBase" at IL:187, NATIVE:369, System.Object System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs)
"WindowsBase" at IL:280, NATIVE:287, System.IntPtr MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam)
"WindowsBase" at NATIVE:0, System.IntPtr MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG& msg)
"WindowsBase" at IL:60, NATIVE:236, System.Void System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame)
"PresentationFramework" at IL:36, NATIVE:115, System.Object System.Windows.Application.RunDispatcher(System.Object ignore)
"PresentationFramework" at IL:238, NATIVE:141, System.Int32 System.Windows.Application.RunInternal(System.Windows.Window window)
"AdvancedLauncher" at IL:17, NATIVE:64, System.Void AdvancedLauncher.App.Main()
GoldRenard commented 8 years ago

Fixed. Caused by possibility to set current profile while editing the profiles.

GoldRenard commented 8 years ago

Got the crashreport with the same issue, not fixed.

Error Reason:
----------------------------------------
AdvancedLauncher.exe caused InvalidOperationException (O BackgroundWorker está ocupado no momento e não pode executar várias tarefas ao mesmo tempo.) in assembly "System" at IL:23, NATIVE:8265043, System.Void System.ComponentModel.BackgroundWorker.RunWorkerAsync(System.Object argument)

CLR Stack Trace: Interrupted Thread, TID: 15
----------------------------------------
"System" at IL:23, NATIVE:8265043, System.Void System.ComponentModel.BackgroundWorker.RunWorkerAsync(System.Object argument)
"AdvancedLauncher.SDK" at NATIVE:0, System.Void AdvancedLauncher.SDK.Model.Events.BaseEventHandler.Invoke(System.Object sender, AdvancedLauncher.SDK.Model.Events.BaseEventArgs e)
"AdvancedLauncher" at IL:36, NATIVE:98, System.Void AdvancedLauncher.Management.ProfileManager.OnCurrentChanged()
"AdvancedLauncher" at IL:287, NATIVE:741, System.Void AdvancedLauncher.Management.ProfileManager.ApplyChanges(System.Collections.Generic.ICollection`1[AdvancedLauncher.SDK.Model.Config.Profile] profiles, System.Int32 defaultProfileId)
"AdvancedLauncher" at IL:23, NATIVE:79, System.Void AdvancedLauncher.Management.ProfileManager.ApplyChanges()
"AdvancedLauncher" at IL:0, NATIVE:53, System.Void AdvancedLauncher.UI.Windows.Settings.OnApplyClick(System.Object sender, System.Windows.RoutedEventArgs e)
"PresentationCore" at IL:238, NATIVE:240, System.Void System.Windows.EventRoute.InvokeHandlersImpl(System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised)
"PresentationCore" at IL:87, NATIVE:134, System.Void System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args)
"PresentationFramework" at IL:19, NATIVE:98, System.Void System.Windows.Controls.Primitives.ButtonBase.OnClick()
"PresentationFramework" at IL:26, NATIVE:90, System.Void System.Windows.Controls.Button.OnClick()
"PresentationFramework" at IL:81, NATIVE:185, System.Void System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e)
"PresentationCore" at IL:7, NATIVE:54, System.Void System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, System.Object target)
"PresentationCore" at IL:61, NATIVE:76, System.Void System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object target, System.Windows.RoutedEventArgs routedEventArgs)
"PresentationCore" at IL:238, NATIVE:240, System.Void System.Windows.EventRoute.InvokeHandlersImpl(System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised)
"PresentationCore" at IL:109, NATIVE:330, System.Void System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args, System.Windows.RoutedEvent newEvent)
"PresentationCore" at IL:70, NATIVE:246, System.Void System.Windows.UIElement.OnMouseUpThunk(System.Object sender, System.Windows.Input.MouseButtonEventArgs e)
"PresentationCore" at IL:7, NATIVE:54, System.Void System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, System.Object target)
"PresentationCore" at IL:61, NATIVE:76, System.Void System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object target, System.Windows.RoutedEventArgs routedEventArgs)
"PresentationCore" at IL:238, NATIVE:240, System.Void System.Windows.EventRoute.InvokeHandlersImpl(System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised)
"PresentationCore" at IL:87, NATIVE:134, System.Void System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args)
"PresentationCore" at IL:20, NATIVE:76, System.Void System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args)
"PresentationCore" at IL:538, NATIVE:686, System.Boolean System.Windows.Input.InputManager.ProcessStagingArea()
"PresentationCore" at IL:53, NATIVE:114, System.Boolean System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport)
"PresentationCore" at IL:524, NATIVE:829, System.Boolean System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, System.Int32 timestamp, System.Windows.Input.RawMouseActions actions, System.Int32 x, System.Int32 y, System.Int32 wheel)
"PresentationCore" at IL:588, NATIVE:721, System.IntPtr System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"PresentationCore" at IL:98, NATIVE:158, System.IntPtr System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"WindowsBase" at IL:16, NATIVE:195, System.IntPtr MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"WindowsBase" at IL:54, NATIVE:130, System.Object MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object o)
"WindowsBase" at IL:119, NATIVE:105, System.Object System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, System.Object args, System.Int32 numArgs)
"WindowsBase" at IL:2, NATIVE:54, System.Object System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler)
"WindowsBase" at IL:187, NATIVE:369, System.Object System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs)
"WindowsBase" at IL:280, NATIVE:287, System.IntPtr MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam)
"WindowsBase" at NATIVE:0, System.IntPtr MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG& msg)
"WindowsBase" at IL:68, NATIVE:236, System.Void System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame)
"PresentationFramework" at IL:36, NATIVE:115, System.Object System.Windows.Application.RunDispatcher(System.Object ignore)
"PresentationFramework" at IL:238, NATIVE:212, System.Int32 System.Windows.Application.RunInternal(System.Windows.Window window)
"AdvancedLauncher" at IL:17, NATIVE:64, System.Void AdvancedLauncher.App.Main()
GoldRenard commented 8 years ago
CLR Stack Trace: Interrupted Thread, TID: 9
----------------------------------------
"System" at IL:23, NATIVE:8240707, System.Void System.ComponentModel.BackgroundWorker.RunWorkerAsync(System.Object argument)
"AdvancedLauncher.SDK" at NATIVE:0, System.Void AdvancedLauncher.SDK.Model.Events.BaseEventHandler.Invoke(System.Object sender, AdvancedLauncher.SDK.Model.Events.BaseEventArgs e)
"AdvancedLauncher" at IL:36, NATIVE:98, System.Void AdvancedLauncher.Management.ProfileManager.OnCurrentChanged()
"AdvancedLauncher" at IL:287, NATIVE:741, System.Void AdvancedLauncher.Management.ProfileManager.ApplyChanges(System.Collections.Generic.ICollection`1[AdvancedLauncher.SDK.Model.Config.Profile] profiles, System.Int32 defaultProfileId)
"AdvancedLauncher" at IL:23, NATIVE:79, System.Void AdvancedLauncher.Management.ProfileManager.ApplyChanges()
"AdvancedLauncher" at IL:0, NATIVE:53, System.Void AdvancedLauncher.UI.Windows.Settings.OnApplyClick(System.Object sender, System.Windows.RoutedEventArgs e)
"PresentationCore" at IL:238, NATIVE:240, System.Void System.Windows.EventRoute.InvokeHandlersImpl(System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised)
"PresentationCore" at IL:87, NATIVE:134, System.Void System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args)
"PresentationFramework" at IL:19, NATIVE:98, System.Void System.Windows.Controls.Primitives.ButtonBase.OnClick()
"PresentationFramework" at IL:26, NATIVE:90, System.Void System.Windows.Controls.Button.OnClick()
"PresentationFramework" at IL:81, NATIVE:184, System.Void System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e)
"PresentationCore" at IL:7, NATIVE:54, System.Void System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, System.Object target)
"PresentationCore" at IL:61, NATIVE:76, System.Void System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object target, System.Windows.RoutedEventArgs routedEventArgs)
"PresentationCore" at IL:238, NATIVE:240, System.Void System.Windows.EventRoute.InvokeHandlersImpl(System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised)
"PresentationCore" at IL:109, NATIVE:330, System.Void System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args, System.Windows.RoutedEvent newEvent)
"PresentationCore" at IL:70, NATIVE:245, System.Void System.Windows.UIElement.OnMouseUpThunk(System.Object sender, System.Windows.Input.MouseButtonEventArgs e)
"PresentationCore" at IL:7, NATIVE:54, System.Void System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, System.Object target)
"PresentationCore" at IL:61, NATIVE:76, System.Void System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object target, System.Windows.RoutedEventArgs routedEventArgs)
"PresentationCore" at IL:238, NATIVE:240, System.Void System.Windows.EventRoute.InvokeHandlersImpl(System.Object source, System.Windows.RoutedEventArgs args, System.Boolean reRaised)
"PresentationCore" at IL:87, NATIVE:134, System.Void System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args)
"PresentationCore" at IL:20, NATIVE:76, System.Void System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args)
"PresentationCore" at IL:538, NATIVE:686, System.Boolean System.Windows.Input.InputManager.ProcessStagingArea()
"PresentationCore" at IL:53, NATIVE:114, System.Boolean System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport)
"PresentationCore" at IL:524, NATIVE:829, System.Boolean System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, System.Int32 timestamp, System.Windows.Input.RawMouseActions actions, System.Int32 x, System.Int32 y, System.Int32 wheel)
"PresentationCore" at IL:588, NATIVE:721, System.IntPtr System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"PresentationCore" at IL:98, NATIVE:158, System.IntPtr System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"WindowsBase" at IL:16, NATIVE:195, System.IntPtr MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled)
"WindowsBase" at IL:54, NATIVE:130, System.Object MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object o)
"WindowsBase" at IL:119, NATIVE:105, System.Object System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, System.Object args, System.Int32 numArgs)
"WindowsBase" at IL:2, NATIVE:54, System.Object System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler)
"WindowsBase" at IL:187, NATIVE:369, System.Object System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs)
"WindowsBase" at IL:280, NATIVE:287, System.IntPtr MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam)
"WindowsBase" at NATIVE:0, System.IntPtr MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG& msg)
"WindowsBase" at IL:68, NATIVE:236, System.Void System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame)
"PresentationFramework" at IL:36, NATIVE:115, System.Object System.Windows.Application.RunDispatcher(System.Object ignore)
"PresentationFramework" at IL:238, NATIVE:141, System.Int32 System.Windows.Application.RunInternal(System.Windows.Window window)
"AdvancedLauncher" at IL:17, NATIVE:64, System.Void AdvancedLauncher.App.Main()