{"action":"opened","issue":{"url":"https://api.github.com/repos/sksamuel/elastic4s/issues/588","repository_url":"https://api.github.com/repos/sksamuel/elastic4s","labels_url":"https://api.github.com/repos/sksamuel/elastic4s/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/sksamuel/elastic4s/issues/588/comments","events_url":"https://api.github.com/repos/sksamuel/elastic4s/issues/588/events","html_url":"https://github.com/sksamuel/elastic4s/issues/588","id":163034638,"number":588,"title":"Spray + Akka + Elastic4s","user":{"login":"ibaisi","id":3977777,"avatar_url":"https://avatars.githubusercontent.com/u/3977777?v=3","gravatar_id":"","url":"https://api.github.com/users/ibaisi","html_url":"https://github.com/ibaisi","followers_url":"https://api.github.com/users/ibaisi/followers","following_url":"https://api.github.com/users/ibaisi/following{/other_user}","gists_url":"https://api.github.com/users/ibaisi/gists{/gist_id}","starred_url":"https://api.github.com/users/ibaisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibaisi/subscriptions","organizations_url":"https://api.github.com/users/ibaisi/orgs","repos_url":"https://api.github.com/users/ibaisi/repos","events_url":"https://api.github.com/users/ibaisi/events{/privacy}","received_events_url":"https://api.github.com/users/ibaisi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-29T21:48:04Z","updated_at":"2016-06-29T21:48:04Z","closed_at":null,"body":"I have a project running with Spray 1.3.3 and Akka 2.4.4 and only by adding elastic4s 2.3.0 as dependency, I get an error that shuts down my JVM:\r\n\r\n`Uncaught error from thread [Sys-akka.actor.default-dispatcher-3] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[Sys]\r\njava.lang.NoSuchMethodError: org.jboss.netty.handler.codec.http.HttpRequest.setHeader(Ljava/lang/String;Ljava/lang/Object;)V\r\n\tat com.ning.http.client.providers.netty.NettyAsyncHttpProvider.construct(NettyAsyncHttpProvider.java:693)\r\n\tat com.ning.http.client.providers.netty.NettyAsyncHttpProvider.buildRequest(NettyAsyncHttpProvider.java:650)\r\n\tat com.ning.http.client.providers.netty.NettyConnectListener$Builder.build(NettyConnectListener.java:144)\r\n\tat com.ning.http.client.providers.netty.NettyAsyncHttpProvider.doConnect(NettyAsyncHttpProvider.java:1070)\r\n\tat com.ning.http.client.providers.netty.NettyAsyncHttpProvider.execute(NettyAsyncHttpProvider.java:935)\r\n\tat com.ning.http.client.AsyncHttpClient.executeRequest(AsyncHttpClient.java:499)\r\n\tat dispatch.HttpExecutor$class.apply(execution.scala:47)\r\n\tat dispatch.Http.apply(execution.scala:12)\r\n\tat dispatch.HttpExecutor$class.apply(execution.scala:42)\r\n\tat dispatch.Http.apply(execution.scala:12)\r\n\tat com.bbtv.vtitle2.service.KeywordsService$.makeDbPediaCall(KeywordsService.scala:41)\r\n\tat com.bbtv.vtitle2.service.KeywordsService$$anonfun$getKeywords$2.apply(KeywordsService.scala:26)\r\n\tat com.bbtv.vtitle2.service.KeywordsService$$anonfun$getKeywords$2.apply(KeywordsService.scala:25)\r\n\tat akka.stream.impl.fusing.MapAsync$$anon$9$$anon$10.onPush(Ops.scala:590)\r\n\tat akka.stream.impl.fusing.GraphInterpreter.processElement$1(GraphInterpreter.scala:575)\r\n\tat akka.stream.impl.fusing.GraphInterpreter.processEvent(GraphInterpreter.scala:586)\r\n\tat akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:533)\r\n\tat akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:445)\r\n\tat akka.stream.impl.fusing.GraphInterpreterShell.init(ActorGraphInterpreter.scala:366)\r\n\tat akka.stream.impl.fusing.ActorGraphInterpreter.tryInit(ActorGraphInterpreter.scala:504)\r\n\tat akka.stream.impl.fusing.ActorGraphInterpreter.preStart(ActorGraphInterpreter.scala:539)\r\n\tat akka.actor.Actor$class.aroundPreStart(Actor.scala:489)\r\n\tat akka.stream.impl.fusing.ActorGraphInterpreter.aroundPreStart(ActorGraphInterpreter.scala:495)\r\n\tat akka.actor.ActorCell.create(ActorCell.scala:590)\r\n\tat akka.actor.ActorCell.invokeAll$1(ActorCell.scala:461)\r\n\tat akka.actor.ActorCell.systemInvoke(ActorCell.scala:483)\r\n\tat akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282)\r\n\tat akka.dispatch.Mailbox.run(Mailbox.scala:223)\r\n\tat akka.dispatch.Mailbox.exec(Mailbox.scala:234)\r\n\tat scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\r\n\tat scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\r\n\tat scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\r\n\tat scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)`\r\n\r\nThis is my build.sbt:\r\n\r\n`organization  := \"com.example\"\r\n\r\nversion       := \"0.1\"\r\n\r\nscalaVersion  := \"2.11.8\"\r\n\r\nscalacOptions := Seq(\"-unchecked\", \"-deprecation\", \"-encoding\", \"utf8\")\r\n\r\nlibraryDependencies ++= {\r\n  val akkaV = \"2.4.4\"\r\n  val sprayV = \"1.3.3\"\r\n  Seq(\r\n    \"io.spray\"            %%  \"spray-can\"     % sprayV,\r\n    \"io.spray\"            %%  \"spray-routing\" % sprayV,\r\n    \"io.spray\"            %%  \"spray-testkit\" % sprayV  % \"test\",\r\n    \"com.typesafe.akka\"   %%  \"akka-actor\"    % akkaV,\r\n    \"com.typesafe.akka\"   %%  \"akka-testkit\"  % akkaV   % \"test\",\r\n    \"org.specs2\"          %%  \"specs2-core\"   % \"2.3.11\" % \"test\",\r\n    \"com.typesafe.akka\" %% \"akka-stream-experimental\" % \"2.0.1\",\r\n    \"com.typesafe.akka\" %% \"akka-http-experimental\" % \"2.4.7\",\r\n    \"net.databinder.dispatch\" %% \"dispatch-core\" % \"0.11.2\",\r\n    \"ch.qos.logback\" % \"logback-classic\" % \"1.1.2\",\r\n    \"com.timgroup\" % \"java-statsd-client\" % \"3.1.0\",\r\n    \"joda-time\" % \"joda-time\" % \"2.1\",\r\n    \"org.joda\" % \"joda-convert\" % \"1.2\",\r\n    \"com.sksamuel.elastic4s\" %% \"elastic4s-core\" % \"2.3.0\"\r\n  )\r\n}\r\n\r\nRevolver.settings`"}}
{"actor":{"display_login":"ibaisi"}}