org.json.JSONException

A JSONObject text must begin with '{' at 1 [character 2 line 1]

Samebug tips1

The json is invalid or you try to map to a different model.


LartenLarten

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

Solutions on the web531

  • via GitHub by Letsplaybar
    ,
  • via GitHub by Letsplaybar
    ,
  • via GitHub by Letsplaybar
    ,
  • Stack trace

    • org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1] at org.json.JSONTokener.syntaxError(JSONTokener.java:433) at org.json.JSONObject.<init>(JSONObject.java:195) at org.json.JSONObject.<init>(JSONObject.java:319) at com.plugish.woominecraft.WooMinecraft.check(WooMinecraft.java:206) at com.plugish.woominecraft.Commands.WooCommand.onCommand(WooCommand.java:31) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) at java.lang.Thread.run(Thread.java:745)

    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

    DunmerDunmer
    88 times, last one
    eti22eti22
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    82 more bugmates