Monday, 15 June 2015

nio - Android - Netty - RejectedExecutionException -


I'm back with a difficult question.

I have our Android has written a Netty server for the project but have some time when I tried to send some of the connected clients, I get a few Aksekyusn exception.

03-17 22: 07: 49.938 21708-22346 / htlhallein.at.serverdatenbrille_rewritten E / AndroidRuntime: Deadly saveing ​​Thread -9824 process: Actielacelar.a.as.as.arwardetainbrel_uaraitiant, PID: 21708 Java ULL.ConCentrant. Published Execution Express: Event Executor Terminated Iio.netty at Io.netty.util.concurrent.SingleThreadEventExecutor.execute (Single ThreadEventExecutor.java: SingleThreadEventExecutor.java Month 99) at io.netty.util.concurrent.SingleThreadEventExecutor.addTask But use.concurrent.SingleThreadEventExecutor.reject (SingleThreadEventExecutor.java:707) 690) io.netty.channel.AbstractChannel at $ AbstractUnsafe.register (AbstractChannel.java:421) io.netty.channel.SingleThreadEventLoop.register (Single ThreadEventLoop.java) : 60) io.netty.bootstrap.AbstractBootstrap.initAndRegister (Abs on Io.netty.channel.SingleThreadEventLoop.register (Single ThreadEventLoop.java:48) on io.netty.channel.MultithreadEventLoopGroup.register (multithreadEventLoopGroup.java:64) tractBootstrap.java.35) on io.netty.bootstrap.AbstractBootstrap.doBind (AbstractBootstrap.java:271) on io.netty.bootstrap.AbstractBootstrap.bind (AbstractBootstrap.java said 67) on io.netty.bootstrap.AbstractBootstrap.bind ( AbstractBootstrap.java: 242) on htlhallein.at.serverdatenbrille_rewritten.server.DatenbrillenServer $ Server.run (DatenbrillenServer.java:172) at java.lang.Thread.run (Thredkjawa: 841)

I do not believe what event I want to execute? After running the server exception went to remove a line (log. D. (Datinbrilnsservrkclasktstring), "Stop on the server ...");)

Does anyone have Idea , why does this happen?

Thank you very much!

This is done when you try to do IO after calling shutdown () Make sure That you are done with all Io before calling it


No comments:

Post a Comment