Play 2.4.3 issue unable to find root cause

30 views
Skip to first unread message

Praveen Yadav

unread,
May 3, 2017, 1:10:39 AM5/3/17
to Play Framework
Hi,

We are getting the below exception. Unable to find the root cause. Any guidance would be much appreciated.

play.api.UnexpectedException: Unexpected exception
[IllegalStateException: cannot enqueue after timer shutdown]
at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:261) ~[com.typesafe.play.play_2.11-2.4.6.jar:2.4.6]
at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:191) ~[com.typesafe.play.play_2.11-2.4.6.jar:2.4.6]
at play.api.GlobalSettings$class.onError(GlobalSettings.scala:179) [com.typesafe.play.play_2.11-2.4.6.jar:2.4.6]
at play.core.j.JavaGlobalSettingsAdapter.play$core$j$JavaGlobalSettingsAdapter$$super$onError(JavaGlobalSettingsAdapter.scala:36) [com.typesafe.play.play_2.11-2.4.6.jar:2.4.6]
at play.core.j.JavaGlobalSettingsAdapter$$anonfun$onError$2.apply(JavaGlobalSettingsAdapter.scala:36) [com.typesafe.play.play_2.11-2.4.6.jar:2.4.6]
Caused by: java.lang.IllegalStateException: cannot enqueue after timer shutdown
at akka.actor.LightArrayRevolverScheduler.scheduleOnce(Scheduler.scala:277) ~[com.typesafe.akka.akka-actor_2.11-2.3.13.jar:na]
at akka.actor.Scheduler$class.scheduleOnce(Scheduler.scala:117) ~[com.typesafe.akka.akka-actor_2.11-2.3.13.jar:na]
at akka.actor.LightArrayRevolverScheduler.scheduleOnce(Scheduler.scala:182) ~[com.typesafe.akka.akka-actor_2.11-2.3.13.jar:na]
at securesocial.core.providers.utils.Mailer$Default.sendEmail(Mailer.scala:98) ~[ws.securesocial.securesocial_2.11-3.0-M5.jar:3.0-M5]
at securesocial.core.providers.utils.Mailer$Default.sendAlreadyRegisteredEmail(Mailer.scala:60) ~[ws.securesocial.securesocial_2.11-3.0-M5.jar:3.0-M5]

Greg Methvin

unread,
May 3, 2017, 2:14:43 AM5/3/17
to play-framework
Hi Praveen,

It looks like you're using a milestone version of SecureSocial (3.0-M5). I don't know much about recent versions of SecureSocial, but you might get more help if you were using a regular release version.

The problem is hard to diagnose without seeing the code, but I suspect there is some global state that's being shut down before you try to access it.

Cheers,
Greg

--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/79adf005-a72a-4a37-8e5a-bd95bbfb4217%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Greg Methvin
Tech Lead - Play Framework

Igmar Palsenberg

unread,
May 3, 2017, 11:03:50 AM5/3/17
to Play Framework
 
We are getting the below exception. Unable to find the root cause. Any guidance would be much appreciated.

Try : 

1) A way more recent Play version
2) Not using milestone releases.

Chances are that a stack upgrade will solve your problem, or if it doesn't, you're more likely to get help and your issue solved.


Igmar
Reply all
Reply to author
Forward
0 new messages