Thread: Help definitions - Elvarg Base

Results 1 to 6 of 6
  1. #1 Help definitions - Elvarg Base 
    Banned

    Join Date
    Jun 2015
    Posts
    1,517
    Thanks given
    31
    Thanks received
    143
    Rep Power
    0
    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
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2011
    Posts
    248
    Thanks given
    16
    Thanks received
    3
    Rep Power
    16
    See if yu might've deleted a comma or something on accident
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jun 2015
    Posts
    1,517
    Thanks given
    31
    Thanks received
    143
    Rep Power
    0
    Quote Originally Posted by Bosnia View Post
    See if yu might've deleted a comma or something on accident
    I haven't delete anything

    bump
    Reply With Quote  
     

  4. #4  
    "We don’t worry about warnings; we only worry about errors."
    Rozo's Avatar
    Join Date
    Dec 2013
    Posts
    573
    Thanks given
    53
    Thanks received
    70
    Rep Power
    49
    Post a little piece of your code, the stuff your trying to add and the surroundings.
    A man is smoking a cigarette and blowing smoke rings into the air. His girlfriend becomes irritated with the smoke and says, “Can’t you see the warning on the cigarette pack? Smoking is hazardous to your health!”

    To which the man replies, “I am a programmer. We don’t worry about warnings; we only worry about errors.” -Mod Ash

    Attached image
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jun 2013
    Posts
    499
    Thanks given
    119
    Thanks received
    70
    Rep Power
    0
    Post your file that you've attempted to modify, you may have just accidently deleted something or moved something without realizing
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Dec 2016
    Posts
    87
    Thanks given
    1
    Thanks received
    4
    Rep Power
    59
    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.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Need help finding a base
    By poild in forum Help
    Replies: 4
    Last Post: 04-13-2010, 09:33 AM
  2. Need Help Please Z508 Base
    By Lee80808 in forum Help
    Replies: 5
    Last Post: 04-08-2010, 11:41 PM
  3. I need help finding what base i am
    By x3ndless in forum Help
    Replies: 5
    Last Post: 02-25-2010, 10:08 AM
  4. Need Help on Z508 base
    By danny94 in forum Help
    Replies: 8
    Last Post: 09-15-2009, 05:58 PM
  5. Replies: 0
    Last Post: 10-12-2008, 08:15 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •