Critical Error on Launch

If you find a bug within PR:BF2 (including PRSP), please report it here.
Post Reply
nikorev
Posts: 6
Joined: 2018-02-27 00:20

Critical Error on Launch

Post by nikorev »

Here's a photo of the error that occus on launch:
https://i.imgur.com/B0x2wwV.jpg

The message only appears for a brief split second before disappearing and closing the game.

Here's my PRLauncher.log

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2018-02-26T19:49:13

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

String reference not set to an instance of a String.
Parameter name: s

Further details can be found in the following file:

[url]C:\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.ArgumentNullException: String reference not set to an instance of a String.
Parameter name: s
   at System.Text.Encoding.GetBytes(String s)
   at Reality.Utils.Extensions.ToMD5(String )
   at Reality.BF2.GameSpy.LoginServer.CreateLoginResponse(SocketState , Dictionary`2 )
   at Reality.BF2.GameSpy.LoginServer.(SocketState , String , Dictionary`2 )
   at Reality.BF2.GameSpy.LoginServer.(SocketState , String )
   at Reality.BF2.GameSpy.LoginServer.(IAsyncResult )
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
nikorev
Posts: 6
Joined: 2018-02-27 00:20

Re: Critical Error on Launch

Post by nikorev »

The issue has seemed to fix itself? I just got on perfectly fine.
Sixthncst
Posts: 19
Joined: 2013-06-30 15:02

Re: Critical Error on Launch

Post by Sixthncst »

I am still having the game CTD and not loading. I downloaded the latest patch and it still is doing the same thing...video plays and then game closes to desktop.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Critical Error on Launch

Post by AlonTavor »

Sixthncst wrote:I am still having the game CTD and not loading. I downloaded the latest patch and it still is doing the same thing...video plays and then game closes to desktop.
Make your own thread, you have a different problem. Run as windowed and see if you get an error.
Swedzacy
Posts: 2
Joined: 2018-01-29 18:57

Re: Critical Error on Launch

Post by Swedzacy »

Hello, have same issue here, below is my log

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2018-02-28T21:10:25

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

Odwo?anie do ci?gu nie jest ustawione na wyst?pienie elementu String.
Nazwa parametru: s

Further details can be found in the following file:

[url]D:\Gry\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.ArgumentNullException: Odwo?anie do ci?gu nie jest ustawione na wyst?pienie elementu String.
Nazwa parametru: s
   w System.Text.Encoding.GetBytes(String s)
   w Reality.Utils.Extensions.ToMD5(String )
   w Reality.BF2.GameSpy.LoginServer.CreateLoginResponse(SocketState , Dictionary`2 )
   w Reality.BF2.GameSpy.LoginServer.(SocketState , String , Dictionary`2 )
   w Reality.BF2.GameSpy.LoginServer.(SocketState , String )
   w Reality.BF2.GameSpy.LoginServer.(IAsyncResult )
   w System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   w System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   w System.Net.ContextAwareResult.Complete(IntPtr userToken)
   w System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   w System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   w System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Laskan
Posts: 3
Joined: 2018-02-28 21:31

Re: Critical Error on Launch

Post by Laskan »

Same issue here.

It would be nice if someone tried to help us because I think there are a couple of others aswell probably with this issue.
Sniper-JP
Posts: 2
Joined: 2018-02-28 23:36

Re: Critical Error on Launch

Post by Sniper-JP »

Need help


Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2018-02-28T11:46:08

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

Referência de cadeia de caracteres não foi definida como uma instância de cadeia de caracteres.
Nome do parâmetro: s

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.ArgumentNullException: Referência de cadeia de caracteres não foi definida como uma instância de cadeia de caracteres.
Nome do parâmetro: s
   em System.Text.Encoding.GetBytes(String s)
   em Reality.Utils.Extensions.ToMD5(String )
   em Reality.BF2.GameSpy.LoginServer.CreateLoginResponse(SocketState , Dictionary`2 )
   em Reality.BF2.GameSpy.LoginServer.(SocketState , String , Dictionary`2 )
   em Reality.BF2.GameSpy.LoginServer.(SocketState , String )
   em Reality.BF2.GameSpy.LoginServer.(IAsyncResult )
   em System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   em System.Net.ContextAwareResult.Complete(IntPtr userToken)
   em System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   em System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   em System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Laskan
Posts: 3
Joined: 2018-02-28 21:31

Re: Critical Error on Launch

Post by Laskan »

sorry but is there any news about this bug? Like how far are the devs with solving it? have they found it?
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Critical Error on Launch

Post by Mats391 »

Laskan wrote:sorry but is there any news about this bug? Like how far are the devs with solving it? have they found it?
You still getting this in 1.5.3.3?
Image

Mineral: TIL that Wire-guided missiles actually use wire
Laskan
Posts: 3
Joined: 2018-02-28 21:31

Re: Critical Error on Launch

Post by Laskan »

it is fixed AFAIK.

Thank you :)
Post Reply

Return to “PR:BF2 Bugs”