Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

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

  2. ,
    Expert tip

    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.

Solutions on the web

via minecraftuser.jp by Unknown author, 1 year ago
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 2
via hobbelcraft.nl by Unknown author, 1 year ago
java.lang.IndexOutOfBoundsException: readerIndex(1) + length(66) exceeds writerIndex(64): UnpooledHeapByteBuf(ridx: 1, widx: 64, cap: 64)
via GitHub by Misat11
, 1 year ago
java.lang.IndexOutOfBoundsException: readerIndex(1) + length(77) exceeds writerIndex(63): UnpooledHeapByteBuf(ridx: 1, widx: 63, cap: 63)
via Stack Overflow by kks
, 2 years ago
java.lang.IndexOutOfBoundsException: Index: 7, Size: 1
via GitHub by shaharco
, 1 year ago
java.util.concurrent.ExecutionException: org.redisson.client.RedisTimeoutException: Redis server response timeout (5000 ms) occured for command: (EVAL) with params: [local value = redis.call('hget', KEYS[1], ARGV[2]); if value == false then return
via Stack Overflow by Asif Billa
, 11 months ago
request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 2	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:560)	at com.google.gson.stream.JsonReader.peek(JsonReader.java:414)	at com.google.gson.internal.Streams.parse(Streams.java:42)	at com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:54)	at og.a(SourceFile:501)	at og.a(SourceFile:512)	at ey$a.a(SourceFile:205)	at arc.a(SourceFile:111)	at bll.a(SourceFile:631)	at gt.a(SourceFile:96)	at gt.a(SourceFile:18)	at fl$1.run(SourceFile:13)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at h.a(SourceFile:45)	at bcx.av(SourceFile:960)	at bcx.a(SourceFile:396)	at net.minecraft.client.main.Main.main(SourceFile:124)