PR error message

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
gregjlanders
Posts: 29
Joined: 2011-03-23 13:46

PR error message

Post 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)
Last edited by gregjlanders on 2011-10-19 00:24, edited 1 time in total.
thepalerider
Posts: 2226
Joined: 2007-02-18 23:55

Re: PR error message

Post by thepalerider »

Delete the BF2 folder inside your documents folder. When you restart the game a new default folder will be created.
Good luck
"There's nothin' like a nice piece of hickory"

I play on TeamPlayersGaming where it's all about the teamwork.
gregjlanders
Posts: 29
Joined: 2011-03-23 13:46

Re: PR error message

Post 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 :(
Last edited by gregjlanders on 2011-10-28 18:04, edited 1 time in total.
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: PR error message

Post 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.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
gregjlanders
Posts: 29
Joined: 2011-03-23 13:46

Re: PR error message

Post 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?
maarit
Posts: 1145
Joined: 2008-02-04 17:21

Re: PR error message

Post 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.
Last edited by maarit on 2011-11-01 18:49, edited 2 times in total.
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: PR error message

Post 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.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
Post Reply

Return to “PR:BF2 Support”