Are you not accidentally mixing Akka versions?
What does your dependency file look like with regards to Akka dependencies.

Akka Streams and Actor etc should all be on the same version.

-- 
Cheers,
Konrad 'ktoso <http://kto.so>' Malawski
Akka <http://akka.io/> @ Lightbend <http://lightbend.com/>

On January 7, 2018 at 20:28:58, Eduardo Fernandes ([email protected]) wrote:

Hi all.

First of all: have all a happy new year.

I just jumped out from Akka 2.5.6 to 2.5.8. From that I'm getting the
following error when starting Akka:

java.lang.IllegalStateException: not yet initialized: only setHandler is
allowed in GraphStageLogic constructor
at akka.stream.stage.GraphStageLogic.interpreter(GraphStage.scala:295)
at akka.stream.stage.GraphStageLogic$$anon$1.invoke(GraphStage.scala:960)
at
akka.remote.artery.InboundControlJunction$$anon$2.attach(Control.scala:129)
at
akka.remote.artery.ArteryTransport.runInboundControlStream(ArteryTransport.scala:704)
at
akka.remote.artery.ArteryTransport.runInboundStreams(ArteryTransport.scala:686)
at akka.remote.artery.ArteryTransport.start(ArteryTransport.scala:455)
at akka.remote.RemoteActorRefProvider.init(RemoteActorRefProvider.scala:212)
at
akka.cluster.ClusterActorRefProvider.init(ClusterActorRefProvider.scala:31)
at akka.actor.ActorSystemImpl.liftedTree2$1(ActorSystem.scala:797)
at akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:794)
at akka.actor.ActorSystemImpl._start(ActorSystem.scala:794)
at akka.actor.ActorSystemImpl.start(ActorSystem.scala:810)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:244)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:287)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:262)
at akka.actor.ActorSystem$.create(ActorSystem.scala:190)
at akka.actor.ActorSystem.create(ActorSystem.scala)


If I switch back to 2.5.6 or 2.5.5 and the error disappears.  I've tried
with 2.5.7 and the error is still there. Looks like some new behavior in
2.5.7.

I'm using Artery:

  remote {
    log-remote-lifecycle-events = off
    artery {
      enabled = on
      canonical.hostname = 127.0.0.1
      canonical.port = 0
    }
  }

Many thanks in advance for your help!







--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups
"Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to