Most likely is that your problem is that Play.current.configuration.getString("play.runable.c.command")
Has type Option[String]
and are calling the get
method on Option which pretty much should never be called. The world would be a better place if this method didn’t even exist. I digress.
If this call to getString
returns None
, then the call to get
throws an exception that there is no value to get.