Page 1 of 1

An unhandled exception has occured.

Posted: 2015-09-05 17:00
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?

Re: An unhandled exception has occured.

Posted: 2015-09-06 21:07
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)

Re: An unhandled exception has occured.

Posted: 2015-09-10 10:18
by Wiz
Is anyone reading it?

Re: An unhandled exception has occured.

Posted: 2015-09-10 10:28
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?

Re: An unhandled exception has occured.

Posted: 2015-09-10 16:01
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

Re: An unhandled exception has occured.

Posted: 2015-09-13 12:23
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.