org.json.JSONException: No value for items

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 Mir
, 10 months ago
via Stack Overflow by Aurorer D. Wysteria
, 2 years ago
No value for {"UserID":"S7182827A","Gender":"F","Password":"","Name":"LIM WOAN CHIN","AddressLineOne":"12","AddressLineTwo":"COLLEGE ROAD","AddressLineThree":"","PostalCode":"169852","HomeTel":"07-4346084","Email":"","DateOfBirth":"","UserType":"ALUM","GradYear":"1996","SMSCode":"53348","SMSCodeLastUpdated":"10/16/2014 10:08:08 PM"}
org.json.JSONException: No value for items
at org.json.JSONObject.get(JSONObject.java:389)
at org.json.JSONObject.getJSONObject(JSONObject.java:609)
at com.example.android.booklisting.QueryUtils.extractFeatureFromJson(QueryUtils.java:172)
at com.example.android.booklisting.QueryUtils.fetchLibraryData(QueryUtils.java:57)
at com.example.android.booklisting.LibraryLoader.loadInBackground(LibraryLoader.java:50)
at com.example.android.booklisting.LibraryLoader.loadInBackground(LibraryLoader.java:16)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

102 times, 1 month ago
33 times, 8 months ago
21 times, 9 months ago
14 times, 1 year ago
28 times, 1 year ago
69 more bugmates

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