Page 1 of 1

Critical Error: An unhandled exception has occured.

Posted: 2015-10-29 17:57
by Lyator
Hey Guys,

My laptop crashed while I was playing PR and after the restart I start the Luncher an I pressed Play but then came this message:

Code: Select all

Project Reality Log File prlauncher.exe started at: 2015-10-29T15:43:32 

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

Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. 

Further details can be found in the following file: 

[url]D:\Program Files (x86)\Project Reality\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: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. 
bei Va.h.a() bei Reality.BF2.Settings.Video.a(String a) 
bei System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() 
bei System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) 
bei Reality.BF2.Settings.Video.GetDefaultResolution() 
bei Reality.BF2.Settings.Video.CreateDefault(UInt16 a) 
bei -.f.a() bei -.f.OnStartup(StartupEventArgs a) 
bei System.Windows.Application.<_ctor>b__0(Object unused) 
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 
I tried to reset the profile but the same message came again.

I hope you can help me :confused:
__________________________________________________
Lyator wrote: The Solution:

Klick the Link here.

Re: Critical Error: An unhandled exception has occured.

Posted: 2015-10-29 18:42
by LITOralis.nMd
You have a online microsoft Live.com profile connected to your Windows 10 PC. It is taking control of your My Documents folders and setting them to all be Read only.

Please search my history and see how to set up a home group quickly to fix this problem.

Re: Critical Error: An unhandled exception has occured.

Posted: 2015-10-29 23:53
by Lyator
Thanks for your answer [R-COM]LITOralis.nMd but the problem is still there.

I tried this: https://www.realitymod.com/forum/f27-pr-bf2-support/138838-pr-bf2-has-closed-cleaning-up-resources.html

I have also uninstalled PR and reinstalled it with the administrator account, but it did not help.
After reinstalling, the Launcher not even opened and the same error message appeared again.

My Documents\Project Reality\ (after reinstall):

Image
Image

Fixed: Critical Error: An unhandled exception has occured.

Posted: 2015-10-30 09:28
by Lyator
i fixed it:

firstly a friend of mine send me his Project Reality folder(My Documents\Project Reality)
And then i could retrive my existing account. But i could not start the game.

So I copied this Files into my Project Reality folder:

My Documents\ProjectReality\Profiles\0001:
- Audio.con
- Controls.con
- General.con
- Haptic.con
- Launcher.con
- ServerSettings.con
- Video.con

My Documents\ProjectReality\Profiles\Default:
- Audio.con
- ServerSettings.con
- Video.con

And now it works! :thumbsup:
Downloadlink for the files you need:

Download the files from Here.