Critical Error on Update Attempt

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
osterizer8
Posts: 5
Joined: 2015-08-03 18:13

Critical Error on Update Attempt

Post by osterizer8 »

I was able to update and open PR to v1.6, but when I attempt to update to v1.6.1.1 the launcher immediately throws a critical error. Here's the log file:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2020-05-18T13:34:49

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

Exception has been thrown by the target of an invocation.

Further details can be found in the following file:

[url]C:\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.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Reality.BF2.Game.PreLaunch.get_ProfileType()
   at ?.(Object )
   at ?.(MethodBase , Boolean )
   at ?.??(? , ? )
   at ?.()
   at ?.?(Boolean )
   at ?.(Object )
   at ?.()
   at ?.(Object , UInt32 )
   at ?.?(Boolean )
   at ?.?()
   at ?.(Object[] , Type[] , Type[] , Object[] )
   at ?.(Stream , String , Object[] , Type[] , Type[] , Object[] )
   at ?.(Stream , String , Object[] )
   at ?.(Stream , String , Object[] )
   at Reality.BF2.Game.LaunchControl.VerifyFiles(PreLaunch , Action`2 )
   at PRLauncher.WPF.ViewModel.MainWindowViewModel.b.a(Object a, LaunchNewUpdateEventArgs b)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at ?.(Object )
   at ?.(MethodBase , Boolean )
   at ?.??(? , ? )
   at ?.()
   at ?.?(Boolean )
   at ?.(Object )
   at ?.()
   at ?.(Object , UInt32 )
   at ?.?(Boolean )
   at ?.?()
   at ?.(Object[] , Type[] , Type[] , Object[] )
   at ?.(Stream , Int32 , Object[] , Type[] , Type[] , Object[] )
   at ?.(Int32 , Type[] , Type[] , Boolean )
   at ?.??(? , ? )
   at ?.()
   at ?.?(Boolean )
   at ?.(Object )
   at ?.()
   at ?.(Object , UInt32 )
   at ?.?(Boolean )
   at ?.?()
   at ?.(Object[] , Type[] , Type[] , Object[] )
   at ?.(Stream , String , Object[] , Type[] , Type[] , Object[] )
   at ?.(Stream , String , Object[] )
   at ?.(Stream , String , Object[] )
   at Reality.BF2.Game.LaunchControl.UpdateCheck(PreLaunch , Boolean , Action`1 )
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Critical Error on Update Attempt

Post by AlonTavor »

Delete the profiles folder in my documents
osterizer8
Posts: 5
Joined: 2015-08-03 18:13

Re: Critical Error on Update Attempt

Post by osterizer8 »

Thank you, that fixed my problem!
Post Reply

Return to “PR:BF2 Support”