com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $

Stack Overflow | Mohit Gaur | 5 months ago
  1. 0

    Online Dictionary api not working using retrofit

    Stack Overflow | 5 months ago | Mohit Gaur
    com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
  2. 0

    How to resolve gzip response

    GitHub | 8 months ago | xiaoxie
    com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
  3. 0

    wialon remote api login with java

    Stack Overflow | 1 year ago | Altynbek
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 6 path $ Error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Puppy Linux Discussion Forum :: View topic - TCP or Bluetooth Keyboard on android for VirtualBox on PC

    murga-linux.com | 5 months ago
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 25 path $
  6. 0

    Error synchronizing with Intellij IDEA

    GitHub | 7 months ago | kmruiz
    com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 6 path $

    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.stream.MalformedJsonException

      Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $

      at com.google.gson.stream.JsonReader.syntaxError()
    2. Gson
      CollectionTypeAdapterFactory$Adapter.read
      1. com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1567)
      2. com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1416)
      3. com.google.gson.stream.JsonReader.doPeek(JsonReader.java:597)
      4. com.google.gson.stream.JsonReader.peek(JsonReader.java:429)
      5. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:74)
      6. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
      6 frames
    3. retrofit2.converter.gson
      GsonResponseBodyConverter.convert
      1. retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:37)
      2. retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:25)
      2 frames
    4. retrofit2
      ExecutorCallAdapterFactory$ExecutorCallbackCall.execute
      1. retrofit2.ServiceMethod.toResponse(ServiceMethod.java:116)
      2. retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:211)
      3. retrofit2.OkHttpCall.execute(OkHttpCall.java:174)
      4. retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall.execute(ExecutorCallAdapterFactory.java:89)
      4 frames
    5. com.mohit.dictionaryapp
      GetMeaningTask.doInBackground
      1. com.mohit.dictionaryapp.DictionaryApi.searchMeaning(DictionaryApi.java:33)
      2. com.mohit.dictionaryapp.GetMeaningTask.doInBackground(GetMeaningTask.java:27)
      3. com.mohit.dictionaryapp.GetMeaningTask.doInBackground(GetMeaningTask.java:13)
      3 frames
    6. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:288)
      1 frame
    7. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame
    8. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
      1 frame