#vulnerable code 
                             @Test
	public void testDelete() throws JSONException, UnirestException { 
		HttpResponse<JsonNode> response = Unirest.delete("http://httpbin.org/delete").asJson();
		assertEquals(200, response.getCode());
		
		response = Unirest.delete("http://httpbin.org/delete").field("name", "mark").asJson();
		assertEquals("name=mark", response.getBody().getObject().getString("data"));
	} 
                            #location 7 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Test
	public void testDelete() throws JSONException, UnirestException { 
		HttpResponse<JsonNode> response = Unirest.delete("http://httpbin.org/delete").asJson();
		assertEquals(200, response.getCode());
	
		//TODO: Uncomment when https://github.com/Mashape/unirest-java/issues/36 has been fixed
//		response = Unirest.delete("http://httpbin.org/delete").field("name", "mark").asJson();
//		assertEquals("name=mark", response.getBody().getObject().getString("data"));
	}