java.lang.AbstractMethodError with last 2.4-SNAPSHOT

58 views
Skip to first unread message

Evgeniy Ostapenko

unread,
Jul 2, 2015, 4:41:55 AM7/2/15
to akka...@googlegroups.com
I am getting java.lang.AbstractMethodError when trying to start app with using of cluster-sharding.
I think it was started with this commit

https://github.com/ktoso/akka/commit/33fbfec2228c4e0432780ac73e5178c3c279aef3

java.lang.AbstractMethodError: akka.cluster.sharding.ShardCoordinator.recovery()Lakka/persistence/Recovery;
        at akka.persistence.Eventsourced$class.aroundPreStart(Eventsourced.scala:176)
        at akka.cluster.sharding.ShardCoordinator.aroundPreStart(ShardCoordinator.scala:361)
        at akka.actor.ActorCell.create(ActorCell.scala:580)
        at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:456)
        at akka.actor.ActorCell.systemInvoke(ActorCell.scala:478)
        at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:281)
        at akka.dispatch.Mailbox.run(Mailbox.scala:222)
        at akka.dispatch.Mailbox.exec(Mailbox.scala:233)
        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)


And I can not fix this. Need help.

Patrik Nordwall

unread,
Jul 2, 2015, 4:51:49 AM7/2/15
to akka...@googlegroups.com
Are you sure that you use the "same" version for akka-persistence and akka-cluster-sharding?
I would recommend that you pick one of the timestamped snapshots: http://repo.akka.io/snapshots/com/typesafe/akka/akka-actor_2.11/

Are you sure you need a snapshot and not 2.4-M2?

--
>>>>>>>>>> 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 akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--

Patrik Nordwall
Typesafe Reactive apps on the JVM
Twitter: @patriknw

Evgeniy Ostapenko

unread,
Jul 2, 2015, 6:00:39 AM7/2/15
to akka...@googlegroups.com
You are right. My fault - i was not removing all caches :/ Thank you.

четверг, 2 июля 2015 г., 11:51:49 UTC+3 пользователь Patrik Nordwall написал:

Patrik Nordwall

unread,
Jul 2, 2015, 6:20:07 AM7/2/15
to akka...@googlegroups.com
No worries. You're welcome.
Reply all
Reply to author
Forward
0 new messages