Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Another bugs #1036

Closed
askarmuk opened this issue Jun 5, 2015 · 14 comments
Closed

Another bugs #1036

askarmuk opened this issue Jun 5, 2015 · 14 comments
Labels
Milestone

Comments

@askarmuk
Copy link

askarmuk commented Jun 5, 2015

I have changed the following settings in HDT and now it always fails to start with windows. But it starts correctly manually by me after the crash. I am not using hearthstats so i always enter like a guest. And also changed settings are always reverted to defaults.

The settings are (I deselected both):

  • Save config in appdata
  • Save data in appdata

Crash reports are also have been created I can add them if you need.

@azeier
Copy link
Member

azeier commented Jun 5, 2015

Please do attach one of the crash reports (I assume they are all the same). I will have a look at this!

@azeier azeier added this to the v0.10.4 milestone Jun 5, 2015
@azeier azeier added the bug label Jun 5, 2015
@askarmuk
Copy link
Author

askarmuk commented Jun 5, 2015

One:
########## 03.06.2015 1:45:49 ##########
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в Hearthstone_Deck_Tracker.GameEventHandler.HandleGoldReward(Int32 amount)
в Hearthstone_Deck_Tracker.HsLogReader.Analyze(String log)
в Hearthstone_Deck_Tracker.HsLogReader.d__1.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__4(Object state)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Second:

[removed since obsolete anyway]

@azeier
Copy link
Member

azeier commented Jun 5, 2015

Oh, updating to the latest version will fix this! :)
https://github.com/Epix37/Hearthstone-Deck-Tracker/releases

@askarmuk
Copy link
Author

askarmuk commented Jun 5, 2015

But I have already updated to 0.10.3. Do I need to download 0.10.3 again?

@azeier
Copy link
Member

azeier commented Jun 5, 2015

the log says 10.2 and that is the exact crash 10.3 was supposed to fix :). try downloading it again, yea

@askarmuk
Copy link
Author

askarmuk commented Jun 5, 2015

This happened again ^^ I have downloaded and extracted 0.10.3, made changes including mentioned at the start and crash have happened.

Also both my last reports were wrong ^^ I uploaded reports from May 3d not from May 5th. Ignore them.

Here are 2 reports:

########## 05.06.2015 21:01:18 ##########
System.ComponentModel.Win32Exception (0x80004005): Недопустимый дескриптор окна
в Standard.NativeMethods.GetWindowLongPtr(IntPtr hwnd, GWL nIndex)
в Microsoft.Windows.Shell.WindowChromeWorker._ModifyStyle(WS removeStyle, WS addStyle)
в Microsoft.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
в Microsoft.Windows.Shell.WindowChromeWorker._ApplyNewCustomChrome()
в Microsoft.Windows.Shell.WindowChromeWorker.<_SetWindow>b__1(Object sender, EventArgs e)
в System.EventHandler.Invoke(Object sender, EventArgs e)
в System.Windows.Window.OnSourceInitialized(EventArgs e)
в System.Windows.Window.CreateSourceWindow(Boolean duringShow)
в System.Windows.Window.CreateSourceWindowDuringShow()
в System.Windows.Window.SafeCreateWindowDuringShow()
в System.Windows.Window.ShowHelper(Object booleanBox)
в System.Windows.Window.Show()
в Hearthstone_Deck_Tracker.LoginWindow.StartMainApp()
в Hearthstone_Deck_Tracker.LoginWindow.Button_ContinueAnyway(Object sender, RoutedEventArgs e)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
в System.Windows.Controls.Primitives.ButtonBase.OnClick()
в System.Windows.Controls.Button.OnClick()
в System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
в System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
в System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
в System.Windows.Input.InputManager.ProcessStagingArea()
в System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
в System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
в System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
в System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)


########## 05.06.2015 21:04:49 ##########
System.ComponentModel.Win32Exception (0x80004005): Недопустимый дескриптор окна
в Standard.NativeMethods.GetWindowLongPtr(IntPtr hwnd, GWL nIndex)
в Microsoft.Windows.Shell.WindowChromeWorker._ModifyStyle(WS removeStyle, WS addStyle)
в Microsoft.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
в Microsoft.Windows.Shell.WindowChromeWorker._ApplyNewCustomChrome()
в Microsoft.Windows.Shell.WindowChromeWorker.<_SetWindow>b__1(Object sender, EventArgs e)
в System.EventHandler.Invoke(Object sender, EventArgs e)
в System.Windows.Window.OnSourceInitialized(EventArgs e)
в System.Windows.Window.CreateSourceWindow(Boolean duringShow)
в System.Windows.Window.CreateSourceWindowDuringShow()
в System.Windows.Window.SafeCreateWindowDuringShow()
в System.Windows.Window.ShowHelper(Object booleanBox)
в System.Windows.Window.Show()
в Hearthstone_Deck_Tracker.LoginWindow.StartMainApp()
в Hearthstone_Deck_Tracker.LoginWindow.Button_ContinueAnyway(Object sender, RoutedEventArgs e)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
в System.Windows.Controls.Primitives.ButtonBase.OnClick()
в System.Windows.Controls.Button.OnClick()
в System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
в System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
в System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
в System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
в System.Windows.Input.InputManager.ProcessStagingArea()
в System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
в System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
в System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
в System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

@azeier
Copy link
Member

azeier commented Jun 5, 2015

If you check both the settings agian, does it work?

@askarmuk
Copy link
Author

askarmuk commented Jun 6, 2015

Yes no crashes after startup.

@azeier
Copy link
Member

azeier commented Jun 6, 2015

Apparently there was an issue with loading the local config file. I don't quite understand why it caused this crash but hey, fixed now :).

@azeier
Copy link
Member

azeier commented Jun 7, 2015

Let me know if the v0.10.4 beta release fixes it for you.

@askarmuk
Copy link
Author

askarmuk commented Jun 7, 2015

No. Now it doesnt even start. 2 crash reports:

########## 07.06.2015 17:15:35 ##########
System.Reflection.TargetInvocationException: Адресат вызова создал исключение. ---> System.Windows.Markup.XamlParseException: Предоставление значения для "System.Windows.Markup.StaticExtension" вызвало исключение. ---> System.Reflection.TargetInvocationException: Адресат вызова создал исключение. ---> System.IO.IOException: Не удается найти ресурс "resources/classicons/general//archived.png".
в MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access)
в System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access)
в System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
в System.IO.Packaging.PackWebResponse.GetResponseStream()
в System.IO.Packaging.PackWebResponse.get_ContentType()

[edited by Epix37: cut most of the log to make this more readable :)]

@azeier
Copy link
Member

azeier commented Jun 7, 2015

Found the problem.

To fix now: go into your confg.xml and set <ThemeName> to <ThemeName>BaseLight</ThemeName>

azeier pushed a commit that referenced this issue Jun 7, 2015
@askarmuk
Copy link
Author

askarmuk commented Jun 8, 2015

Ok but I added a slash to the last tag (/ThemeName).

@askarmuk
Copy link
Author

askarmuk commented Jun 8, 2015

Looks like its fine now and HDT starts normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants