• Visit Rebornbuddy
  • Unhandled Exception

    Discussion in 'Buddy Wing Forum' started by fjouve, Jul 23, 2016.

    1. fjouve

      fjouve New Member

      Joined:
      Mar 3, 2016
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      1
      Hello! :)

      This morning, i was botting as usual when my PC crashed (blue screen). When I rebooted it, i was absolutely unable to restart Buddywing. I got the following error message:
      So here's the corresponding log:
      Code:
      2016-07-23 22:01:21,785 [1] INFO  MainWindow - Starting Buddy Wing v1.0.1346.956
      2016-07-23 22:01:22,201 [1] ERROR App - System.Xml.XmlException: '.', valeur hexadécimale 0x00, est un caractère non valide. Ligne 1, position 1.
         à System.Xml.XmlTextReaderImpl.Throw(Exception e)
         à System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
         à System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
         à System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
         à System.Xml.XmlTextReaderImpl.ParseDocumentContent()
         à System.Xml.XmlTextReaderImpl.Read()
         à System.Xml.XmlReader.MoveToContent()
         à System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
         à System.Xml.Linq.XElement.Load(String uri, LoadOptions options)
         à Buddy.Common.Xml.XmlSettings..ctor(String path)
         à Buddy.CommonBot.Settings.GlobalSettings..ctor()
         à Buddy.CommonBot.Settings.GlobalSettings.get_Instance()
         à Buddywing.LoginWindow..ctor()
         à Buddywing.MainWindow.<DoLogin>b__27_0()
         à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
         à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
      2016-07-23 22:01:23,424 [1] ERROR App - System.Xml.XmlException: '.', valeur hexadécimale 0x00, est un caractère non valide. Ligne 1, position 1.
         à System.Xml.XmlTextReaderImpl.Throw(Exception e)
         à System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
         à System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
         à System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
         à System.Xml.XmlTextReaderImpl.ParseDocumentContent()
         à System.Xml.XmlTextReaderImpl.Read()
         à System.Xml.XmlReader.MoveToContent()
         à System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
         à System.Xml.Linq.XElement.Load(String uri, LoadOptions options)
         à Buddy.Common.Xml.XmlSettings..ctor(String path)
         à Buddy.CommonBot.Settings.GlobalSettings..ctor()
         à Buddy.CommonBot.Settings.GlobalSettings.get_Instance()
         à Buddywing.LoginWindow..ctor()
         à Buddywing.MainWindow.<DoLogin>b__27_0()
         à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
         à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
         à System.Windows.Threading.DispatcherOperation.InvokeImpl()
         à System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
         à MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
         à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
         à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
         à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
         à MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
         à System.Windows.Threading.DispatcherOperation.Invoke()
         à System.Windows.Threading.Dispatcher.ProcessQueue()
         à System.Windows.Threading.Dispatcher.WndProcHook(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)
         à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
         à System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
         à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
         à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
         à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
         à System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
         à System.Windows.Application.RunDispatcher(Object ignore)
         à System.Windows.Application.RunInternal(Window window)
         à System.Windows.Application.Run(Window window)
         à System.Windows.Application.Run()
         à Buddywing.App.Main()
      
      I tried almost everything, including a total removal of the program or the creation of a second Windows account to launch it...
      So here I am, looking for an idea x)

      Thanks in advance!
       
    2. wired203

      wired203 Community Developer

      Joined:
      Jan 22, 2015
      Messages:
      391
      Likes Received:
      1
      Trophy Points:
      18
      Check for spyware, re-install .net try those
       
    3. fjouve

      fjouve New Member

      Joined:
      Mar 3, 2016
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      1
      Done, without sucess :/
      Also tried reinstalling all vcredist...
       
    4. wired203

      wired203 Community Developer

      Joined:
      Jan 22, 2015
      Messages:
      391
      Likes Received:
      1
      Trophy Points:
      18
      clear compiled assemblies and make sure you have 0 plugins.
       
    5. fjouve

      fjouve New Member

      Joined:
      Mar 3, 2016
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      1
      Yep, thats what I did first :p
      0 plugin, 0 log, 0 settings, 0 combat routine, 0 assemblies, ... A fresh install^^
       
    6. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      Are you running antivirus?
      Disable it, clean install BW and see what happens.
       
    7. fjouve

      fjouve New Member

      Joined:
      Mar 3, 2016
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      1
      Nop, don't have one, except Windows defender.
      Btw, it doesn't detect anything^^

      I think I'll have to do a new Windows install :/
       
    8. Logandros

      Logandros Moderator Moderator

      Joined:
      Nov 20, 2012
      Messages:
      370
      Likes Received:
      21
      Trophy Points:
      18
      Did you do the obvious windows hard drive and file system checks, there are additional checks for Windows 7-10. Your issue although unlikely seems common to corrupted sectors on a HD. I would do the following before wiping Windows:

      R-Click on the drive, properties, tools, check now and be sure to check both options, it may require to be run during boot up.
      For Windows 7 - 10, from an elevated command prompt: sfc / scannow

      best of luck
       
    9. fjouve

      fjouve New Member

      Joined:
      Mar 3, 2016
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      1
      Waow, surprisingly, it worked :)

      Thanks a lot!
       
    10. Logandros

      Logandros Moderator Moderator

      Joined:
      Nov 20, 2012
      Messages:
      370
      Likes Received:
      21
      Trophy Points:
      18

      Welcome
       
    11. cartoonchikn

      cartoonchikn Member

      Joined:
      Jul 5, 2012
      Messages:
      130
      Likes Received:
      2
      Trophy Points:
      18
      I'm getting the attached error on 3 different PCs. Been running fine for months until today.
      Tried deleting Compiled Assemblies, Plugins, and tried a fresh install. Still get the same error.

      [​IMG]

      Will post log soon.
       

      Attached Files:

      Last edited: Aug 7, 2016
    12. alexio86

      alexio86 Member

      Joined:
      Jun 3, 2014
      Messages:
      262
      Likes Received:
      2
      Trophy Points:
      18
      bot closed alone without anything in error log

      this seems problem of auth no windows corrupted
       
    13. cartoonchikn

      cartoonchikn Member

      Joined:
      Jul 5, 2012
      Messages:
      130
      Likes Received:
      2
      Trophy Points:
      18
      Whatever it was worked itself out.
       
    14. Cybs

      Cybs Member

      Joined:
      Aug 23, 2015
      Messages:
      56
      Likes Received:
      0
      Trophy Points:
      6
      Same here getting unhandled exception since the new patch
       
    15. Cybs

      Cybs Member

      Joined:
      Aug 23, 2015
      Messages:
      56
      Likes Received:
      0
      Trophy Points:
      6
      2016-08-09 09:20:24,174 [1] ERROR App - System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
      bei Buddy.CommonBot.Settings.CharacterSettings..ctor()
      bei Buddy.CommonBot.Settings.CharacterSettings.get_Instance()
      bei Buddywing.MainWindow.OnClosing(CancelEventArgs e)
      bei System.Windows.Window.WmClose()
      bei System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
      bei System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
      bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
      bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
      bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
      bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
      2016-08-09 09:22:04,590 [2] ERROR App - System.ArgumentNullException: Der Wert darf nicht NULL sein.
      Parametername: path
      bei System.IO.Directory.CreateDirectory(String path)
      bei Buddy.Common.Xml.XmlSettings.Save()
      bei Buddy.CommonBot.Settings.CharacterSettings.Save()
      bei Buddy.Common.Xml.XmlSettings.Finalize()
       
    16. provokedbell

      provokedbell New Member

      Joined:
      Feb 3, 2010
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      1
      I cant load the Bot also notice that it dont load the Combat Routine at all
       

    Share This Page