Page 1 of 1

error when starting the game

Posted: 2020-05-13 08:57
by domik

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2020-05-13T11:57:07

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

?????? ?? ?????? ?? ????????? ?? ????????? ???????.

Further details can be found in the following file:

[url]D:\Battlefield 2\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: ?????? ?? ?????? ?? ????????? ?? ????????? ???????.
   ? Reality.BF2.Settings.GlobalLauncher.GetAutoLoginUser()
   ? PRLauncher.WPF.ViewModel.MainWindowViewModel.LaunchStart(LaunchType a, Boolean b)
   ? PRLauncher.WPF.ViewModel.MainWindowViewModel.OnLaunch(Object a)
   ? Reality.Utils.WPF.RelayCommand.Execute(Object )
   ? MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   ? 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.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)
   ? System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Re: error when starting the game

Posted: 2020-05-13 11:31
by Mats391
Fixed for next version. For now please go to Documents\ProjectReality\Profiles and open GlobalLauncher.con. Edit the line that says "setAutoLoginUser" to this:

Code: Select all

GlobalLauncherSettings.setAutoLoginUser ""

Re: error when starting the game

Posted: 2020-05-26 00:59
by facundogodoy
still have this problem

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2020-05-25T21:59:37

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

Referencia a objeto no establecida como instancia de un objeto.

Further details can be found in the following file:

[url]C:\Program Files (x86)\Project Reality\Project Reality BF2\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: Referencia a objeto no establecida como instancia de un objeto.
   en ??.?.()
   en Reality.BF2.Settings.Video..(String )
   en System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   en System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   en Reality.BF2.Settings.Video.GetDefaultResolution()
   en Reality.BF2.Settings.Video.CreateDefault(UInt16 )
   en -.f.a()
   en -.f.OnStartup(StartupEventArgs a)
   en System.Windows.Application.<.ctor>b__1_0(Object unused)
   en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)