解析JSON数据,setImageBitmap出错

for(int i=0;i JSONObject JOB=ja.getJSONObject(i);
Map map=new HashMap();
map.put("textView",JOB.getString("shen"));
url=JOB.getString("she");
HttpURLConnection hc=(HttpURLConnection) new URL(url).openConnection();
is=new BufferedInputStream(hc.getInputStream());
Bitmap bm=BitmapFactory.decodeStream(is);
hc.disconnect();
im.setImageBitmap(bm);//程序执行到这里就出错了
map.put("imageView1",R.drawable.ac);

list.add(map);
}
} catch (JSONException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
}finally{
if(is!=null){
try {
is.close();
} catch (Exception e) {
e.printStackTrace();
}
}
}
![图片说明