Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: JSONObject["type"] not found.  (Read 5311 times)

TheHappyFace

  • Admiral
  • *****
  • Posts: 1168
  • The critic
    • View Profile
JSONObject["type"] not found.
« on: September 03, 2012, 01:28:02 AM »

its probaply a beginners mistake :/
Code
7459 [Thread-6] INFO  com.fs.profiler.Profiler  - ID     Calls   Duration    Percent
7460 [Thread-6] INFO  com.fs.profiler.Profiler  - --------------------------------
7462 [Thread-6] ERROR com.fs.starfarer.combat.D  - org.json.JSONException: JSONObject["type"] not found.
org.json.JSONException: JSONObject["type"] not found.
at org.json.JSONObject.get(JSONObject.java:406)
at org.json.JSONObject.getString(JSONObject.java:577)
at com.fs.starfarer.loading.SpecStore.Ò00000(Unknown Source)
at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
at com.fs.starfarer.loading.oOoO.o00000(Unknown Source)
at com.fs.A.oOOO.new(Unknown Source)
at com.fs.starfarer.combat.D.super(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

it started after adding the descriptions..
« Last Edit: September 03, 2012, 10:52:44 AM by TheHappyFace »
Logged
Fractalsoftworks limited edition ban hammer.

TheHappyFace

  • Admiral
  • *****
  • Posts: 1168
  • The critic
    • View Profile
Re: JSONObject["type"] not found.*solved*
« Reply #1 on: November 05, 2012, 10:17:22 AM »

I found what might have caused this problem.
it happens whenever i safe the descriptions with excel.
using notepad solves this problem.

this thread is pretty old but i thought it would be good if i brought it back up so that people wo run into the same error find the solution faster than i did.
Logged
Fractalsoftworks limited edition ban hammer.