I have tried to write a little code using libGDX to work with network. Here's a code:
public class Test {
public static void main(String[] args) {
    String accessToken = "********"; //a set of symbols, not important because it is specific of request target
    String userID = "*********"; //also not important
    String message = "Hello World";
    String uri = "method/wall.post?owner_id=" + userID + "&message=" + message + "&access_token=" + accessToken;
    HttpRequestBuilder requestBuilder = new HttpRequestBuilder();
    HttpRequest httpRequest = requestBuilder.newRequest().method(HttpMethods.GET).url("https://api.vk.com/").content(uri).build();
    Gdx.net.sendHttpRequest(httpRequest, //Here Eclipse shows NullPointerException
            null); //But not here
}
If I write this URL in browser, it works right. It means, that the problem on my side. How to fix it?
Summary of values of the object which causes NullPointerException:

 
     
    