An unhandled exception has occured.

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
coDyDaTallGuy
Posts: 2
Joined: 2015-08-26 18:05

An unhandled exception has occured.

Post by coDyDaTallGuy »

Tried to start the launcher and all I get is an error with this in the log. Can someone please help? I tried to play this a while back but could never boot the game due to some error with my resolution, now I re-downloaded the game in hopes of it working and now I can't even get the launcher up.

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-12-30T21:35:29

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:

C:\Program Files (x86)\Project Reality\Project Reality"BF2\mods\pr\bin\PRLauncher.log


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 Ya.h.a()
   at Reality.BF2.Settings.Video.a.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)
DC_K
Posts: 508
Joined: 2010-07-21 11:27

Re: An unhandled exception has occured.

Post by DC_K »

go to your profile in your documents/projectreality/profiles/000x

how many files do you see in there?


open this dropbox, if you're missing anything, download and save it in there, then config your settings and try running game again
https://www.dropbox.com/sh/a0qm9ybeg3kl ... mszAa?dl=0
prWARs dc-k
Carl Weathers
Posts: 36
Joined: 2009-01-09 19:17

Re: An unhandled exception has occured.

Post by Carl Weathers »

Have you tried running/launching the game as administrator?
TheLostTexan92
Posts: 1
Joined: 2017-06-12 23:44

Re: An unhandled exception has occured.

Post by TheLostTexan92 »

Having the same issue running as admin made no change :/
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: An unhandled exception has occured.

Post by AlonTavor »

Delete the profiles folder at %appdata%
Post Reply

Return to “PR:BF2 Support”