Page 1 of 1
PR error message
Posted: 2011-10-18 20:46
by gregjlanders
System.Exception: An error has occurred while trying to launch BF2.
Details are as follows.
System.NullReferenceException: Object reference not set to an instance of an object.
at c.e()
at c.a(String A_0)
at c.a(String A_0)
at k.a(String[] A_0)
I looked up in the prError notepad file this problem. This is my latest crash message
Everytime I get into PR, after maybe 5/10 seconds, it suddenly crashes w/o CTD message
Any help please?
Edit: I have reinstalled BF2 completely and I removed all the profiles (Not PR though).
Now as before also, I still have this message
19 October 2011 01:16:42
---------------------------------
System.ArgumentException: The directory name C:\Users\greg\Documents/Battlefield 2/Profiles/Default is invalid.
at System.IO.FileSystemWatcher.set_Path(String value)
at i..ctor(String A_0)
at k.a(String[] A_0)
Re: PR error message
Posted: 2011-10-20 20:41
by thepalerider
Delete the BF2 folder inside your documents folder. When you restart the game a new default folder will be created.
Good luck
Re: PR error message
Posted: 2011-10-28 01:32
by gregjlanders
Thank you for the reply, it seems I was busy trying to remove this problem
28 October 2011
00:35:58
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\greg\Documents\Battlefield 2\Profiles\Default\Video.con' because it is being used by another process.
28 October 2011
00:35:58
---------------------------------
Error in writing screen aspect ratio file: c:\program files (x86)\ea games\battlefield 2\mods\pr\
System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files (x86)\ea games\battlefield 2\mods\pr\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
Almost everytime I start PR it crashes instantly when I log in with my user name, clicking each menu (Coop, Internet, Options etc) it also crashes. I have also noticed if I literally just leave the game on idol (not clicking anything or moving) it crashes in like 10~30 seconds
Edit: I did what you suggested and I found this problem also

Re: PR error message
Posted: 2011-10-31 01:36
by MaSSive
I got that error too ( last one you posted above ) but looks like there is still no solution to it. My game don't crash much but nevertheless I got these in my log file too. And when I exit the game I got that windows error ding, but nothing beyond that.
Are you running game as admin? Try also asigning bf2.exe to one core...that might solve the crashes but I doubt it will stop this error in log to appear.
Re: PR error message
Posted: 2011-11-01 18:18
by gregjlanders
Yes, I'm running pr.exe on administrator via properties on both the shortcut option and the compatibility option.
How do I assign pr.exe to a single core? Also I have 4, which one should I sign it to?
Re: PR error message
Posted: 2011-11-01 18:43
by maarit
do you have game as retail dvd rom or is it some steam version?
i have 4 cores and it works fine.
never had any problems with BF2 or PR...
i have always did just this:
patch BF2 first to 1.41 after that to 1.50.
run as admin.
start BF2 once before go PR.
Re: PR error message
Posted: 2011-11-01 19:31
by MaSSive
gregjlanders wrote:Yes, I'm running pr.exe on administrator via properties on both the shortcut option and the compatibility option.
How do I assign pr.exe to a single core? Also I have 4, which one should I sign it to?
Not really sure but I dont think there is a need to run it in compatibility mode, just check run as admin, as I had problems before when I was running it in compatibility mode. Once I removed that setting it was much better.
As for core assignment, once you are logged in, ALT+TAB to desktop and start task manager - on processes tab find BF2.exe and right click it - scroll to "Set Affinity..." - make sure only one core is checked, clear all other marks, it doenst matter on which core - just one.