See if yu might've deleted a comma or something on accident
|
When i try to add anything to items.definitions, i get that error...
SOME CAN EXPLAIN WHAT HAPPEND?
Code:INFO: Loading definitions... com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 at com.google.gson.JsonParser.parse(JsonParser.java:65) at com.elvarg.util.JsonLoader.load(JsonLoader.java:48) at com.elvarg.Elvarg.lambda$2(Elvarg.java:84) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1386) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:531) at com.google.gson.stream.JsonReader.peek(JsonReader.java:414) at com.google.gson.JsonParser.parse(JsonParser.java:60) ... 5 more
See if yu might've deleted a comma or something on accident
Post a little piece of your code, the stuff your trying to add and the surroundings.
Post your file that you've attempted to modify, you may have just accidently deleted something or moved something without realizing
Something is causing an error in your json code. Post this piece of code at com.elvarg.util.JsonLoader.load(JsonLoader.java:48 ). This is where your stacktrace says there's an exception. Basically it's trying to load defintions which are json format and you probably have some incorrect format one of your json files. Your json file that your editted before you tried running has an error at this place (line 1 column 5). Post your json also please.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |