title: Volley request always get Error Listener
body: <pre><code>  JsonObjectRequest movieReq = new JsonObjectRequest(Request.Method.GET,url, null,
          new Response.Listener&lt;JSONObject&gt;() {
      @Override
      public void onResponse(JSONObject response) 
      {
          try {
              JSONArray images = response.getJSONArray("images");
              for(int i = 0; i&lt;images.length(); i++)
              {
                  try {
                      JSONObject obj =(JSONObject)images.get(i);
  
                      //JSONObject obj = images.getJSONObject(i);
                      Movie movie = new Movie();
                      movie.setTitle(obj.getString("itemid"));
                      movie.setThumbnailUrl(obj.getString("imagepath"));
                      movieList.add(movie);
                  } catch (Exception e) {
                      // TODO: handle exception
                  }
              }
          } 
          catch (JSONException e) {
  
  
          }
          adapter.notifyDataSetChanged();
      };
  
          } 
          , new Response.ErrorListener(
  
                  ) {
  
                      @Override
                      public void onErrorResponse(VolleyError error) {
                          // TODO Auto-generated method stub
                          Toast.makeText(getApplicationContext(), "Error in Json parse", Toast.LENGTH_LONG).show();
                          hidePDialog();
                      }
          });
  </code></pre>
  
  <p><strong>JSON part:</strong> </p>
  
  <pre><code>{ 
  "images": 
  { 
  "imageid":"1",
  "itemid":"item1",
  "imagepath":"http:\/\/127.0.0.1\/resturant\/image\/chinese1.jpg"
  },
  { 
  "imageid":"2",
  "itemid":"item2",
  "imagepath":"http:\/\/127.0.0.1\/resturant\/image\/chinese2.jpg"
  }
  ]
  }
  </code></pre>
  
  <p>Here I want to retrieve itemid and imagepath tag from images JSON array. But my JSON is not resopnding and it's showing the toast of error listener. Can anybody help, please? I take permission of Internet and I check the URL and it's working.</p>