Skip to content

Instantly share code, notes, and snippets.

@blt
Created May 2, 2011
Embed
What would you like to do?
Loading config [akka.conf] from the application classpath.
==================================================
t
t t t
t t tt t
tt t t tt t
t ttttttt t ttt t
t tt ttt t ttt t
t t ttt t ttt t t
tt t ttt ttt ttt t
t t ttt ttt t tt t
t ttt ttt t t
tt ttt ttt t
ttt ttt
tttttttt ttt ttt ttt ttt tttttttt
ttt tt ttt ttt ttt ttt ttt ttt
ttt ttt ttt ttt ttt ttt ttt ttt
ttt ttt ttt ttt ttt tt ttt ttt
tttt ttttttttt tttttttt tttt
ttttttttt ttt ttt ttt ttt ttttttttt
ttt ttt ttt ttt ttt ttt ttt ttt
ttt ttt ttt ttt ttt ttt ttt ttt
ttt tt ttt ttt ttt ttt ttt ttt
tttttttt ttt ttt ttt ttt tttttttt
==================================================
( Running version {},1.1-SNAPSHOT)
==================================================
Starting Akka...
14:19:48.518 [akka:event-driven:dispatcher:event:handler-1] ERROR akka.event.slf4j.Slf4jEventHandler -
[[akka.util.Switch, Could not instantiate Actor of class breakybot.BreakyBot
Make sure Actor is NOT defined inside a class/trait,
if so put it outside the class/trait, f.e. in a companion object,
OR try to change: 'actorOf[MyActor]' to 'actorOf(new MyActor)'., akka.actor.ActorInitializationException: Could not instantiate Actor of class breakybot.Breaky
Bot
Make sure Actor is NOT defined inside a class/trait,
if so put it outside the class/trait, f.e. in a companion object,
OR try to change: 'actorOf[MyActor]' to 'actorOf(new MyActor)'.
[doritos_c39b1470-74e8-11e0-957c-001cbfd55378]
at akka.actor.Actor$$anonfun$actorOf$1.apply(Actor.scala:166)
at akka.actor.Actor$$anonfun$actorOf$1.apply(Actor.scala:162)
at akka.actor.LocalActorRef.akka$actor$LocalActorRef$$newActor(ActorRef.scala:1019)
at akka.actor.LocalActorRef$$anonfun$3.apply(ActorRef.scala:609)
at akka.actor.LocalActorRef$$anonfun$3.apply(ActorRef.scala:609)
at akka.util.ReentrantGuard.withGuard(LockUtil.scala:20)
at akka.actor.LocalActorRef.<init>(ActorRef.scala:609)
at akka.actor.Actor$.actorOf(Actor.scala:162)
at akka.actor.Actor$.actorOf(Actor.scala:146)
at breakybot.Boot.<init>(Boot.scala:11)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at akka.actor.BootableActorLoaderService$$anonfun$onLoad$1$$anonfun$apply$1.apply(BootableActorLoaderService.scala:52)
at akka.actor.BootableActorLoaderService$$anonfun$onLoad$1$$anonfun$apply$1.apply(BootableActorLoaderService.scala:51)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at akka.actor.BootableActorLoaderService$$anonfun$onLoad$1.apply(BootableActorLoaderService.scala:51)
at akka.actor.BootableActorLoaderService$$anonfun$onLoad$1.apply(BootableActorLoaderService.scala:51)
at scala.Option.foreach(Option.scala:198)
at akka.actor.BootableActorLoaderService$class.onLoad(BootableActorLoaderService.scala:51)
at akka.kernel.Kernel$$anon$1.akka$remote$BootableRemoteActorService$$super$onLoad(Kernel.scala:31)
at akka.remote.BootableRemoteActorService$class.onLoad(BootableRemoteActorService.scala:28)
at akka.kernel.Kernel$$anon$1.akka$camel$CamelService$$super$onLoad(Kernel.scala:31)
at akka.camel.CamelService$class.onLoad(CamelService.scala:39)
at akka.kernel.Kernel$$anon$1.onLoad(Kernel.scala:31)
at akka.util.AkkaLoader$$anonfun$boot$1.apply$mcV$sp(AkkaLoader.scala:26)
at akka.util.Switch.liftedTree1$1(LockUtil.scala:126)
at akka.util.Switch.transcend(LockUtil.scala:125)
at akka.util.Switch.switchOn(LockUtil.scala:138)
at akka.util.AkkaLoader.boot(AkkaLoader.scala:23)
at akka.kernel.Kernel$.boot(Kernel.scala:31)
at akka.kernel.Main$.main(Kernel.scala:19)
at akka.kernel.Main.main(Kernel.scala)
at akka.actor.Actor$$anonfun$actorOf$1.apply(Actor.scala:166)
at akka.actor.Actor$$anonfun$actorOf$1.apply(Actor.scala:162)
at akka.actor.LocalActorRef.akka$actor$LocalActorRef$$newActor(ActorRef.scala:1019)
at akka.actor.LocalActorRef$$anonfun$3.apply(ActorRef.scala:609)
at akka.actor.LocalActorRef$$anonfun$3.apply(ActorRef.scala:609)
at akka.util.ReentrantGuard.withGuard(LockUtil.scala:20)
at akka.actor.LocalActorRef.<init>(ActorRef.scala:609)
at akka.actor.Actor$.actorOf(Actor.scala:162)
at akka.actor.Actor$.actorOf(Actor.scala:146)
at breakybot.Boot.<init>(Boot.scala:11)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at akka.actor.BootableActorLoaderService$$anonfun$onLoad$1$$anonfun$apply$1.apply(BootableActorLoaderService.scala:52)
at akka.actor.BootableActorLoaderService$$anonfun$onLoad$1$$anonfun$apply$1.apply(BootableActorLoaderService.scala:51)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at akka.actor.BootableActorLoaderService$$anonfun$onLoad$1.apply(BootableActorLoaderService.scala:51)
at akka.actor.BootableActorLoaderService$$anonfun$onLoad$1.apply(BootableActorLoaderService.scala:51)
at scala.Option.foreach(Option.scala:198)
at akka.actor.BootableActorLoaderService$class.onLoad(BootableActorLoaderService.scala:51)
at akka.kernel.Kernel$$anon$1.akka$remote$BootableRemoteActorService$$super$onLoad(Kernel.scala:31)
at akka.remote.BootableRemoteActorService$class.onLoad(BootableRemoteActorService.scala:28)
at akka.kernel.Kernel$$anon$1.akka$camel$CamelService$$super$onLoad(Kernel.scala:31)
at akka.camel.CamelService$class.onLoad(CamelService.scala:39)
at akka.kernel.Kernel$$anon$1.onLoad(Kernel.scala:31)
at akka.util.AkkaLoader$$anonfun$boot$1.apply$mcV$sp(AkkaLoader.scala:26)
at akka.util.Switch.liftedTree1$1(LockUtil.scala:126)
at akka.util.Switch.transcend(LockUtil.scala:125)
at akka.util.Switch.switchOn(LockUtil.scala:138)
at akka.util.AkkaLoader.boot(AkkaLoader.scala:23)
at akka.kernel.Kernel$.boot(Kernel.scala:31)
at akka.kernel.Main$.main(Kernel.scala:19)
at akka.kernel.Main.main(Kernel.scala)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at akka.util.ReflectiveAccess$.createInstance(ReflectiveAccess.scala:155)
at akka.actor.Actor$$anonfun$actorOf$1.apply(Actor.scala:164)
... 36 more
Caused by: java.lang.RuntimeException: No one has taught me to dance. :(
at breakybot.BreakyBot.<init>(BreakyBot.scala:7)
... 42 more
]]
[{}]
[{}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment