{"action":"created","issue":{"url":"https://api.github.com/repos/koush/AndroidAsync/issues/280","labels_url":"https://api.github.com/repos/koush/AndroidAsync/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/koush/AndroidAsync/issues/280/comments","events_url":"https://api.github.com/repos/koush/AndroidAsync/issues/280/events","html_url":"https://github.com/koush/AndroidAsync/issues/280","id":49010199,"number":280,"title":"Selector Exception on Socket Close","user":{"login":"eygraber","id":1100381,"avatar_url":"https://avatars.githubusercontent.com/u/1100381?v=3","gravatar_id":"","url":"https://api.github.com/users/eygraber","html_url":"https://github.com/eygraber","followers_url":"https://api.github.com/users/eygraber/followers","following_url":"https://api.github.com/users/eygraber/following{/other_user}","gists_url":"https://api.github.com/users/eygraber/gists{/gist_id}","starred_url":"https://api.github.com/users/eygraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eygraber/subscriptions","organizations_url":"https://api.github.com/users/eygraber/orgs","repos_url":"https://api.github.com/users/eygraber/repos","events_url":"https://api.github.com/users/eygraber/events{/privacy}","received_events_url":"https://api.github.com/users/eygraber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-11-16T18:41:56Z","updated_at":"2015-09-09T18:48:56Z","closed_at":null,"body":"I'm seeing this stacktrace in my logs when I close a socket (no crash) using AndroidAsync 2.0.0:\r\n\r\n    E/NIO﹕ Selector exception\r\n    com.koushikdutta.async.AsyncServer$AsyncSelectorException: java.nio.channels.ClosedSelectorException\r\n            at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:756)\r\n            at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:626)\r\n            at com.koushikdutta.async.AsyncServer.access$700(AsyncServer.java:41)\r\n            at com.koushikdutta.async.AsyncServer$13.run(AsyncServer.java:568)\r\n     Caused by: java.nio.channels.ClosedSelectorException\r\n            at java.nio.SelectorImpl.checkClosed(SelectorImpl.java:142)\r\n            at java.nio.SelectorImpl.selectInternal(SelectorImpl.java:164)\r\n            at java.nio.SelectorImpl.selectNow(SelectorImpl.java:160)\r\n            at com.koushikdutta.async.SelectorWrapper.selectNow(SelectorWrapper.java:26)\r\n            at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:730)\r\n            at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:626)\r\n            at com.koushikdutta.async.AsyncServer.access$700(AsyncServer.java:41)\r\n            at com.koushikdutta.async.AsyncServer$13.run(AsyncServer.java:568)"},"comment":{"url":"https://api.github.com/repos/koush/AndroidAsync/issues/comments/139003766","html_url":"https://github.com/koush/AndroidAsync/issues/280#issuecomment-139003766","issue_url":"https://api.github.com/repos/koush/AndroidAsync/issues/280","id":139003766,"user":{"login":"eygraber","id":1100381,"avatar_url":"https://avatars.githubusercontent.com/u/1100381?v=3","gravatar_id":"","url":"https://api.github.com/users/eygraber","html_url":"https://github.com/eygraber","followers_url":"https://api.github.com/users/eygraber/followers","following_url":"https://api.github.com/users/eygraber/following{/other_user}","gists_url":"https://api.github.com/users/eygraber/gists{/gist_id}","starred_url":"https://api.github.com/users/eygraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eygraber/subscriptions","organizations_url":"https://api.github.com/users/eygraber/orgs","repos_url":"https://api.github.com/users/eygraber/repos","events_url":"https://api.github.com/users/eygraber/events{/privacy}","received_events_url":"https://api.github.com/users/eygraber/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T18:48:56Z","updated_at":"2015-09-09T18:48:56Z","body":"Still getting the same StackTrace on 2.1.6; I'm trying to find the source."}}