Critcal Error: Object reference not set to an instance of an object

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Arcvosa
Posts: 1
Joined: 2015-06-19 22:17

Critcal Error: Object reference not set to an instance of an object

Post by Arcvosa »

Keep getting this error? Don't have a clue on how to fix it.

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-06-19T23:22:30

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]C:\Games\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/f27-pr-bf2-support]Visit Support Forum[/url]

 > System.NullReferenceException: Object reference not set to an instance of an object.
   at Va.h.a()
   at Reality.BF2.Settings.Video.a(String a)
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at Reality.BF2.Settings.Video.GetDefaultResolution()
   at Reality.BF2.Settings.Video.CreateDefault(UInt16 a)
   at -.f.a()
   at -.f.OnStartup(StartupEventArgs a)
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Critcal Error: Object reference not set to an instance of an object

Post by LITOralis.nMd »

Hiya, welcome to PR,

your game resolution or refresh rate is set incorrectly.

Fastest way to fix this is to go to Documents\ProjectReality and rename it to Documents\ProjectRealityOLD
Then find the C:\Games\Project Reality BF2\PRBF2.exe and run it once. It will get to a main menu and say you must use the Launcher. This will recreate the Profiles directory properly more often than not. Close down PRBF2.exe and run the PRlauncher.exe program and see if you're fixed.

If not fixed , get your system specs from PRLAuncher->Support, copy paste it all here.
Post Reply

Return to “PR:BF2 Support”