Hi,
we are facing the same issue.
Our applications that worked fine for years are getting this exception 
since a few days. We are using the http:// scope which worked fine but 
gives the NullPointerException since a few days.
Please revert this change!

On Tuesday, April 24, 2012 5:12:46 PM UTC+2, Alexey Panteleev wrote:
>
>  Figured out something new today. Even though we request an accessToken 
> for the http://... scope we get a token for https://... scope.
> So we can access this user’s https://feeds . But why is this the case? 
> For other users we request http://... scope and we get a token for it 
> just fine.
>
>
> On 4/24/12 1:13 AM, "Alexey Panteleev" <[email protected]> wrote:
>
>  Hello, I know this topic has been discussed a few times in the forum but 
> I am not finding my answer still.
>
>  We sync contacts for a few dozens of google users and only for one we've 
> started getting the following Exception recently, which I believe means an 
> invalid token.
> I don't understand why it does not work for only this one user whereas our 
> set up is quite identical for all our users.
>
>  We use gdata-contacts-3.0 and I even tried 1.47.0 bundle of libs today, 
> same thing.
>
>  We still use OAuth1 access tokens with http://www.google.com/m8/feeds/scope. 
> The user re-generated those a few times now.
> The exception happens when trying to access 
> http://www.google.com/m8/feeds/groups/default/full
>
>  I know v3 suggests to use https://... scope but for all our other users 
> http://... based access still works just find. Just one is failing.
> Can you please help identify the cause? Could there be some setting in the 
> user profile causing this? Thank you
>
> java.lang.NullPointerException: No authentication header information
>         at 
> com.google.gdata.util.AuthenticationException.initFromAuthHeader(AuthenticationException.java:96)
>  
> ~[gdata-core-1.0-1.41.5.jar:na]
>         at 
> com.google.gdata.util.AuthenticationException.<init>(AuthenticationException.java:67)
>  
> ~[gdata-core-1.0-1.41.5.jar:na]
>         at 
> com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:600)
>  
> ~[gdata-core-1.0-1.41.5.jar:na]
>         at 
> com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563)
>  
> ~[gdata-core-1.0-1.41.5.jar:na]
>         at 
> com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552)
>  
> ~[gdata-core-1.0-1.41.5.jar:na]
>         at 
> com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530)
>  
> ~[gdata-core-1.0-1.41.5.jar:na]
>         at 
> com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535)
>  
> ~[gdata-core-1.0-1.41.5.jar:na]
>         at com.google.gdata.client.Service.getFeed(Service.java:1135) 
> ~[gdata-core-1.0-1.41.5.jar:1.41.5]
>         at com.google.gdata.client.Service.getFeed(Service.java:1077) 
> ~[gdata-core-1.0-1.41.5.jar:1.41.5]
>         at 
> com.google.gdata.client.GoogleService.getFeed(GoogleService.java:662) 
> ~[gdata-core-1.0-1.41.5.jar:1.41.5]
>         at com.google.gdata.client.Service.query(Service.java:1237) 
> ~[gdata-core-1.0-1.41.5.jar:1.41.5]
>         at com.google.gdata.client.Service.query(Service.java:1178) 
> ~[gdata-core-1.0-1.41.5.jar:1.41.5]
>
> 

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html

Reply via email to