org.json.JSONException: End of input at character 0 of

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

,

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

Solutions on the web

via GitHub by obilodeau
, 1 year ago
End of input at character 0 of
via GitHub by obilodeau
, 1 year ago
End of input at character 0 of
via Stack Overflow by ABeReal
, 9 months ago
via GitHub by dvdbrk
, 7 months ago
End of input at character 0 of
via Stack Overflow by R.H
, 4 months ago
End of input at character 0 of
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 org.tomdroid.sync.web.OAuthConnection.getAuthorizationUrl(OAuthConnection.java:136)
at org.tomdroid.sync.web.SnowySyncService$1.run(SnowySyncService.java:102)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

Once, 3 weeks ago
Once, 1 month ago
Once, 2 months ago
2 times, 3 months ago
66 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.