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.

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

Solutions on the web1087

  • via GitHub by netman1221
    , 1 year ago
    A JSONObject text must begin with '{' at 1 [character 2 line 1]
  • A JSONObject text must begin with '{' at 1 [character 2 line 1]
  • via GitHub by doug-hahn
    , 11 months ago
    A JSONObject text must begin with '{' at 1 [character 2 line 1]
  • 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:142) 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:181) at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:765) at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1047) at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:884) at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65) at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:189) at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:795) at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:307) at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:643) at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:549) at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)

    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

    88 times, 3 months ago
    3 times, 6 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    82 more bugmates