You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CKAN.exe fails to start. Running CKAN.exe results in immediate CMD Prompt with error (See "CMD Error") and an Error! window (see "Error! Window") pasted below. Closing the command prompt or pressing dismiss on the error window results in a crash to desktop with "CKAN-CmdLine has stopped working". KSP runs without issue if I run KSP_x64.exe directly.
Error! Window:
Unhandled exception:
System.TypeInitializationException: The type initializer for 'CKAN.Versioning.GameVersion' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at CKAN.GameVersionProviders.KspBuildMap.get_KnownVersions()
at CKAN.Versioning.GameVersion..cctor()
--- End of inner exception stack trace ---
at CKAN.Versioning.GameVersion.op_Equality(GameVersion v1, GameVersion v2)
at CKAN.GameInstance.Version()
at CKAN.GameInstance.get_Valid()
at CKAN.GameInstance..ctor(IGame game, String gameDir, String name, IUser user, Boolean scan)
at CKAN.GameInstanceManager.FindAndRegisterDefaultInstance()
at CKAN.GameInstanceManager._GetPreferredInstance()
at CKAN.GameInstanceManager.GetPreferredInstance()
at CKAN.GUI.Main..ctor(String[] cmdlineArgs, GameInstanceManager mgr, Boolean showConsole)
at CKAN.GUI.GUI.Main_(String[] args, GameInstanceManager manager, Boolean showConsole)
at CKAN.CmdLine.MainClass.Gui(GameInstanceManager manager, GuiOptions options, String[] args)
at CKAN.CmdLine.MainClass.RunSimpleAction(Options cmdline, CommonOptions options, String[] args, IUser user, GameInstanceManager manager)
at CKAN.CmdLine.MainClass.Execute(GameInstanceManager manager, CommonOptions opts, String[] args)
at CKAN.CmdLine.MainClass.Main(String[] args)
CMD Prompt:
213 [1] ERROR CKAN.GameInstanceManager (null) - Failed to load game instance with name="auto" path="c:/program files (x86)/steam/SteamApps/common/Kerbal Space Program" game="KSP"
System.TypeInitializationException: The type initializer for 'CKAN.Versioning.GameVersion' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at CKAN.GameVersionProviders.KspBuildMap.get_KnownVersions()
at CKAN.Versioning.GameVersion..cctor()
--- End of inner exception stack trace ---
at CKAN.Versioning.GameVersion.op_Equality(GameVersion v1, GameVersion v2)
at CKAN.GameInstance.Version()
at CKAN.GameInstance.get_Valid()
at CKAN.GameInstance..ctor(IGame game, String gameDir, String name, IUser user, Boolean scan)
at CKAN.GameInstanceManager.LoadInstances()
229 [1] ERROR CKAN.GameInstanceManager (null) - Failed to load game instance with name="Test" path="C:/Users/Ariel/OneDrive/Documents/Kerbal Space Program 2" game="KSP"
System.TypeInitializationException: The type initializer for 'CKAN.Versioning.GameVersion' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at CKAN.GameVersionProviders.KspBuildMap.get_KnownVersions()
at CKAN.Versioning.GameVersion..cctor()
--- End of inner exception stack trace ---
at CKAN.Versioning.GameVersion.op_Equality(GameVersion v1, GameVersion v2)
at CKAN.GameInstance.Version()
at CKAN.GameInstance.get_Valid()
at CKAN.GameInstance..ctor(IGame game, String gameDir, String name, IUser user, Boolean scan)
at CKAN.GameInstanceManager.LoadInstances()
514 [1] ERROR CKAN.GUI.ErrorDialog (null) - Unhandled exception:
System.TypeInitializationException: The type initializer for 'CKAN.Versioning.GameVersion' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at CKAN.GameVersionProviders.KspBuildMap.get_KnownVersions()
at CKAN.Versioning.GameVersion..cctor()
--- End of inner exception stack trace ---
at CKAN.Versioning.GameVersion.op_Equality(GameVersion v1, GameVersion v2)
at CKAN.GameInstance.Version()
at CKAN.GameInstance.get_Valid()
at CKAN.GameInstance..ctor(IGame game, String gameDir, String name, IUser user, Boolean scan)
at CKAN.GameInstanceManager.FindAndRegisterDefaultInstance()
at CKAN.GameInstanceManager._GetPreferredInstance()
at CKAN.GameInstanceManager.GetPreferredInstance()
at CKAN.GUI.Main..ctor(String[] cmdlineArgs, GameInstanceManager mgr, Boolean showConsole)
at CKAN.GUI.GUI.Main_(String[] args, GameInstanceManager manager, Boolean showConsole)
at CKAN.CmdLine.MainClass.Gui(GameInstanceManager manager, GuiOptions options, String[] args)
at CKAN.CmdLine.MainClass.RunSimpleAction(Options cmdline, CommonOptions options, String[] args, IUser user, GameInstanceManager manager)
at CKAN.CmdLine.MainClass.Execute(GameInstanceManager manager, CommonOptions opts, String[] args)
at CKAN.CmdLine.MainClass.Main(String[] args)
Unhandled Exception: System.TypeInitializationException: The type initializer for 'CKAN.Versioning.GameVersion' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at CKAN.GameVersionProviders.KspBuildMap.get_KnownVersions()
at CKAN.Versioning.GameVersion..cctor()
--- End of inner exception stack trace ---
at CKAN.Versioning.GameVersion.op_Equality(GameVersion v1, GameVersion v2)
at CKAN.GameInstance.Version()
at CKAN.GameInstance.get_Valid()
at CKAN.GameInstance..ctor(IGame game, String gameDir, String name, IUser user, Boolean scan)
at CKAN.GameInstanceManager.FindAndRegisterDefaultInstance()
at CKAN.GameInstanceManager._GetPreferredInstance()
at CKAN.GameInstanceManager.GetPreferredInstance()
at CKAN.GUI.Main..ctor(String[] cmdlineArgs, GameInstanceManager mgr, Boolean showConsole)
at CKAN.GUI.GUI.Main_(String[] args, GameInstanceManager manager, Boolean showConsole)
at CKAN.CmdLine.MainClass.Gui(GameInstanceManager manager, GuiOptions options, String[] args)
at CKAN.CmdLine.MainClass.RunSimpleAction(Options cmdline, CommonOptions options, String[] args, IUser user, GameInstanceManager manager)
at CKAN.CmdLine.MainClass.Execute(GameInstanceManager manager, CommonOptions opts, String[] args)
at CKAN.CmdLine.MainClass.Main(String[] args)
Steps to reproduce
Run CKAN.EXE
No other steps
Relevant log output
Unhandled exception:
System.TypeInitializationException: The type initializer for'CKAN.Versioning.GameVersion' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at CKAN.GameVersionProviders.KspBuildMap.get_KnownVersions()
at CKAN.Versioning.GameVersion..cctor()
--- End of inner exception stack trace ---
at CKAN.Versioning.GameVersion.op_Equality(GameVersion v1, GameVersion v2)
at CKAN.GameInstance.Version()
at CKAN.GameInstance.get_Valid()
at CKAN.GameInstance..ctor(IGame game, String gameDir, String name, IUser user, Boolean scan)
at CKAN.GameInstanceManager.FindAndRegisterDefaultInstance()
at CKAN.GameInstanceManager._GetPreferredInstance()
at CKAN.GameInstanceManager.GetPreferredInstance()
at CKAN.GUI.Main..ctor(String[] cmdlineArgs, GameInstanceManager mgr, Boolean showConsole)
at CKAN.GUI.GUI.Main_(String[] args, GameInstanceManager manager, Boolean showConsole)
at CKAN.CmdLine.MainClass.Gui(GameInstanceManager manager, GuiOptions options, String[] args)
at CKAN.CmdLine.MainClass.RunSimpleAction(Options cmdline, CommonOptions options, String[] args, IUser user, GameInstanceManager manager)
at CKAN.CmdLine.MainClass.Execute(GameInstanceManager manager, CommonOptions opts, String[] args)
at CKAN.CmdLine.MainClass.Main(String[] args)
The text was updated successfully, but these errors were encountered:
Well, you'd also have to search pull requests in addition to issues, since this was reported on Discord instead of GitHub. It's not super easy to find.
Is there an existing issue for this?
Operating System
Windows 10
CKAN Version
1.31.2
KSP Version
1.12.5.3190
Did you make manual changes?
No
Describe the bug
CKAN.exe fails to start. Running CKAN.exe results in immediate CMD Prompt with error (See "CMD Error") and an Error! window (see "Error! Window") pasted below. Closing the command prompt or pressing dismiss on the error window results in a crash to desktop with "CKAN-CmdLine has stopped working". KSP runs without issue if I run KSP_x64.exe directly.
Error! Window:
CMD Prompt:
Steps to reproduce
Run CKAN.EXE
No other steps
Relevant log output
The text was updated successfully, but these errors were encountered: