jira-importer opened a new issue, #1463: URL: https://github.com/apache/httpcomponents-core/issues/1463
**[Wang Yue](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ching)** opened **[HTTPCORE-226](https://issues.apache.org/jira/browse/HTTPCORE-226?redirect=false)** and commented The stack trace when "reactor.execute(eventDispatch)": 04-30 03:26:01.023: ERROR/AndroidRuntime(203): java.nio.channels.IllegalSelectorException 04-30 03:26:01.023: ERROR/AndroidRuntime(203): at java.nio.channels.spi.AbstractSelectableChannel.register(AbstractSelectableChannel.java:158) 04-30 03:26:01.023: ERROR/AndroidRuntime(203): at java.nio.channels.SelectableChannel.register(SelectableChannel.java:158) 04-30 03:26:01.023: ERROR/AndroidRuntime(203): at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processSessionRequests(DefaultConnectingIOReactor.java:244) 04-30 03:26:01.023: ERROR/AndroidRuntime(203): at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:97) 04-30 03:26:01.023: ERROR/AndroidRuntime(203): at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:317) 04-30 03:26:01.023: ERROR/AndroidRuntime(203): at io.DownloadClient.run(DownloadClient.java:168) 04-30 03:26:01.023: ERROR/AndroidRuntime(203): at java.lang.Thread.run(Thread.java:1096) The nio underlyings on Android is: org.apache.harmony.nio.internal.SelectorImpl org.apache.harmony.nio.internal.SocketChannelImpl Fllowing James's instruction, i tried editing (DefaultConnectingIOReactor.java:97) by changing key = socketChannel.register(this.selector, 0); to key = socketChannel.register(this.selector, SelectionKey.OP_CONNECT); but this problem persists. After seaching web i fount this maybe can provide some help. http://lists.jboss.org/pipermail/netty-users/2009-January/000221.html --- **Affects:** 4.0.1 **Attachments:** - [HTTPCORE-226.patch](https://issues.apache.org/jira/secure/attachment/12443287/HTTPCORE-226.patch) (_2.18 kB_) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
