This looks like it might be
http://code.google.com/p/googleappengine/issues/detail?id=2412

On Wed, Dec 9, 2009 at 4:03 AM, Satheesh Babu Vattekkat <[email protected]>wrote:

> Hi,
>
> I've a code like this to a remote web service (under https) that
> expects a form data post. Output is XML.
>
>  URLFetchService f = URLFetchServiceFactory.getURLFetchService();
>  HTTPRequest req = new HTTPRequest(url, HTTPMethod.POST);
>  req.setPayload(data.toString().getBytes());
>  HTTPResponse resp = f.fetch(req);
>
> It fails with an NPE on f.fetch() above.
>   java.lang.NullPointerException
>        at    com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch
> (URLFetchServiceImpl.java:31  )
>
> Any thoughts on what could be wrong here?
>
> I access this service regularly through python and it works.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to