Page 1 of 2

An unhandled exception has occured.

Posted: 2014-02-11 12:45
by quickzRR

Code: Select all

Project Reality Log File
prlauncher.exe started at: 2014-02-11T13:40:37

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

Extra niet-parseerbare tekens zijn aan het einde van de tekenreeks geplaatst.

Further details can be found in the following file:

[url]C:\Program Files (x86)\EA GAMES\Battlefield 2\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.FormatException: Extra niet-parseerbare tekens zijn aan het einde van de tekenreeks geplaatst.
   bij System.ParseNumbers.StringToInt(String s, Int32 radix, Int32 flags, Int32* currPos)
   bij System.Convert.ToByte(String value, Int32 fromBase)
   bij Reality.Utils.DataProtection.Unprotect(String encryptedData, String& decryptedData)
   bij Reality.BF2.Keys.CDKey.(String )
   bij Reality.BF2.Keys.CDKey.get_Key()
   bij PRLauncher.WPF.ViewModel.MainWindowViewModel.<.ctor>b__13()
   bij System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bij MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
I have only just installed both BF2 + PR.

I have tried re?nstalling both.



Extra niet-parseerbare tekens zijn aan het einde van de tekenreeks geplaatst.

Translation: Additional non-parsable characters are at the end of the string.

Re: An unhandled exception has occured.

Posted: 2014-02-11 14:33
by quickzRR
No one?

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:13
by Knallkopp_02
Did you install BF2, patch 1.41, 1.5 and the alt tab fix?

Is BF2 running without problems?

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:27
by LITOralis.nMd
What version of BF2 do you own?
Origin download?
EADM download?
Retail CD?

Looks like your CDKey is incorrectly stored in your registry.

If you have Origin, right click on the BF2 and get your CDKey,
then start PRLauncher, go to Support->Keys tab, then reenter your CDKey, click Apply.

then test.

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:27
by quickzRR
If I go into BF2, and want to join a game and press start it crashes to my desktop..

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:28
by quickzRR
I own a Retail copy of bf2

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:29
by quickzRR
[R-COM]LITOralis.nMd wrote:What version of BF2 do you own?
Origin download?
EADM download?
Retail CD?

Looks like your CDKey is incorrectly stored in your registry.

If you have Origin, right click on the BF2 and get your CDKey,
then start PRLauncher, go to Support->Keys tab, then reenter your CDKey, click Apply.

then test.
Can't go to the supports tab because when I press ok for the error it shuts down the launcher.

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:33
by LITOralis.nMd
At this point, uninstall BF2.

When you reinstall, boot BF2 once and get to the first screen, in the corner it will tell you the version number.
Write that down, and post it here.

It's possible your retail CDs/DVD is prior to version 1.2X, and you need to download the 1.22 FULL patch, before installing the 1.41 full patcvh in our instalation guide, BUT I DON"T KNOW until you post back with the version that is installed from your media DVD/CDs.

Please follow our installation guide, step by step:
https://www.realitymod.com/forum/f27-pr ... guide.html

Your CDKey is invalid. IDK if it's a priate key, a banned key, or whatever.

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:34
by quickzRR
I'm installing it right now , shouldn't be to long.

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:37
by AncientMan
No no no no no...

This is an issue with 1.1.0.0. It was fixed in 1.1.1.0. You just need to get to that version.

Read this:
https://www.realitymod.com/forum/f27-pr ... ost1972331

Long story short, delete your cd key using the provided program and re-enter it when the launcher prompts you to. Then update to v1.1.1.0 (it will be offered when you launch the game), and you're good to go.

EDIT: Sigh, too late... You will still need to do this regardless if you re-install or not.

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:47
by quickzRR
I got version 1.1.2551.0

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:50
by quickzRR
So now just install patch 1.41 and 1.5 again ?


And than PR again?


Tried running the game and when I pressed Play singleplayer it just crashed to my desktop again.

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:56
by AncientMan
Yes, reinstall patch 1.41 and patch 1.5. You do not need to reinstall PR.

Once you have done this, you will have to delete your cd key and re-enter it, as described in my previous post.

Re: An unhandled exception has occured.

Posted: 2014-02-11 15:57
by quickzRR
I already deleted PR so i have to reinstall it anyways.

But I will try this and thn get back to you!

Re: An unhandled exception has occured.

Posted: 2014-02-11 17:50
by quickzRR
Well I followed all the steps you guys told me to, but I do get further in the game now ,

but same as with BF2 , it crashes when I hit play to join a server.

Re: An unhandled exception has occured.

Posted: 2014-02-12 09:40
by quickzRR
Bumpbump

Re: An unhandled exception has occured.

Posted: 2014-02-12 10:30
by quickzRR
Why can't anyone help me ffs I'm not the first one with this problem right?

I mean I can open both BF2 and PR and get into the game and server select bla bla, but as soon as I hit to deploy in the server it searches for like 2 seconds and crashes.....ffs help...

Re: An unhandled exception has occured.

Posted: 2014-02-12 11:34
by AncientMan
Usually CTD's joining an online server is caused by an invalid CD Key.

Confirm that your cd key is valid:
Launcher -> Support -> Keys tab

Otherwise, if that's valid, then try running in windowed mode:
Launcher -> Options -> Video tab -> Uncheck Fullscreen

This is so you can try and get any error messages displayed (they don't get displayed in fullscreen). If no error messages display, try making a local game:
Menu -> Deployment -> Create Local

Re: An unhandled exception has occured.

Posted: 2014-02-12 12:02
by quickzRR
I tried in windowed mode and gave me this message:

PRBF2 has been closed, cleaning up resources.


Also happend when I created a local game.

Re: An unhandled exception has occured.

Posted: 2014-02-13 15:57
by quickzRR
Bumpppppp