Page 1 of 1

An unhandled exception has occured.

Posted: 2015-12-31 02:41
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)

Re: An unhandled exception has occured.

Posted: 2015-12-31 10:20
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

Re: An unhandled exception has occured.

Posted: 2016-03-04 01:37
by Carl Weathers
Have you tried running/launching the game as administrator?

Re: An unhandled exception has occured.

Posted: 2017-06-12 23:47
by TheLostTexan92
Having the same issue running as admin made no change :/

Re: An unhandled exception has occured.

Posted: 2017-06-13 00:03
by AlonTavor
Delete the profiles folder at %appdata%