Skip to content Skip to sidebar Skip to footer

Android Restlet Ssl Null Pointer

I've been trying how to solve my problem for days but I didn't succeded. I'm just tyring to perform RESTlet HTTPS request. The code is quiet simple as I've only one acrivity: @Ov

Solution 1:

It seems that you are using the internal Restlet connector despite your call to:

Engine.getInstance().getRegisteredClients().clear();
Engine.getInstance().getRegisteredClients().add(new HttpsClientHelper(null));

You should ensure try this instead:

Engine.getInstance().getRegisteredClients().clear();
Engine.getInstance().getRegisteredClients().add(new org.restlet.ext.net.HttpClientHelper(null));

Post a Comment for "Android Restlet Ssl Null Pointer"