gtostock / foursquared

Automatically exported from code.google.com/p/foursquared
Apache License 2.0
0 stars 0 forks source link

Widget ANRs due to network ops on main thread. #182

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
pid 2166 at 2010-03-28 16:36:17, com.joelapenna.foursquared
DALVIK THREADS:
"main" prio=5 tid=1 NATIVE (pid=2166 com.joelapenna.foursquared)
  | group="main" sCount=1 dsCount=0 s=N obj=0x4001d8d0 self=0xccc8
  | sysTid=2166 nice=0 sched=0/0 cgrp=default handle=-1343969240
  at java.net.InetAddress.getaddrinfo(Native Method)
  at java.net.InetAddress.lookupHostByName(InetAddress.java:508)
  at java.net.InetAddress.getAllByNameImpl(InetAddress.java:278)
  at java.net.InetAddress.getAllByName(InetAddress.java:242)
  at 
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(De
faultClientConnectionOperator.java:136)
  at 
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164
)
  at 
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConn
Adapter.java:119)
  at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDi
rector.java:434)
  at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.j
ava:555)
  at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.j
ava:487)
  at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.j
ava:465)
  at 
com.joelapenna.foursquare.http.AbstractHttpApi.executeHttpRequest(AbstractH
ttpApi.java:152)
  at 
com.joelapenna.foursquare.http.AbstractHttpApi.executeHttpRequest(AbstractH
ttpApi.java:73)
  at 
com.joelapenna.foursquare.http.HttpApiWithBasicAuth.doHttpRequest(HttpApiWi
thBasicAuth.java:68)
  at 
com.joelapenna.foursquare.FoursquareHttpApiV1.checkins(FoursquareHttpApiV1.
java:217)
  at com.joelapenna.foursquare.Foursquare.checkins(Foursquare.java:125)
  at 
com.joelapenna.foursquared.app.FoursquaredService.updateWidgets(Foursquared
Service.java:54)
  at 
com.joelapenna.foursquared.app.FoursquaredService.onStart(FoursquaredServic
e.java:42)
  at android.app.Service.onStartCommand(Service.java:374)
  at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3030)
  at android.app.ActivityThread.access$3600(ActivityThread.java:125)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:123)
  at android.app.ActivityThread.main(ActivityThread.java:4579)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:521)
  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
868)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
  at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by jlapenna on 29 Mar 2010 at 6:18

GoogleCodeExporter commented 9 years ago
Issue 183 has been merged into this issue.

Original comment by jlapenna on 22 May 2010 at 11:00

GoogleCodeExporter commented 9 years ago
Please review http://code.google.com/r/jlapenna-foursquare/source/detail?
r=aa328f2dd91903fb9a596d80c9450b75b9104116

Original comment by jlapenna on 22 May 2010 at 11:01