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

GitHub | zyclonite | 4 months ago
  1. 0

    Getting an IllegalStateException were only IOExceptions are caught

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

    Expected begin_object but was string at line 1 column 1

    Stack Overflow | 1 year ago | Selva Simon p
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
  3. 0

    How to handle file upload with apache-camel restlet component?

    Stack Overflow | 1 year ago | Balaban Mario
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    All comments on [SOLUCION] No se abre el Minecraft (Por favor, corrija el error y reinicie.) 2014 - YouTube

    youtube.com | 1 year ago
    com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server
  6. 0

    IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path

    GitHub | 1 year ago | FHellmann
    java.lang.RuntimeException: retrofit.converter.ConversionException: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $

  1. Indri Yunita 4 times, last 1 week ago
  2. nasimk 1 times, last 1 week ago
  3. Alexandru Popa 96 times, last 2 weeks 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. java.lang.IllegalStateException

    Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $

    at com.google.gson.stream.JsonReader.beginObject()
  2. Gson
    Gson.fromJson
    1. com.google.gson.stream.JsonReader.beginObject(JsonReader.java:388)
    2. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:209)
    3. com.google.gson.Gson.fromJson(Gson.java:879)
    4. com.google.gson.Gson.fromJson(Gson.java:844)
    5. com.google.gson.Gson.fromJson(Gson.java:793)
    5 frames
  3. com.pengrad.telegrambot
    TelegramBotClient$1.onResponse
    1. com.pengrad.telegrambot.impl.TelegramBotClient$1.onResponse(TelegramBotClient.java:34)
    1 frame
  4. okhttp3
    RealCall$AsyncCall.execute
    1. okhttp3.RealCall$AsyncCall.execute(RealCall.java:133)
    1 frame
  5. okhttp3.internal
    NamedRunnable.run
    1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
    1 frame
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames