Skip to content

Instantly share code, notes, and snippets.

@Suave
Created April 21, 2014 06:59
Show Gist options
  • Save Suave/11134464 to your computer and use it in GitHub Desktop.
Save Suave/11134464 to your computer and use it in GitHub Desktop.
D/AUTH ( 7294): onResume is_authing: 0
D/AUTH ( 7294): onResume after ApiTask execute
D/WIFI_ADMIN( 7294): now ssid=H3C-test, netId=19
D/WIFI_ADMIN( 7294): ssid=#H3C-test#, SSID=#H3C-test#, equal? true
D/WIFI_ADMIN( 7294): open wifi
D/WIFI_ADMIN( 7294): sleep...
D/WIFI_ADMIN( 7294): wifi state 3
D/WIFI_ADMIN( 7294): create wifi config ssid=H3C-test
D/WIFI_ADMIN( 7294): create config : ssid=H3C-test, pass=,type=1
D/WIFI_ADMIN( 7294): exist config, remove first
D/WIFI_ADMIN( 7294): sleep...
D/WIFI_ADMIN( 7294): try to join ssid=H3C-test
D/WIFI_ADMIN( 7294): try to add net 0 time...
D/WIFI_ADMIN( 7294): add network netId=19
D/WIFI_ADMIN( 7294): try to enable ? true
D/AUTH ( 7294): in ApiTask, phone: null authUrl: null
W/System.err( 6585): java.net.UnknownHostException: Unable to resolve host "www.douban.com": No address associated with hostname
W/System.err( 6585): at java.net.InetAddress.lookupHostByName(InetAddress.java:394)
W/System.err( 6585): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
W/System.err( 6585): at java.net.InetAddress.getAllByName(InetAddress.java:214)
W/System.err( 6585): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:137)
W/System.err( 6585): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
W/System.err( 6585): at java.net.UnknownHostException: Unable to resolve host "www.douban.com": No address associated with hostname
W/System.err( 6585): at java.net.InetAddress.lookupHostByName(InetAddress.java:394)
W/System.err( 6585): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
W/System.err( 6585): at java.net.InetAddress.getAllByName(InetAddress.java:214)
W/System.err( 6585): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:137)
W/System.err( 6585): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
W/System.err( 6585): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
W/System.err( 6585): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:365)
W/System.err( 6585): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
W/System.err( 6585): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
W/System.err( 6585): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
W/System.err( 6585): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:365)
W/System.err( 6585): at com.loopj.android.http.AsyncHttpRequest.makeRequest(AsyncHttpRequest.java:74)
W/System.err( 6585): at com.loopj.android.http.AsyncHttpRequest.makeRequestWithRetries(AsyncHttpRequest.java:124)
W/System.err( 6585): at com.loopj.android.http.AsyncHttpRequest.run(AsyncHttpRequest.java:58)
W/System.err( 6585): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
W/System.err( 6585): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
W/System.err( 6585): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
W/System.err( 6585): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
W/System.err( 6585): at java.lang.Thread.run(Thread.java:838)
W/System.err( 6585): org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
W/System.err( 6585): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
W/System.err( 6585): at com.loopj.android.http.AsyncHttpRequest.makeRequest(AsyncHttpRequest.java:74)
W/System.err( 6585): at com.loopj.android.http.AsyncHttpRequest.makeRequestWithRetries(AsyncHttpRequest.java:124)
W/System.err( 6585): at com.loopj.android.http.AsyncHttpRequest.run(AsyncHttpRequest.java:58)
W/System.err( 6585): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
W/System.err( 6585): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
W/System.err( 6585): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
W/System.err( 6585): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
W/System.err( 6585): at java.lang.Thread.run(Thread.java:838)
W/System.err( 6585): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
W/System.err( 6585): at android.os.Handler.<init>(Handler.java:197)
W/System.err( 6585): at android.os.Handler.<init>(Handler.java:111)
W/System.err( 6585): at com.douban.amonsul.core.MobileStatManager$1.<init>(MobileStatManager.java:39)
W/System.err( 6585): at com.douban.amonsul.core.MobileStatManager.<init>(MobileStatManager.java:39)
W/System.err( 6585): at com.douban.amonsul.core.MobileStatManager.getInstance(MobileStatManager.java:85)
W/System.err( 6585): at com.douban.amonsul.MobileStat.onEvent(MobileStat.java:194)
W/System.err( 6585): at com.douban.book.reader.util.Analysis.sendEvent(Analysis.java:33)
W/System.err( 6585): at com.douban.book.reader.task.SyncPostTask$PostSyncJsonResponseHandler.onFailure(SyncPostTask.java:147)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment