siramix / buzzwords

A mobile word game that will change the word.
www.siramix.com/buzzwords
GNU General Public License v3.0
10 stars 1 forks source link

Crash with no Internet #98

Open edwardrowe opened 11 years ago

edwardrowe commented 11 years ago

When the packs are waiting to timeout, if you go to play a game it will crash when the thread comes back.

Actually, it crashes every time it times out, whether or not you advance the game.

Not sure how to repro. I think it only does it when it still thinks there is Internet, somehow. Essentially the loading icon spins forever until it times out.

edwardrowe commented 11 years ago

I think this all the info I have. Not a complete stack trace:

12-02 14:51:16.433 9817 9853 W System.err: java.net.UnknownHostException: siramix.com 12-02 14:51:16.441 9817 9853 W System.err: at java.net.InetAddress.lookupHostByName(InetAddress.java:506) 12-02 14:51:16.441 9817 9853 W System.err: at java.net.InetAddress.getAllByNameImpl(InetAddress.java:294) 12-02 14:51:16.441 9817 9853 W System.err: at java.net.InetAddress.getAllByName(InetAddress.java:256) 12-02 14:51:16.441 9817 9853 W System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:140) 12-02 14:51:16.441 9817 9853 W System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) 12-02 14:51:16.441 9817 9853 W System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) 12-02 14:51:16.441 9817 9853 W System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:363) 12-02 14:51:16.441 9817 9853 W System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555) 12-02 14:51:16.441 9817 9853 W System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487) 12-02 14:51:16.449 9817 9853 W System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465) 12-02 14:51:16.449 9817 9853 W System.err: at com.buzzwords.PackClient.doHTTPGet(PackClient.java:194) 12-02 14:51:16.449 9817 9853 W System.err: at com.buzzwords.PackClient.getServerPacks(PackClient.java:85) 12-02 14:51:16.449 9817 9853 W System.err: at com.buzzwords.PackPurchaseActivity$5.run(PackPurchaseActivity.java:271)