.NET Framework "Unhandled exception" after running the app, just after it prompts to select mod install location is happening for me.
"Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue. Object reference not set to an instance of an object."
Code:
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 _7D2DLauncher.frmMain.PickModdedFolder() in C:\Users\jkilpatrick\Documents\GitHub\7D2DModLauncher\7D2DLauncher\7D2DLauncher\7D2DLauncher.cs:line 1780
at _7D2DLauncher.frmMain.txtModdedGameFolder_TextChanged(Object sender, EventArgs e) in C:\Users\jkilpatrick\Documents\GitHub\7D2DModLauncher\7D2DLauncher\7D2DLauncher\7D2DLauncher.cs:line 3065
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m)
at System.Windows.Forms.RichTextBox.WmReflectCommand(Message& m)
at System.Windows.Forms.RichTextBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
7D2DLauncher
Assembly Version: 2.0.80.18955
Win32 Version: 2.0.80.18955
CodeBase: file:///C:/Program%20Files/SphereII%20Software/7D2D%20Mod%20Launcher%20Installer/7D2DLauncher.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3353.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
log4net
Assembly Version: 2.0.8.0
Win32 Version: 2.0.8.0
CodeBase: file:///C:/Program%20Files/SphereII%20Software/7D2D%20Mod%20Launcher%20Installer/log4net.DLL
----------------------------------------
System.Net.Http
Assembly Version: 4.1.1.3
Win32 Version: 4.6.26907.01
CodeBase: file:///C:/Program%20Files/SphereII%20Software/7D2D%20Mod%20Launcher%20Installer/System.Net.Http.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
AutoUpdater.NET
Assembly Version: 1.4.11.0
Win32 Version: 1.4.11.0
CodeBase: file:///C:/Program%20Files/SphereII%20Software/7D2D%20Mod%20Launcher%20Installer/AutoUpdater.NET.DLL
----------------------------------------
SharpConfig
Assembly Version: 3.2.7.0
Win32 Version: 3.2.7.0
CodeBase: file:///C:/Program%20Files/SphereII%20Software/7D2D%20Mod%20Launcher%20Installer/SharpConfig.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:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
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.
Windows 10 x64 fully updated, re-downloaded and re-installed the Mod Launcher just to be sure. Clicking 'Continue' on the error window will allow the app to load properly, and it shows all available mods/modlets. A close/re-launch of the app however makes it re-prompt for the mod install location (it seems it forgets every time it is closed), and the error occurs again.
I have reverted the custom mod directory back to the default of C:\7D2D and the prompt for mod location (and error) still happen. Installed mods/modlets appear to work properly when launched, so this may be a launcher-related problem only.
Version in use: 2.0.80.18955
7D2D version installed (default Steam directory): 17.2
Any suggestions for troubleshooting or getting info for you to debug are welcome.