Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. #2507

Closed
TheSpatulaCity opened this issue Aug 21, 2018 · 2 comments
Labels
Duplicate Duplicate of another issue

Comments

@TheSpatulaCity
Copy link

Background

CKAN Version:
v1.25.2

KSP Version:
1.4.5.2243

Operating System:
Windows 7 x64
.Net 4.5.1 RC

Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
Used previous CKAN and there is some stuff in there. I deleted it once this version of CKAN gave me the fits but CKAN still doesn't like me.

Problem

CKAN crashes upon startup.
I have tried executing it from the KSP main folder, my desktop, my downloads folder...
I took a screenshot of the error and did an OCR conversion to get the text, I checked it for accuracy as best as I could. I even deleted and re installed KSP, but it seems to bring back the exact same version and produce the same error. I have no problems running KSP.

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at CKAN.GUIUser.DisplayMessage(String message, Object[] args)
at CKAN.HSP.SetupGhanDirectories()
at CKAN.HSP..ctor(String gameDir, String name, IUser user)
at CKAN.HSPManager.LoadInstancesFromRegistry()
at CKAN.Main..ctor(String[ ] cmdlineArgs, HSPManager mgr, GUIUser user, Boolean showConsole)
at CKAN.CmdLine.MainClass.Gui(HSPManager manager, GuiOptions options, String[ ] args)
at CKAN.CmdLine.MainClass.Main(String[ ] args)

What steps did you take in CKAN?
Nothing, I could not load it.

What did you expect to happen?

What happened instead?

Screenshots:
captureksp

CKAN error codes (if applicable):

@uejji
Copy link

uejji commented Aug 21, 2018

Same issue. I personally resolved on my system by running the previous release and letting it auto update.

@HebaruSan
Copy link
Member

Duplicate of #2483, fixed in #2482.

@HebaruSan HebaruSan added the Duplicate Duplicate of another issue label Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants