SteamDesktopAuthenticator icon indicating copy to clipboard operation
SteamDesktopAuthenticator copied to clipboard

System.NullReferenceException: Object reference not set to an instance of an object.

Open DygL opened this issue 10 years ago • 2 comments

Hello guys, I had this problem when I just installed it. When I launch it I get an error, try to continue but it just pops up again. That's how the error looks like https://gyazo.com/9f41257594f78562373f0d51d128622f and what it says :

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Steam_Desktop_Authenticator.MainForm.loadAccountsList() at Steam_Desktop_Authenticator.MainForm.MainForm_Shown(Object sender, EventArgs e) at System.Windows.Forms.Form.OnShown(EventArgs e) at System.Windows.Forms.Form.CallShownEvent() at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

Steam Desktop Authenticator Assembly Version: 0.3.1.0 Win32 Version: 0.3.1

CodeBase: file:///C:/Users/dimitrijus/Desktop/Steam.Desktop.Authenticator.v0.3.1/Steam%20Desktop%20Authenticator.exe

System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Newtonsoft.Json Assembly Version: 7.0.0.0 Win32 Version: 7.0.1.18622

CodeBase: file:///C:/Users/dimitrijus/Desktop/Steam.Desktop.Authenticator.v0.3.1/Newtonsoft.Json.DLL

SteamAuth Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/dimitrijus/Desktop/Steam.Desktop.Authenticator.v0.3.1/SteamAuth.DLL

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <system.windows.forms jitDebugging="true" /> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. 2 answers to this question

DygL avatar Dec 22 '15 12:12 DygL

Download & Install DirectX if you don't have it installed already. Download & Install Visual C++ Redistributable 2013 (vcredist_x86.exe) from the Microsoft website if you don't have it already. Download & Install .NET Framework 4.5.2 from the Microsoft website if you're using Windows 7. Windows 8 and above should do this automatically for you.

links on the main page https://github.com/Jessecar96/SteamDesktopAuthenticator

hyt47 avatar Dec 22 '15 14:12 hyt47

It helped, thanks. But now I have an another problem #131 <---

DygL avatar Dec 22 '15 19:12 DygL