An unhandled exception has occured.

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Wiz
Posts: 3
Joined: 2015-08-29 10:42

An unhandled exception has occured.

Post by Wiz »

Please report this error to the Project Reality Team, and include the log file in your report.

Visit Support Forum

> System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в Va.h.a()
в Reality.BF2.Settings.Video.a(String a)
в System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
в System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
в Reality.BF2.Settings.Video.GetDefaultResolution()
в Reality.BF2.Settings.Video.CreateDefault(UInt16 a)
в -.f.a()
в -.f.OnStartup(StartupEventArgs a)
в System.Windows.Application.<.ctor>b__1(Object unused)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
[/code]

Can you help to start game?
Wiz
Posts: 3
Joined: 2015-08-29 10:42

Re: An unhandled exception has occured.

Post by Wiz »

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2015-09-07T00:06:28

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

Ссылка на объект не указывает на экземпляр объекта.

Further details can be found in the following file:

[url]I:\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: Ссылка на объект не указывает на экземпляр объекта.
   в Va.h.a()
   в Reality.BF2.Settings.Video.a(String a)
   в System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   в System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   в Reality.BF2.Settings.Video.GetDefaultResolution()
   в Reality.BF2.Settings.Video.CreateDefault(UInt16 a)
   в -.f.a()
   в -.f.OnStartup(StartupEventArgs a)
   в System.Windows.Application.<.ctor>b__1(Object unused)
   в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Wiz
Posts: 3
Joined: 2015-08-29 10:42

Re: An unhandled exception has occured.

Post by Wiz »

Is anyone reading it?
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: An unhandled exception has occured.

Post by AfterDune »

I'm sure people are reading it, but don't know what to do about it. When exactly does this occur, when you click "play"?

Also, can you post your system specs from PRLauncher->Support->Copy and Paste, then paste it to this thread?
Image
Psyrus
Retired PR Developer
Posts: 3841
Joined: 2006-06-19 17:10

Re: An unhandled exception has occured.

Post by Psyrus »

It seems to be having issues detecting your default resolution or the profile resolution, as AfterDune mentioned... post your specs to reveal if there is more to it.

If you cannot open the launcher, then we have to figure out what is strange about your system that it cannot detect the resolution
TheRoko121
Posts: 10
Joined: 2015-09-11 13:38

Re: An unhandled exception has occured.

Post by TheRoko121 »

Wiz, I've had the same problem as you and found a solution. If you have a copy of BF2 lying around, or know a way to get one, install it and check out further instructions here, 'cause I'm too lazy to type it all out again. Gotta go play PR.
Post Reply

Return to “PR:BF2 Support”