java.lang.IllegalArgumentException: no matching constructor found on class Actors.FileObserverActor for arguments []

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

You are probably trying to create an actor using actorSystem.actorOf(Props(classOf[AnyActor], args...)) where args does not match AnyActor constructor parameters.

Solutions on the web

via Stack Overflow by Akan
, 6 months ago
no matching constructor found on class Actors.FileObserverActor for arguments []
via Google Groups by Arun kannan, 6 months ago
no matching constructor found on class Actors.FileObserverActor for arguments []
via GitHub by soup96
, 8 months ago
no matching constructor found on class com.sandinh.paho.akka.MqttPubSub for arguments [class com.sandinh.paho.akka.MqttPubSub$PSConfig, class java.lang.String]
via GitHub by tnolet
, 2 years ago
no matching constructor found on class io.vamp.pulse.eventstream.SSEConnectionActor for arguments [class scala.collection.immutable.$colon$colon]
via GitHub by MHOOO
, 2 years ago
no matching constructor found on class akka.actor.CreatorFunctionConsumer for arguments [class akka.actor.Props$$anonfun$2]
java.lang.IllegalArgumentException: no matching constructor found on class Actors.FileObserverActor for arguments []
at akka.util.Reflect$.error$1(Reflect.scala:81)
at akka.util.Reflect$.findConstructor(Reflect.scala:105)
at akka.actor.NoArgsReflectConstructor.(IndirectActorProducer.scala:103)
at akka.actor.IndirectActorProducer$.apply(IndirectActorProducer.scala:60)
at akka.actor.Props.producer(Props.scala:131)
at akka.actor.Props.(Props.scala:144)
at akka.actor.Props$.apply(Props.scala:86)
at Actors.FileUploaderActor$$anonfun$receive$1.applyOrElse(FileUploaderActor.scala:15)
at Actors.FileUploaderActor.aroundReceive(FileUploaderActor.scala:10)

Users with the same issue

2 times, 3 months ago
3 times, 3 months ago
Once, 7 months ago
4 times, 8 months ago
5 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.