LuciaRolon / SotNRandomizerLauncher

Launcher for Castlevania: Symphony of the Night Randomizer!
GNU General Public License v3.0
5 stars 1 forks source link

Cancelling Importing Bizhawk/Livesplit creates an Unhandled exception #4

Closed Gods666thChild closed 2 months ago

Gods666thChild commented 2 months ago

Upon going over the installation process for the tutorial video, I explored the alternative which allows the user to point the Launcher to existing installations of Bizhawk/Livesplit. However I chose to Cancel Import and was prompted with this "Unhandled exception. Value cannot be null. Parameter name: path1." It did not crash the launcher and appears to not effect any of the future steps of installation, so a minor thing but wanted to share nonetheless.

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.ArgumentNullException: Value cannot be null. Parameter name: path1 at System.IO.Path.Combine(String path1, String path2, String path3) at SotNRandomizerLauncher.LauncherClient.StoreCores(String currentAppDirectory, String targetDirectory) in C:\Users\ignir\source\repos\SotNRandomizerLauncher\SotNRandomizerLauncher\LauncherClient.cs:line 338 at SotNRandomizerLauncher.frmConfigure.StoreCores() in C:\Users\ignir\source\repos\SotNRandomizerLauncher\SotNRandomizerLauncher\frmConfigure.cs:line 178 at SotNRandomizerLauncher.frmConfigure.ImportProcess() in C:\Users\ignir\source\repos\SotNRandomizerLauncher\SotNRandomizerLauncher\frmConfigure.cs:line 187 at SotNRandomizerLauncher.frmConfigure.d14.MoveNext() in C:\Users\ignir\source\repos\SotNRandomizerLauncher\SotNRandomizerLauncher\frmConfigure.cs:line 146 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b6_0(Object state)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

SotNRandomizerLauncher Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/acbpr/AppData/Local/Programs/Symphony%20of%20the%20Night%20Randomizer%20Launcher/SotNRandomizerLauncher.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_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.8.9236.0 built by: NET481REL1LAST_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.8.9037.0 built by: NET481REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.9037.0 built by: NET481REL1 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.8.9241.0 built by: NET481REL1LAST_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.8.9037.0 built by: NET481REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.8.9037.0 built by: NET481REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

Newtonsoft.Json Assembly Version: 13.0.0.0 Win32 Version: 13.0.3.27908 CodeBase: file:///C:/Users/acbpr/AppData/Local/Programs/Symphony%20of%20the%20Night%20Randomizer%20Launcher/Newtonsoft.Json.DLL

Microsoft.CSharp Assembly Version: 4.0.0.0 Win32 Version: 4.8.9037.0 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.8.9037.0 built by: NET481REL1 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Dynamic Assembly Version: 4.0.0.0 Win32 Version: 4.8.9037.0 CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.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:

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.

LuciaRolon commented 2 months ago

Thank you for the report! This bug has been detected and will be solved in the next release.