Critical Error: An unhandled exception has occured.

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Lyator
Posts: 6
Joined: 2015-10-29 17:45

Critical Error: An unhandled exception has occured.

Post 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.
Last edited by Lyator on 2016-12-03 01:38, edited 12 times in total.
Reason: Solution
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Critical Error: An unhandled exception has occured.

Post 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.
Lyator
Posts: 6
Joined: 2015-10-29 17:45

Re: Critical Error: An unhandled exception has occured.

Post 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
Last edited by Lyator on 2015-10-30 00:10, edited 8 times in total.
Lyator
Posts: 6
Joined: 2015-10-29 17:45

Fixed: Critical Error: An unhandled exception has occured.

Post 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.
Last edited by Lyator on 2016-12-03 13:20, edited 11 times in total.
Reason: Downloadlink
Post Reply

Return to “PR:BF2 Support”