Hello,
I have an application that was using Akka 2.2.3. It is a mixed Java/Scala
application where an actor is created in Java code:
this.requester = system.actorOf(Requester.props(dbCredentials.dbUrl,
dbCredentials.dbUsername, ...
And the actor is defined in Scala:
object Requester {
def props(url: String, username: String, password: String, start: Long,
end: Long, writePage: Int, client: ActorRef, requestHelper:
RequestHelper) =
Props(classOf[Requester], url, username, password, start, end,
writePage, client, requestHelper)
}
class Requester(url: String, username: String, password: String, start:
Long,
end: Long, writePage: Int, client: ActorRef, requestHelper:
RequestHelper) extends Actor {
The application is working fine with Akka 2.2.3. With 2.3.0-RC2, I get the
following error (repeated many times):
Uncaught error from thread [Uncaught error from thread
[mySystem-akka.actor.default-dispatcher-8mySystem-akka.actor.default-dispatcher-2]
shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for
ActorSystem[] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is
enabled for ActorSystem[mySystem]
java.lang.AbstractMethodError
at akka.actor.ActorCell.create(ActorCell.scala:555)
at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:431)
at akka.actor.ActorCell.systemInvoke(ActorCell.scala:453)
at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:263)
at akka.dispatch.Mailbox.run(Mailbox.scala:219)
at
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
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)
mySystem]
it seems to occur in line
Props(classOf[Requester]...
May be its normal due to changes in 2.0.3 ? Is there a document about what
has changed between 2.2.3 and 2.3.0 ?
Thanks,
Pierre-Yves
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.