开发者

Netty throws java.nio.channels.ClosedSelectorException on android-x86

I'am trying to use android-x86 instead standard android-emulator, because it's very FAST. Launched it via virtualbox with image android-x86-2.2-generic.iso.

My project using netty and then I'am trying to create connection got the follow error:

06-22 13:15:10.600: WARN/lientSocketPipelineSink(2411): Unexpected exception in the selector loop. 06-22 13:15:10.600: WARN/lientSocketPipelineSink(2411): java.nio.channels.ClosedSelectorException 06-22 13:15:10.600: WARN/lientSocketPipelineSink(2411): at org.apache.harmony.n开发者_JAVA百科io.internal.SelectorImpl.closeCheck(SelectorImpl.java:204) 06-22 13:15:10.600: WARN/lientSocketPipelineSink(2411): at org.apache.harmony.nio.internal.SelectorImpl.selectInternal(SelectorImpl.java:236) 06-22 13:15:10.600: WARN/lientSocketPipelineSink(2411): at org.apache.harmony.nio.internal.SelectorImpl.select(SelectorImpl.java:224) 06-22 13:15:10.600: WARN/lientSocketPipelineSink(2411): at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:239) 06-22 13:15:10.600: WARN/lientSocketPipelineSink(2411): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068) 06-22 13:15:10.600: WARN/lientSocketPipelineSink(2411): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561) 06-22 13:15:10.600: WARN/lientSocketPipelineSink(2411): at java.lang.Thread.run(Thread.java:1096)


Maybe you should use OIO instead of NIO because of the known issue: http://markmail.org/message/ypa3nrr64kzsyfsa

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜