-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
Zero-byte registry file causes null reference exception on load #2433
Comments
BTW, if I'm a moron and did not see a previous issue relating to this, I'm sorry. |
You mention two steps that you took, but it's not clear when the problem happened. Did the error occur during launching, or sometime later? |
The problem occurres a few seconds after running CKAN. Also, I don't have my computer in front of me right now. |
I'm in front of my computer and can work on the issue. |
So you launch CKAN, and you wait a few seconds without doing anything else, and it crashes? If you are clicking something, please specify exactly what. |
I am not clicking anything. I just launch it, then this crash occurs. |
Thanks, that helps. The stack trace implies that Can you please check whether a file called |
I'm not exactly sure which of my two KSP installs it's looking at, but i'll check both. |
Thanks for those screenshots; the file should never be 0 KB, so that gives us another clue as to what's going on. If you delete the registry.json file, does it reappear as 0 KB? |
One sec |
Well, crap. It worked when I deleted the registry files. Case closed. |
Well, we still shouldn't be generating a 0 KB registry file to begin with, and we should be handling its existence more gracefully. I'm going to re-open this so we can deal with those issues... |
Background
CKAN Version:
1.25.1
KSP Version:
1.3.1/1.4.2
Operating System:
Windows 10 64x
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No
Problem
What steps did you take in CKAN?
Launch CKAN
What did you expect to happen?
CKAN to launch and the directory select window to pop up
What happened instead?
I got an error
Screenshots:
CKAN error codes (if applicable):
(Possibly)
7713 [1]
The text was updated successfully, but these errors were encountered: