• Visit Honorbuddy
  • Visit Rebornbuddy
  • Visit Demonbuddy
  • Visit Exilebuddy
  • Visit Hearthbuddy
  • Visit Pokefarmer
  • Visit Buddystore

System.NullReferenceException: Object reference not set to an instance of an object

Discussion in 'Buddy Wing Support' started by blubbelz, Apr 18, 2017.

  1. blubbelz

    blubbelz New Member

    Joined:
    May 1, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Thats what i always get when i press any button in the BuddyWing window. After that, it crashes. Even tried it on a Windows 10 VM, didn't worked. Full log:

    2017-04-18 04:06:28,773 [6] INFO MainWindow - Login Success!
    2017-04-18 04:06:30,047 [7] INFO MainWindow - First CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
    2017-04-18 04:06:30,049 [7] INFO MainWindow - OS Version: Windows NT 6.1.7601 Service Pack 1
    2017-04-18 04:06:30,050 [7] INFO MainWindow - App Path: C:\Users\no name\Desktop\Neuer Ordner\hi\skype.exe
    2017-04-18 04:06:30,068 [7] ERROR MainWindow - Unhandled exception during init:
    System.Exception: Unable to find a free SW:TOR process, are you sure the game is running?
    at Buddywing.MainWindow.DoInitialization(Boolean recompile)
    2017-04-18 04:06:30,074 [7] INFO MainWindow - Buddy Wing: The Old Robot is ready!
    2017-04-18 04:06:30,074 [7] INFO MainWindow - You can use the F9 key to pause and unpause the bot, and F10 to stop or start it while in-game.
    2017-04-18 04:06:54,614 [1] INFO InventoryManagerItem - Medpac Created!
    2017-04-18 04:14:46,598 [1] ERROR App - System.NullReferenceException: Object reference not set to an instance of an object.
    at Buddy.CommonBot.Settings.CharacterSettings..ctor()
    at Buddy.CommonBot.Settings.CharacterSettings.get_Instance()
    at Buddywing.MainWindow.OnClosing(CancelEventArgs e)
    at System.Windows.Window.WmClose()
    at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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)
    2017-04-18 04:14:48,257 [1] ERROR App - System.NullReferenceException: Object reference not set to an instance of an object.
    at Buddy.CommonBot.Settings.CharacterSettings..ctor()
    at Buddy.CommonBot.Settings.CharacterSettings.get_Instance()
    at Buddywing.MainWindow.OnClosing(CancelEventArgs e)
    at System.Windows.Window.WmClose()
    at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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.UnsafeSendMessage(IntPtr hWnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Window.InternalClose(Boolean shutdown, Boolean ignoreCancel)
    at System.Windows.Window.Close()
    at MahApps.Metro.Controls.WindowButtonCommands.CloseClick(Object sender, RoutedEventArgs e)
    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
    at System.Windows.Controls.Primitives.ButtonBase.OnClick()
    at System.Windows.Controls.Button.OnClick()
    at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
    at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
    at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
    at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
    at System.Windows.Input.InputManager.ProcessStagingArea()
    at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
    at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
    at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
    at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at System.Windows.Interop.HwndSource.InputFilterMessage(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 System.Windows.Application.Run()
    at Buddywing.App.Main()
     
  2. blubbelz

    blubbelz New Member

    Joined:
    May 1, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    works for me now, here is what i did. i installed it again, then updated the bot. important is that when you login in the bot (inserting the key) you have to be ingame without being in a loading screen or smth. it should tell you your class then in the log.
     
  3. Logandros

    Logandros Moderator Moderator

    Joined:
    Nov 20, 2012
    Messages:
    320
    Likes Received:
    11
    Trophy Points:
    18
    Yes the bot was only designed to run in-game after a character load. It will crash on character select screens as well as during a phase change (Fleet Pass) (Planetary Travel).

    ** quick travel is fine
     

Share This Page