{"action":"created","issue":{"url":"https://api.github.com/repos/mrniko/redisson/issues/185","labels_url":"https://api.github.com/repos/mrniko/redisson/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/mrniko/redisson/issues/185/comments","events_url":"https://api.github.com/repos/mrniko/redisson/issues/185/events","html_url":"https://github.com/mrniko/redisson/issues/185","id":94246447,"number":185,"title":"can't stop via shutdown","user":{"login":"hepin1989","id":501740,"avatar_url":"https://avatars.githubusercontent.com/u/501740?v=3","gravatar_id":"","url":"https://api.github.com/users/hepin1989","html_url":"https://github.com/hepin1989","followers_url":"https://api.github.com/users/hepin1989/followers","following_url":"https://api.github.com/users/hepin1989/following{/other_user}","gists_url":"https://api.github.com/users/hepin1989/gists{/gist_id}","starred_url":"https://api.github.com/users/hepin1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hepin1989/subscriptions","organizations_url":"https://api.github.com/users/hepin1989/orgs","repos_url":"https://api.github.com/users/hepin1989/repos","events_url":"https://api.github.com/users/hepin1989/events{/privacy}","received_events_url":"https://api.github.com/users/hepin1989/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrniko/redisson/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mrniko/redisson/milestones/9","html_url":"https://github.com/mrniko/redisson/milestones/1.3.1","labels_url":"https://api.github.com/repos/mrniko/redisson/milestones/9/labels","id":1196233,"number":9,"title":"1.3.1","description":"","creator":{"login":"mrniko","id":1104661,"avatar_url":"https://avatars.githubusercontent.com/u/1104661?v=3","gravatar_id":"","url":"https://api.github.com/users/mrniko","html_url":"https://github.com/mrniko","followers_url":"https://api.github.com/users/mrniko/followers","following_url":"https://api.github.com/users/mrniko/following{/other_user}","gists_url":"https://api.github.com/users/mrniko/gists{/gist_id}","starred_url":"https://api.github.com/users/mrniko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrniko/subscriptions","organizations_url":"https://api.github.com/users/mrniko/orgs","repos_url":"https://api.github.com/users/mrniko/repos","events_url":"https://api.github.com/users/mrniko/events{/privacy}","received_events_url":"https://api.github.com/users/mrniko/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2015-07-07T06:29:57Z","updated_at":"2015-07-16T16:50:09Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-07-10T08:15:19Z","updated_at":"2015-07-17T16:55:57Z","closed_at":"2015-07-16T16:50:09Z","body":"when call shutdown(),it cause these error again and again and never stop the application.\r\nI single the JVM via Ctrl + D and there is a shutdown() hooked in Play's lifecycle's onShutdown() callback.\r\n```scala\r\n  lazy val get: Redisson = {\r\n    val redissonConfig = parseRedissonConfig(config)\r\n    val redisson = Redisson.create(redissonConfig)\r\n    lifecycle.addStopHook(() => Future.successful {\r\n      redisson.shutdown()\r\n    })\r\n    redisson\r\n  }\r\n```\r\n```\r\n[warn] - io.netty.channel.AbstractChannel - Force-closing a channel whose registration task was not accepted by an event loop: [id: 0x76514d59]\r\njava.util.concurrent.RejectedExecutionException: event executor terminated\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:672) ~[io.netty.netty-all-4.1.0.Beta5.jar:4.1.0.Beta5]\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:264) ~[io.netty.netty-all-4.1.0.Beta5.jar:4.1.0.Beta5]\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:655) ~[io.netty.netty-all-4.1.0.Beta5.jar:4.1.0.Beta5]\r\n\tat io.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:458) ~[io.netty.netty-all-4.1.0.Beta5.jar:4.1.0.Beta5]\r\n\tat io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:68) [io.netty.netty-all-4.1.0.Beta5.jar:4.1.0.Beta5]\r\n\tat io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:56) [io.netty.netty-all-4.1.0.Beta5.jar:4.1.0.Beta5]\r\n\tat io.netty.channel.MultithreadEventLoopGroup.register(MultithreadEventLoopGroup.java:75) [io.netty.netty-all-4.1.0.Beta5.jar:4.1.0.Beta5]\r\n\tat io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:324) [io.netty.netty-all-4.1.0.Beta5.jar:4.1.0.Beta5]\r\n\tat io.netty.bootstrap.Bootstrap.doResolveAndConnect(Bootstrap.java:157) [io.netty.netty-all-4.1.0.Beta5.jar:4.1.0.Beta5]\r\n\tat io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:113) [io.netty.netty-all-4.1.0.Beta5.jar:4.1.0.Beta5]\r\n\tat com.lambdaworks.redis.RedisClient.connect(RedisClient.java:176) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat com.lambdaworks.redis.RedisClient.connectAsync(RedisClient.java:149) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat com.lambdaworks.redis.RedisClient.connect(RedisClient.java:132) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat org.redisson.connection.MasterSlaveEntry.connectionWriteOp(MasterSlaveEntry.java:127) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat org.redisson.connection.MasterSlaveConnectionManager.connectionWriteOp(MasterSlaveConnectionManager.java:770) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat org.redisson.connection.MasterSlaveConnectionManager.writeAsync(MasterSlaveConnectionManager.java:249) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat org.redisson.connection.MasterSlaveConnectionManager.writeAsync(MasterSlaveConnectionManager.java:217) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat org.redisson.RedissonList.addAllAsync(RedissonList.java:156) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat org.redisson.RedissonList.addAll(RedissonList.java:148) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat org.redisson.RedissonList.add(RedissonList.java:96) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat org.redisson.RedissonQueue.offer(RedissonQueue.java:43) [org.redisson.redisson-1.3.0.jar:na]\r\n\tat service.Pumper$$anonfun$receive$1.applyOrElse(StatisticService.scala:59) [cn.q-game.statisticserver-1.0-SNAPSHOT-sans-externalized.jar:na]\r\n\tat akka.actor.Actor$class.aroundReceive(Actor.scala:475) [com.typesafe.akka.akka-actor_2.11-2.4-M2.jar:na]\r\n\tat service.Pumper.aroundReceive(StatisticService.scala:53) [cn.q-game.statisticserver-1.0-SNAPSHOT-sans-externalized.jar:na]\r\n\tat akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) [com.typesafe.akka.akka-actor_2.11-2.4-M2.jar:na]\r\n\tat akka.actor.ActorCell.invoke(ActorCell.scala:487) [com.typesafe.akka.akka-actor_2.11-2.4-M2.jar:na]\r\n\tat akka.dispatch.Mailbox.processMailbox(Mailbox.scala:256) [com.typesafe.akka.akka-actor_2.11-2.4-M2.jar:na]\r\n\tat akka.dispatch.Mailbox.run(Mailbox.scala:223) [com.typesafe.akka.akka-actor_2.11-2.4-M2.jar:na]\r\n\tat akka.dispatch.Mailbox.exec(Mailbox.scala:233) [com.typesafe.akka.akka-actor_2.11-2.4-M2.jar:na]\r\n\tat scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [org.scala-lang.scala-library-2.11.7.jar:na]\r\n\tat scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [org.scala-lang.scala-library-2.11.7.jar:na]\r\n\tat scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [org.scala-lang.scala-library-2.11.7.jar:na]\r\n\tat scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [org.scala-lang.scala-library-2.11.7.jar:na]\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/mrniko/redisson/issues/comments/122342129","html_url":"https://github.com/mrniko/redisson/issues/185#issuecomment-122342129","issue_url":"https://api.github.com/repos/mrniko/redisson/issues/185","id":122342129,"user":{"login":"mrniko","id":1104661,"avatar_url":"https://avatars.githubusercontent.com/u/1104661?v=3","gravatar_id":"","url":"https://api.github.com/users/mrniko","html_url":"https://github.com/mrniko","followers_url":"https://api.github.com/users/mrniko/followers","following_url":"https://api.github.com/users/mrniko/following{/other_user}","gists_url":"https://api.github.com/users/mrniko/gists{/gist_id}","starred_url":"https://api.github.com/users/mrniko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrniko/subscriptions","organizations_url":"https://api.github.com/users/mrniko/orgs","repos_url":"https://api.github.com/users/mrniko/repos","events_url":"https://api.github.com/users/mrniko/events{/privacy}","received_events_url":"https://api.github.com/users/mrniko/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T16:55:57Z","updated_at":"2015-07-17T16:55:57Z","body":"@hepin1989 i'll wait for your reply before integration into 2.0 branch"}}