http://stackoverflow.com – i'm having a problem getting the json from pinterest it always error on the JSONArray part. code JSONArray bodyarray = null; JSONParser jParser = new JSONParser(); JSONObject json = jParser.getJSONFromUrl(url); Log.i("url",""+url); Log.i("json",""+json); try{ bodyarray = json.getJSONArray(TAG_body); <---- this is the error here "NullPointerException" Log.i("JSON", ""+bodyarray); (HowTos)