Jump to content

Critical Bug in v1.7.2 - NullReferenceException on Form1_Load

Pending 1.7.2

krosgore
krosgore

Posted

Hi, I'm experiencing a crash immediately upon launching Rust Server Tool v1.7.2. The application fails during the startup process before the main window even appears.

I have already tested the following without success:

Running as Administrator.

Launching without an internet connection.

Using a VPN/WARP.

Deleting IsolatedStorage and local configuration files.

The error persists even when offline, which suggests a logic error during the initialization of components or when parsing local data in the Form1_Load event. It seems to be an unhandled async task exception (VB$StateMachine_5_Form1_Load.MoveNext).

Error Details:

Quote

Consulte el final de este mensaje para obtener m谩s detalles sobre c贸mo invocar a la depuraci贸n聽
Just-In-Time (JIT) en lugar de a este cuadro de di谩logo.

************** Texto de la excepci贸n **************
System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
聽 聽en (Object , String )
聽 聽en .(Object , String , )
聽 聽en ..VB$StateMachine_5_Form1_Load.MoveNext()
--- Fin del seguimiento de la pila de la ubicaci贸n anterior donde se produjo la excepci贸n ---
聽 聽en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


************** Ensamblados cargados **************
mscorlib
聽 聽 Versi贸n del ensamblado: 4.0.0.0
聽 聽 Versi贸n Win32: 4.8.9325.0 built by: NET481REL1LAST_25H2_C
聽 聽 C贸digo base: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Rust Server Tool
聽 聽 Versi贸n del ensamblado: 1.7.2.0
聽 聽 Versi贸n Win32: 1.7.2
聽 聽 C贸digo base: file:///E:/RustServer/Rust%20Server%20Tool.exe
----------------------------------------
System
聽 聽 Versi贸n del ensamblado: 4.0.0.0
聽 聽 Versi贸n Win32: 4.8.9321.0 built by: NET481REL1LAST_25H2_B
聽 聽 C贸digo base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.VisualBasic
聽 聽 Versi贸n del ensamblado: 10.0.0.0
聽 聽 Versi贸n Win32: 14.8.9221.0 built by: NET481REL1LAST_25H2
聽 聽 C贸digo base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Core
聽 聽 Versi贸n del ensamblado: 4.0.0.0
聽 聽 Versi贸n Win32: 4.8.9319.0 built by: NET481REL1LAST_25H2_B
聽 聽 C贸digo base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
聽 聽 Versi贸n del ensamblado: 4.0.0.0
聽 聽 Versi贸n Win32: 4.8.9325.0 built by: NET481REL1LAST_25H2_C
聽 聽 C贸digo base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
聽 聽 Versi贸n del ensamblado: 4.0.0.0
聽 聽 Versi贸n Win32: 4.8.9221.0 built by: NET481REL1LAST_25H2
聽 聽 C贸digo base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
聽 聽 Versi贸n del ensamblado: 4.0.0.0
聽 聽 Versi贸n Win32: 4.8.9221.0 built by: NET481REL1LAST_25H2
聽 聽 C贸digo base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
聽 聽 Versi贸n del ensamblado: 4.0.0.0
聽 聽 Versi贸n Win32: 4.8.9221.0 built by: NET481REL1LAST_25H2
聽 聽 C贸digo base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
聽 聽 Versi贸n del ensamblado: 4.0.0.0
聽 聽 Versi贸n Win32: 4.8.9221.0 built by: NET481REL1LAST_25H2
聽 聽 C贸digo base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
93875bf5-596a-4c7b-92f5-bb2c7fc87fb3
聽 聽 Versi贸n del ensamblado: 1.0.0.0
聽 聽 Versi贸n Win32: 1.7.2
聽 聽 C贸digo base: file:///E:/RustServer/Rust%20Server%20Tool.exe
----------------------------------------
MetroSuite 2.0
聽 聽 Versi贸n del ensamblado: 2.0.2.1
聽 聽 Versi贸n Win32: 1.7.2
聽 聽 C贸digo base: file:///E:/RustServer/Rust%20Server%20Tool.exe
----------------------------------------
mscorlib.resources
聽 聽 Versi贸n del ensamblado: 4.0.0.0
聽 聽 Versi贸n Win32: 4.8.9032.0 built by: NET481REL1
聽 聽 C贸digo base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_es_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
聽 聽 Versi贸n del ensamblado: 4.0.0.0
聽 聽 Versi贸n Win32: 4.8.9032.0 built by: NET481REL1
聽 聽 C贸digo base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuraci贸n JIT **************
Para habilitar la depuraci贸n Just In Time (JIT), el archivo de configuraci贸n de esta
aplicaci贸n o equipo (machine.config) debe tener el
valor jitDebugging establecido en la secci贸n system.windows.forms.
La aplicaci贸n tambi茅n se debe compilar con la depuraci贸n
habilitada

Por ejemplo:

<configuration>
聽 聽 <system.windows.forms jitDebugging="true" />
</configuration>

Cuando est茅 habilitada la depuraci贸n JIT, cualquier excepci贸n no controlada
se enviar谩 al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de di谩logo.


image.png

krosgore

Posted

I've decompiled the binary with dnSpy and the crash is located at the entry point of MyApplication. Specifically, the static delegate \u0094\u0097\u0097.\u0094\u0097\u0094 is null when Invoke() is called.

It seems like the obfuscation/bootstrapper is failing to resolve the method handles during the static constructor initialization. This explains why it crashes even offline or with a clean config. Your packer is failing to initialize the delegates in v1.7.2.

LosGranada

Posted

Which version of Windows are you using? Is it updated?

krosgore

Posted

23 hours ago, LosGranada said:

Which version of Windows are you using? Is it updated?

image.png.09eaf6a40fb4952c1339172bbd250696.png

Everything is updated

krosgore

Posted

I'm starting to doubt that the main problem is "https://umod.org/"

The tool has problems every time that website is inaccessible.

LosGranada

Posted

However, umod is not called when the form is started.
Hmm, I'll have to see what that could be.
If you can be patient a little longer, the Rust Server Tool will soon be replaced by MyRustServer Lite.

  • Like 2
3bernd3

Posted

On 2/10/2026 at 6:16 AM, LosGranada said:

However, umod is not called when the form is started.
Hmm, I'll have to see what that could be.
If you can be patient a little longer, the Rust Server Tool will soon be replaced by MyRustServer Lite.

thought it was me again, so we will wait 馃檪聽.

2.2m

Downloads

Total number of downloads.

10.4k

Customers

Total customers served.

150.3k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.