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

Samebug tips

  1. ,

    The json is invalid or you try to map to a different model.

Solutions on the web

via Stack Overflow by ABeReal
, 10 months ago
via GitHub by dvdbrk
, 8 months ago
End of input at character 0 of
via Stack Overflow by R.H
, 6 months ago
End of input at character 0 of
via Stack Overflow by Vegeta ZA
, 1 year ago
via Stack Overflow by Unknown author, 2 years ago
End of input at character 1 of
org.json.JSONException: End of input at character 0 of	at org.json.JSONTokener.syntaxError(JSONTokener.java:450)	at org.json.JSONTokener.nextValue(JSONTokener.java:97)	at org.json.JSONObject.(JSONObject.java:156)	at org.json.JSONObject.(JSONObject.java:173)	at lloyd.sp.com.studentportal.LoginActivity$HttpAsyncTask.onPostExecute(LoginActivity.java:160)	at lloyd.sp.com.studentportal.LoginActivity$HttpAsyncTask.onPostExecute(LoginActivity.java:130)	at android.os.AsyncTask.finish(AsyncTask.java:636)	at android.os.AsyncTask.access$500(AsyncTask.java:177)	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)	at android.os.Handler.dispatchMessage(Handler.java:111)	at android.os.Looper.loop(Looper.java:194)	at android.app.ActivityThread.main(ActivityThread.java:5637)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)