java.util.concurrent.ExecutionException

com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1

Samebug tips2

This means you had a syntax problem in your serialization/deserialization, check the Gson javadoc to check the right syntax: https://goo.gl/g7LnZb

This seems to be a bug in the-blue-alliance, fixed in version 4.2.3 (link for github in case you want the changelog: https://goo.gl/NQAKUf ). If you're not using it, it might be that you're parsing xml as json.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2787

  • via Mojang JIRA by Marcono1234, 1 year ago
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1
  • via Mojang JIRA by Marcono1234, 1 year ago
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1
  • com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 2
  • Stack trace

    • java.util.concurrent.ExecutionException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 at java.util.concurrent.FutureTask.report(FutureTask.java:122)[?:1.8.0_25] at java.util.concurrent.FutureTask.get(FutureTask.java:192)[?:1.8.0_25] at g.a(SourceFile:46)[15w46a.jar:?] at net.minecraft.server.MinecraftServer.D(SourceFile:596)[15w46a.jar:?] at net.minecraft.server.MinecraftServer.C(SourceFile:552)[15w46a.jar:?] at bxw.C(SourceFile:154)[15w46a.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:456)[15w46a.jar:?] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_25] Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 at com.google.gson.internal.Streams.parse(Streams.java:56)[gson-2.2.4.jar:?] at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:54)[gson-2.2.4.jar:?] at oc.a(SourceFile:501)[15w46a.jar:?] at oc.a(SourceFile:512)[15w46a.jar:?] at eu$a.a(SourceFile:205)[15w46a.jar:?] at ahc.b(SourceFile:69)[15w46a.jar:?] at apq.a(SourceFile:42)[15w46a.jar:?] at abv.a(SourceFile:89)[15w46a.jar:?] at abv.a(SourceFile:56)[15w46a.jar:?] at adk.a(SourceFile:134)[15w46a.jar:?] at ls.a(SourceFile:338)[15w46a.jar:?] at mb.a(SourceFile:609)[15w46a.jar:?] at jg.a(SourceFile:55)[15w46a.jar:?] at jg.a(SourceFile:11)[15w46a.jar:?] at fh$1.run(SourceFile:13)[15w46a.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_25] at g.a(SourceFile:45)[15w46a.jar:?] ... 5 more Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505)[gson-2.2.4.jar:?] at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1386)[gson-2.2.4.jar:?] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:572)[gson-2.2.4.jar:?] at com.google.gson.stream.JsonReader.peek(JsonReader.java:414)[gson-2.2.4.jar:?] at com.google.gson.internal.Streams.parse(Streams.java:42)[gson-2.2.4.jar:?] ... 22 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    9 times, 2 weeks ago
    Once, 1 month ago
    30 more bugmates