com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 2 path $

GitHub | Eufranio | 2 months ago
  1. 0

    Error sometimes when pinging the server

    GitHub | 2 months ago | Eufranio
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 2 path $
  2. 0

    Disconnected From Server | SpigotMC - High Performance Minecraft

    spigotmc.org | 1 year ago
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 6
  3. 0

    BungeeCord does not support chat component motd

    GitHub | 1 year ago | misterT2525
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 17 path $.description
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 39#224443675

    GitHub | 6 months ago | Brian-Graham
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 2 path $
  6. 0

    GSON Error

    GitHub | 4 months ago | JeffreyCA
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 2 path $

  1. Indri Yunita 4 times, last 1 week ago
  2. nasimk 1 times, last 1 week ago
  3. Alexandru Popa 96 times, last 1 week ago
  4. iridic 6 times, last 3 weeks ago
  5. bmacedo 36 times, last 1 week ago
14 more registered users
52 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.google.gson.JsonSyntaxException

    java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 2 path $

    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read()
  2. Gson
    Gson.fromJson
    1. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:200)
    2. com.google.gson.Gson.fromJson(Gson.java:810)
    3. com.google.gson.Gson.fromJson(Gson.java:775)
    4. com.google.gson.Gson.fromJson(Gson.java:724)
    5. com.google.gson.Gson.fromJson(Gson.java:696)
    5 frames
  3. net.md_5.bungee
    HandlerBoss.channelRead
    1. net.md_5.bungee.connection.PingHandler.handle(PingHandler.java:57)
    2. net.md_5.bungee.protocol.packet.StatusResponse.handle(StatusResponse.java:35)
    3. net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:77)
    3 frames
  4. Netty
    SingleThreadEventExecutor$2.run
    1. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    4. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    5. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    6. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    7. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    8. io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    9. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    10. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    11. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    12. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    13. io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
    14. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    15. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    16. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    17. io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    18. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    19. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    20. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    21. io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:883)
    22. io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:389)
    23. io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:305)
    24. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    24 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame