Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Requesting help with error. SOLVED  (Read 2505 times)

Amazigh

  • Captain
  • ****
  • Posts: 288
    • View Profile
Requesting help with error. SOLVED
« on: July 25, 2012, 02:49:50 PM »

I'm getting an error on startup when I have a mod I'm working on enabled.

"Fatal: Expected a ',' or '}' at 331 [character 332 line 1]
Check Starfarer.log for more info."

Annoyingly the log isn't all that clear in saying what file is causing the issue.

Code
5671 [Thread-6] INFO  com.fs.profiler.Profiler  - ID     Calls   Duration    Percent
5672 [Thread-6] INFO  com.fs.profiler.Profiler  - --------------------------------
5675 [Thread-6] ERROR com.fs.starfarer.combat.D  - org.json.JSONException: Expected a ',' or '}' at 331 [character 332 line 1]
org.json.JSONException: Expected a ',' or '}' at 331 [character 332 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java:423)
at org.json.JSONObject.<init>(JSONObject.java:227)
at org.json.JSONTokener.nextValue(JSONTokener.java:352)
at org.json.JSONObject.<init>(JSONObject.java:210)
at org.json.JSONObject.<init>(JSONObject.java:311)
at com.fs.starfarer.loading.LoadingUtils.Ø00000(Unknown Source)
at com.fs.starfarer.loading.LoadingUtils.Ö00000(Unknown Source)
at com.fs.starfarer.loading.WeaponSpecLoader.o00000(Unknown Source)
at com.fs.starfarer.loading.WeaponSpecLoader.o00000(Unknown Source)
at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
at com.fs.starfarer.loading.G.o00000(Unknown Source)
at com.fs.oOOO.A.Ò00000(Unknown Source)
at com.fs.starfarer.combat.D.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

Anyone got any ideas as to what the issue is?
« Last Edit: July 25, 2012, 03:39:11 PM by Amazigh »
Logged

CrashToDesktop

  • Admiral
  • *****
  • Posts: 3876
  • Quartermaster
    • View Profile
Re: Requesting help with error.
« Reply #1 on: July 25, 2012, 02:55:48 PM »

Check the last fire you edited.  Usually helps fix it.
Logged
Quote from: Trylobot
I am officially an epoch.
Quote from: Thaago
Note: please sacrifice your goats responsibly, look up the proper pronunciation of Alex's name. We wouldn't want some other project receiving mystic power.

Upgradecap

  • Admiral
  • *****
  • Posts: 5422
  • CEO of the TimCORP
    • View Profile
Re: Requesting help with error.
« Reply #2 on: July 25, 2012, 02:59:24 PM »

Check the last fire file you edited.  Usually helps fix it.

And also check for any missing commas/brackets which you may have forgotten to write. :)

And welcome to the forums ;)
Logged

Amazigh

  • Captain
  • ****
  • Posts: 288
    • View Profile
Re: Requesting help with error.
« Reply #3 on: July 25, 2012, 03:07:23 PM »

Tanks for the advice, but there's a slight problem with it, I can't remember what I edited last.
Logged

Amazigh

  • Captain
  • ****
  • Posts: 288
    • View Profile
Re: Requesting help with error.
« Reply #4 on: July 25, 2012, 03:38:54 PM »

Fixed the error, turns out I accidentally deleted a comma last night just before I went to sleep.
Logged