Let's add some NPE protection around the response.getEntity().toString() in the unlikely event that we've introduced a new point of failure.