Can you file a bug in our issues tracker? We should try to throw a more
useful exception or throw the same error locally in the development server:

http://code.google.com/p/googleappengine/issues/list

On Mon, Apr 26, 2010 at 11:00 AM, hector <[email protected]> wrote:

> I figured out the problem.  Setting a null value in a request header
> will cause this exception.  Not sure if this should be the expected
> behavior, since its hard to tell where the null pointer is coming
> from.
>
> On Apr 23, 5:29 pm, hector <[email protected]> wrote:
> > I'm sometimes getting a NullPointerException when using the
> > URLFetchService to a web service running on another appspot.  In these
> > cases the request does not show up in the other appspot's logs.
> >
> > If I make this request from the command-line, it works fine and I can
> > see the request in the logs.
> >
> > I'm also using the URLFetchService to access other web services NOT
> > running on appspot, and those are working fine.
> >
> > This exception was happening yesterday, then magically went away.  Now
> > its showing up again.
> >
> > -------------------------------------------
> >
> > java.lang.NullPointerException
> >         at
> com.google.appengine.api.urlfetch.URLFetchServicePb$URLFetchRequest
> > $Header$Builder.setValue(URLFetchServicePb.java:756)
> >         at
> >
> com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertToPb(URLFetchServiceImpl.java:
> > 147)
> >         at
> >
> com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:
> > 30)
> >         at
> >
> org.systemsbiology.addama.coresvcs.gae.filters.CheckAccessFilter.doFilter(CheckAccessFilter.java:
> > 68)
> >
> > --
> > 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 athttp://
> 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]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Ikai Lan
Developer Relations, Google App Engine
Twitter: http://twitter.com/ikai
Delicious: http://delicious.com/ikailan

----------------
Google App Engine links:
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
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