Navigation Menu

Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Can not invoke response.parseAs(Feed.class) twice. #274

Open
GoogleCodeExporter opened this issue Apr 6, 2015 · 0 comments
Open

Can not invoke response.parseAs(Feed.class) twice. #274

GoogleCodeExporter opened this issue Apr 6, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

I'm using gdata-2.1.0-alpha.jar on Android 2.1.

I have made a minimal test program to get the docs feed.

If it invokes response.parseAs(Feed.class), it will fail on even times (2, 
4, 6, 8 ..).

W/System.err(  535): com.google.api.client.http.HttpResponseException: -1
W/System.err(  535):    at 
com.google.api.client.http.HttpRequest.execute(HttpRequest.java:107)
W/System.err(  535):    at 
bug.test.BugTestActivity.getList(BugTestActivity.java:73)


If it just prints the response.getContent() instead of invoking parseAs(), 
then everything goes fine.

I'm suspecting that the XML parser may not work properly.

Original issue reported on code.google.com by lca...@gmail.com on 19 May 2010 at 2:40

Attachments:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant