Critical Error

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
George0507
Posts: 1
Joined: 2020-05-14 19:34

Critical Error

Post by George0507 »

An unhandled exception has occurred. Details are as follows:

Object reference not set to an instance of an object.

Further details be found in the following file:

And what file says:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2020-05-14T23:30:59

Critical Error: An unhandled exception has occured. Details are as follows:

Object reference not set to an instance of an object.

Further details can be found in the following file:

[url]D:\games\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/forumdisplay.php?f=27]Visit Support Forum[/url]

 > System.NullReferenceException: Object reference not set to an instance of an object.
   at Reality.BF2.Settings.GlobalLauncher.GetAutoLoginUser()
   at PRLauncher.WPF.ViewModel.MainWindowViewModel.LaunchStart(LaunchType a, Boolean b)
   at PRLauncher.WPF.ViewModel.MainWindowViewModel.OnLaunch(Object a)
   at Reality.Utils.WPF.RelayCommand.Execute(Object )
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   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.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.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.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)
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2177
Joined: 2016-10-12 13:25
Location: Poland

Re: Critical Error

Post by Suchar »

Launcher ---> Options ---> Reset all profiles
If the issue happens again, delete Project Reality directory in Documents, run launcher as an admin.
Image
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: Critical Error

Post by Mats391 »

Before resetting everything try this: https://www.realitymod.com/forum/showth ... ost2202975
As said in that post, this error should be fixed in the next update
Image

Mineral: TIL that Wire-guided missiles actually use wire
Post Reply

Return to “PR:BF2 Support”