{"action":"opened","issue":{"url":"https://api.github.com/repos/NightWhistler/HtmlSpanner/issues/35","labels_url":"https://api.github.com/repos/NightWhistler/HtmlSpanner/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/NightWhistler/HtmlSpanner/issues/35/comments","events_url":"https://api.github.com/repos/NightWhistler/HtmlSpanner/issues/35/events","html_url":"https://github.com/NightWhistler/HtmlSpanner/issues/35","id":103163331,"number":35,"title":"load img","user":{"login":"feiyu1001","id":468454,"avatar_url":"https://avatars.githubusercontent.com/u/468454?v=3","gravatar_id":"","url":"https://api.github.com/users/feiyu1001","html_url":"https://github.com/feiyu1001","followers_url":"https://api.github.com/users/feiyu1001/followers","following_url":"https://api.github.com/users/feiyu1001/following{/other_user}","gists_url":"https://api.github.com/users/feiyu1001/gists{/gist_id}","starred_url":"https://api.github.com/users/feiyu1001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feiyu1001/subscriptions","organizations_url":"https://api.github.com/users/feiyu1001/orgs","repos_url":"https://api.github.com/users/feiyu1001/repos","events_url":"https://api.github.com/users/feiyu1001/events{/privacy}","received_events_url":"https://api.github.com/users/feiyu1001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-26T03:25:43Z","updated_at":"2015-08-26T03:25:43Z","closed_at":null,"body":"android.os.NetworkOnMainThreadException\r\n            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2540)\r\n            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2599)\r\n            at android.app.ActivityThread.access$900(ActivityThread.java:174)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:146)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5748)\r\n            at java.lang.reflect.Method.invoke(Native Method)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)\r\n     Caused by: android.os.NetworkOnMainThreadException\r\n            at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1166)\r\n            at java.net.InetAddress.lookupHostByName(InetAddress.java:385)\r\n            at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)\r\n            at java.net.InetAddress.getAllByName(InetAddress.java:214)\r\n            at com.android.okhttp.internal.Dns$1.getAllByName(Dns.java:28)\r\n            at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:216)\r\n            at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:122)\r\n            at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:409)\r\n            at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:362)\r\n            at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:308)\r\n            at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345)\r\n            at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:296)\r\n            at com.android.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:179)\r\n            at java.net.URL.openStream(URL.java:470)\r\n            at net.nightwhistler.htmlspanner.handlers.ImageHandler.loadBitmap(ImageHandler.java:69)\r\n            at net.nightwhistler.htmlspanner.handlers.ImageHandler.handleTagNode(ImageHandler.java:49)\r\n            at net.nightwhistler.htmlspanner.HtmlSpanner.applySpan(HtmlSpanner.java:345)\r\n            at net.nightwhistler.htmlspanner.HtmlSpanner.applySpan(HtmlSpanner.java:339)\r\n            at net.nightwhistler.htmlspanner.HtmlSpanner.applySpan(HtmlSpanner.java:339)\r\n            at net.nightwhistler.htmlspanner.HtmlSpanner.fromTagNode(HtmlSpanner.java:260)\r\n            at net.nightwhistler.htmlspanner.HtmlSpanner.fromHtml(HtmlSpanner.java:201)\r\n            at com.example.htmltest.MainActivity$1.run(MainActivity.java:25)\r\n            at android.app.Activity.runOnUiThread(Activity.java:5052)\r\n            at com.example.htmltest.MainActivity.onCreate(MainActivity.java:21)\r\n            at android.app.Activity.performCreate(Activity.java:5600)\r\n            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)\r\n            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2504)\r\n            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2599)\r\n            at android.app.ActivityThread.access$900(ActivityThread.java:174)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:146)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5748)\r\n            at java.lang.reflect.Method.invoke(Native Method)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)"}}