You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following exception if I try to get the health status of my application:
! @6cl8bmceg - Internal server error, for request [GET /admin.json/health] ->
play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[IllegalAccessError: tried to access class sun.management.ManagementFactory from class com.wordnik.util.perf.HealthSnapshot$]]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.4]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.4]
at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2]
at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.4]
at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2]
at akka.dispatch.Mailbox.run(Mailbox.scala:179) [akka-actor.jar:2.0.2]
at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) [akka-actor.jar:2.0.2]
at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) [akka-actor.jar:2.0.2]
at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [akka-actor.jar:2.0.2]
at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) [akka-actor.jar:2.0.2]
at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [akka-actor.jar:2.0.2]
Caused by: java.lang.IllegalAccessError: tried to access class sun.management.ManagementFactory from class com.wordnik.util.perf.HealthSnapshot$
at com.wordnik.util.perf.HealthSnapshot$.get(Health.scala:69) ~[common-utils_2.9.1-1.1.4.jar:1.1.4]
at controllers.HealthController$$anonfun$getHealth$1.apply(HealthController.scala:36) ~[swagger-play2-utils_2.9.1-1.2.0.jar:1.2.0]
at controllers.HealthController$$anonfun$getHealth$1.apply(HealthController.scala:34) ~[swagger-play2-utils_2.9.1-1.2.0.jar:1.2.0]
at play.api.mvc.Action$$anon$1.apply(Action.scala:170) ~[play_2.9.1.jar:2.0.4]
at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.4]
at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) ~[play_2.9.1.jar:2.0.4]
at play.utils.Threads$.withContextClassLoader(Threads.scala:17) ~[play_2.9.1.jar:2.0.4]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) [play_2.9.1.jar:2.0.4]
... 11 common frames omitted
Ping works as expected.
The text was updated successfully, but these errors were encountered:
I get the following exception if I try to get the health status of my application:
Ping works as expected.
The text was updated successfully, but these errors were encountered: