Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Disabling mods crashes client (1 day) #5

Open
edcabrera opened this issue Dec 4, 2015 · 2 comments
Open

Disabling mods crashes client (1 day) #5

edcabrera opened this issue Dec 4, 2015 · 2 comments

Comments

@edcabrera
Copy link
Member

No description provided.

@edcabrera edcabrera added the bug label Dec 4, 2015
@edcabrera edcabrera changed the title Bug - Disabling mods crashes client (1 day) Disabling mods crashes client (1 day) Dec 4, 2015
@miyu miyu self-assigned this Dec 4, 2015
@miyu
Copy link
Member

miyu commented Dec 5, 2015

Failed to reproduce on desktop. Will try on laptop later.

@miyu
Copy link
Member

miyu commented Dec 11, 2015

Reproduced, seems to happen randomly similar to our progress bar code.

See previous comment:

DataContext randomly changes to MS.Internal.NamedObject 
see: http://stackoverflow.com/questions/20124604/cant-convert-object-of-type-ms-internal-namedobject-to-system-windows-datatempl

at https://github.com/the-dargon-project/the-dargon-project/blob/master/dargon-client/Views/ModificationEntryProgressIndicator.xaml.cs#L33

Stack trace:

System.Windows.ResourceReferenceKeyNotFoundException was unhandled
  HResult=-2146233079
  Message='ModificationDisabledColor' resource not found.
  Source=PresentationFramework
  StackTrace:
       at MS.Internal.Helper.FindResourceHelper.DoTryCatchWhen(Object arg)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at MS.Internal.Helper.FindResourceHelper.TryCatchWhen()
       at System.Windows.FrameworkElement.FindResource(Object resourceKey)
       at Dargon.Client.Views.ModificationEntryProgressIndicator.GetCurrentStatusColor() in V:\my-repositories\dargon-root\dargon\dargon-client\Views\ModificationEntryProgressIndicator.xaml.cs:line 93
       at Dargon.Client.Views.ModificationEntryProgressIndicator.<UpdateProgressBarColor>b__10_1() in V:\my-repositories\dargon-root\dargon\dargon-client\Views\ModificationEntryProgressIndicator.xaml.cs:line 76
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at Dargon.Client.DargonClientApplication.UserInterfaceThreadStart() in V:\my-repositories\dargon-root\dargon\dargon-client\DargonClientApplication.cs:line 89
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants