retrofit.RetrofitError

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

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web99

  • via GitHub by sockeqwe
    ,
  • Stack trace

    • retrofit.RetrofitError: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 651 path $ at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:383) at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240) at java.lang.reflect.Proxy.invoke(Proxy.java:393) at de.tum.in.tumcampusapp.models.$Proxy0.getFaculties(Unknown Source) at de.tum.in.tumcampusapp.models.TUMCabeClient.getFaculties(TUMCabeClient.java:220) at de.tum.in.tumcampusapp.models.managers.SurveyManager.downloadFacultiesFromExternal(SurveyManager.java:202) at de.tum.in.tumcampusapp.activities.wizard.WizNavStartActivity$1.doInBackground(WizNavStartActivity.java:75) at de.tum.in.tumcampusapp.activities.wizard.WizNavStartActivity$1.doInBackground(WizNavStartActivity.java:69) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

    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

    ReichReich
    11 times, last one
    bmacedobmacedo
    Once,
    dmitrydmitry
    2 times, last one
    mrPetmrPet
    Once,
    MyInnosMyInnos
    6 times, last one
    25 more bugmates