It looks like the header "WWW-Authenticate" is not available. Is this
a bug and if so is it being looked at?
/**
* Constructs a new AuthenticationException instance based upon
* the contents of a WWW-Authenticate header as described by
* RFC2617.
*/
......
public AuthenticationException(HttpURLConnection httpConn)
throws IOException {
super(httpConn);
initFromAuthHeader(httpConn.getHeaderField("WWW-Authenticate"));
}
On Aug 17, 4:37 pm, n0_fixed_ab0de <[email protected]> wrote:
> After revoking access permission from a domain subsequent OAuth
> requests to access the service from this domain results in the
> following:
>
> java.lang.NullPointerException: No authentication header information
> at
> com.google.gdata.util.AuthenticationException.initFromAuthHeader
> (AuthenticationException.java:96)
> at com.google.gdata.util.AuthenticationException.<init>
> (AuthenticationException.java:67)
> at
> com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse
> (HttpGDataRequest.java:563)
> at
> com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse
> (GoogleGDataRequest.java:543)
> at com.google.gdata.client.http.HttpGDataRequest.checkResponse
> (HttpGDataRequest.java:535)
> at com.google.gdata.client.http.HttpGDataRequest.execute
> (HttpGDataRequest.java:514)
> at com.google.gdata.client.http.GoogleGDataRequest.execute
> (GoogleGDataRequest.java:515)
> at com.google.gdata.client.Service.getFeed(Service.java:1034)
> at com.google.gdata.client.Service.getFeed(Service.java:976)
> at com.google.gdata.client.GoogleService.getFeed
> (GoogleService.java:662)
> at com.google.gdata.client.Service.query(Service.java:1136)
> at com.google.gdata.client.Service.query(Service.java:1077)
>
> I was hoping to see something a bit more explicit telling the
> authentication request had failed.
>
> Is this normal and what should be expected?
> And if so can I reliably interpret this as meaning permission has been
> revoked?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data Protocol" 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---