#vulnerable code 
                             @Test
	public void testGetFields2() throws JSONException, UnirestException {
		HttpResponse<JsonNode> response = Unirest.get("http://httpbin.org/get").queryString("email", "hello@hello.com").asJson();
		assertEquals("hello@hello.com", response.getBody().getObject().getJSONObject("args").getString("email"));
	} 
                            #location 4 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Test
	public void testGetFields2() throws JSONException, UnirestException {
		HttpResponse<JsonNode> response = Unirest.get(MockServer.GETJSON)
                .queryString("email", "hello@hello.com")
                .asJson();

        parse(response).assertQuery("email", "hello@hello.com");
	}