Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Zidane
, 1 year ago
retrofit.converter.ConversionException: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $	at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:387)	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:189)	at com.google.gson.Gson.fromJson(Gson.java:810)	at com.google.gson.Gson.fromJson(Gson.java:775)	at retrofit.converter.GsonConverter.fromBody(GsonConverter.java:63)	at retrofit.RetrofitError.getBodyAs(RetrofitError.java:137)	at com.xera.deviceinsight.structs.AppTimeUsageRecorder$2.failure(AppTimeUsageRecorder.java:163)	at retrofit.CallbackRunnable$2.run(CallbackRunnable.java:53)	at android.os.Handler.handleCallback(Handler.java:730)	at android.os.Handler.dispatchMessage(Handler.java:92)	at android.os.Looper.loop(Looper.java:176)	at android.app.ActivityThread.main(ActivityThread.java:5419)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:525)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)	at dalvik.system.NativeStart.main(Native Method)