Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Crash to desktop on starting.  (Read 2318 times)

rada660

  • Captain
  • ****
  • Posts: 277
    • View Profile
Crash to desktop on starting.
« on: November 09, 2013, 07:00:02 AM »

So I was playing the game fully fine yesterday, then went to sleep, wake up today, boot up my computer and tried to start the game and i get this error today.

Spoiler
11789 [Thread-6] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading CSV data from [ABSOLUTE_AND_CWD: null]
11870 [Thread-6] ERROR com.fs.starfarer.combat.String  - org.json.JSONException: JSONObject["id"] not found.
org.json.JSONException: JSONObject["id"] not found.
   at org.json.JSONObject.get(JSONObject.java:406)
   at org.json.JSONObject.getString(JSONObject.java:577)
   at com.fs.starfarer.loading.LoadingUtils.super(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.super(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.õ00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.null.super(Unknown Source)
   at com.fs.super.oOOO.Ò00000(Unknown Source)
   at com.fs.starfarer.combat.String.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
[close]

And I don't know why.

I did nothing wrong that would cause such error.

As I said it was running fine yesterday! D:

*edits* And it's not a mod causing this! I even tried without any mods and it still crash the same way!
« Last Edit: November 09, 2013, 07:05:21 AM by rada660 »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24114
    • View Profile
Re: Crash to desktop on starting.
« Reply #1 on: November 09, 2013, 08:27:32 AM »

Hmm. This error means there's a likely formatting issue with one of the various data files the game has (a csv file, most likely). That means it changed. Is it possible that you were playing with mods before, and now are playing without one and it's showing up? I could see a scenario where maybe you edited a core file by hand (introducing an error), then used a mod that overrode it, and now are seeing it pop up, after the mod is disabled. Or something like that.

In any case, regardless of how the data file was corrupted, a reinstall should fix it.
Logged

rada660

  • Captain
  • ****
  • Posts: 277
    • View Profile
Re: Crash to desktop on starting.
« Reply #2 on: November 09, 2013, 08:30:34 AM »

and it is what I did. and that did the trick yea...


Just don't know what did that. <_<

As I didn't mess up with any core file. Only thing would be changing some numbers in the settings like instead of 20 base logistic I put 50 and etc.

Anyway! there was just the small annoying side of redoing all my preference, mostly to be able to run the exerelin mod, that need more meory to be able to run and the java 64 bit
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24114
    • View Profile
Re: Crash to desktop on starting.
« Reply #3 on: November 09, 2013, 08:33:16 AM »

Odd, wish I knew how it got messed up. Fairly positive (just about 100%) that the game couldn't do that by itself, as it doesn't even open those files for write. Hmm.

Glad you're back up and running!
Logged

Cosmitz

  • Admiral
  • *****
  • Posts: 758
    • View Profile
Re: Crash to desktop on starting.
« Reply #4 on: November 09, 2013, 03:10:58 PM »

Be /extremely/ careful how you save the file. Excel or Openoffice Spreadsheet can save the same file in a different encoding format, CSV but with period delimited instead of comma delimited and other such issues. That's how you probably corrupted it. Most of the times just 'saving' and not 'saving as' should save with the correct original formatting.
Logged

rada660

  • Captain
  • ****
  • Posts: 277
    • View Profile
Re: Crash to desktop on starting.
« Reply #5 on: November 09, 2013, 04:05:47 PM »

Be /extremely/ careful how you save the file. Excel or Openoffice Spreadsheet can save the same file in a different encoding format, CSV but with period delimited instead of comma delimited and other such issues. That's how you probably corrupted it. Most of the times just 'saving' and not 'saving as' should save with the correct original formatting.

Hmm for the core coding file I use notepad++ which format correctly the file for codding, and does'nt alter the extension in anyway.

I do take care of not messing up the format in the coding as well.
Logged

Cosmitz

  • Admiral
  • *****
  • Posts: 758
    • View Profile
Re: Crash to desktop on starting.
« Reply #6 on: November 09, 2013, 04:24:55 PM »

Don't have that much experience with Notepad++ so can't say, but any uncorrespondence in a CSV to the structure will give that error. Technically it's made to be opened with a spreadsheet application since it is a table.
Logged

rada660

  • Captain
  • ****
  • Posts: 277
    • View Profile
Re: Crash to desktop on starting.
« Reply #7 on: November 09, 2013, 04:27:27 PM »

Don't have that much experience with Notepad++ so can't say, but any uncorrespondence in a CSV to the structure will give that error. Technically it's made to be opened with a spreadsheet application since it is a table.

Hmm... Tho I do not recall opening any file that required to open with a spreadsheet, as I do use openoffice for that. Only file I messed with was with notepad++

But what really confuses me is that It was working fine the night before. After the small changes I might have done. Then I had to go, save up my game close the game,  close my computer and when I come back, the the start up was giving me this error, there was no tweak in between the "closing the game" and "booting the game up"
Logged