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 Google Groups by mathieu courquin, 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
via GitHub by wf9a5m75
, 5 months ago
End of input at character 0 of
org.json.JSONException: End of input at character 0 of
at org.json.JSONTokener.syntaxError(JSONTokener.java:446)
at org.json.JSONTokener.nextValue(JSONTokener.java:93)
at org.json.JSONObject.(JSONObject.java:154)
at org.json.JSONObject.(JSONObject.java:171)
at com.adwhirl.AdWhirlManager.parseConfigurationString(AdWhirlManager.java:290)
at com.adwhirl.AdWhirlManager.fetchConfig(AdWhirlManager.java:257)
at com.adwhirl.AdWhirlLayout$InitRunnable.run(AdWhirlLayout.java:367)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:444)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:153)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
at java.lang.Thread.run(Thread.java:1019)

Users with the same issue

26 times, 3 days ago
Once, 3 weeks ago
Once, 1 month ago
Once, 2 months ago
2 times, 3 months ago

Write tip

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