chrislacy / TweetLanes

Tweet Lanes for Android
Other
766 stars 278 forks source link

Twitter4J Error #123

Closed BlythMeister closed 11 years ago

BlythMeister commented 11 years ago

Recent testing had a fair few of these.

in the twitter4j code looks like an IO exception, but our code isn't very graceful about it.

06-14 14:02:53.969 26458-26817/com.tweetlanes.android.beta E/api-call: null null Relevant discussions can be found on the Internet at: http://www.google.co.jp/search?q=e5488403 or http://www.google.co.jp/search?q=0a410628 TwitterException{exceptionCode=[e5488403-0a410628 6ece33f2-3ddfba9e], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=3.0.3} at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:192) at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61) at twitter4j.internal.http.HttpClientWrapper.get(HttpClientWrapper.java:81) at twitter4j.TwitterImpl.get(TwitterImpl.java:1835) at twitter4j.TwitterImpl.getHomeTimeline(TwitterImpl.java:127) at org.tweetalib.android.fetch.TwitterFetchStatuses$FetchStatusesTask.doInBackground(TwitterFetchStatuses.java:446) at org.tweetalib.android.fetch.TwitterFetchStatuses$FetchStatusesTask.doInBackground(TwitterFetchStatuses.java:278) at org.asynctasktex.AsyncTaskEx$2.call(AsyncTaskEx.java:334) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305) at java.util.concurrent.FutureTask.run(FutureTask.java:137) at org.asynctasktex.PriorityExecutor$1.run(PriorityExecutor.java:61) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) at java.lang.Thread.run(Thread.java:864) Caused by: java.io.EOFException at libcore.io.Streams.readAsciiLine(Streams.java:203) at libcore.net.http.HttpEngine.readResponseHeaders(HttpEngine.java:560) at libcore.net.http.HttpEngine.readResponse(HttpEngine.java:813) at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:274) at libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:486) at twitter4j.internal.http.HttpResponseImpl.(HttpResponseImpl.java:34) at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:156) ... 13 more

BlythMeister commented 11 years ago

have upgraded twitter4j this may fix the is issue.

closing for now.