play.api.PlayException

Cannot init the Global object[null]


Samebug tips1

Add guice to the dependencies.

libraryDependencies += guice

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web35

Solution icon of github
Cannot init the Global object[null]

Solution icon of googlegroups
Cannot init the Global object[null]

Solution icon of stackoverflow
Cannot init the Global object[null]

Solution icon of stackoverflow
Cannot init the Global object[Global : Unsupported major.minor version 52.0]

Solution icon of youtrack
via YouTrack by Unknown author, 1 year ago
Cannot init the Global object[Global : Unsupported major.minor version 52.0]

Solution icon of github
Cannot init the Global object[neo4j.services.Neo4JServiceProvider cannot be cast to neo4j.services.Neo4JServiceProvider]

Solution icon of stackoverflow
Cannot init the Global object[Error creating bean with name 'org.apache.cxf.transport.play.CxfController#0' defined in class path resource [cxf.xml]: Bean instantiation via factory method failed; nested exception is

Solution icon of stackoverflow
Cannot init the Global object[Error creating bean with name 'org.apache.cxf.transport.play.CxfController#0' defined in class path resource [cxf.xml]: Bean instantiation via factory method failed; nested exception is

Solution icon of github
Cannot load plugin [Plugin [service.SecureSocialClubService] cannot been instantiated.]

Solution icon of github
Cannot load Driver[Driver [org.neo4j.jdbc.BaseDriver] cannot be instantiated.]

Stack trace

  • play.api.PlayException: Cannot init the Global object[null] at play.api.WithDefaultGlobal$$anonfun$play$api$WithDefaultGlobal$$globalInstance$1.apply(Application.scala:55)[play_2.10.jar:2.2.3] at play.api.WithDefaultGlobal$$anonfun$play$api$WithDefaultGlobal$$globalInstance$1.apply(Application.scala:49)[play_2.10.jar:2.2.3] at play.utils.Threads$.withContextClassLoader(Threads.scala:18)[play_2.10.jar:2.2.3] at play.api.WithDefaultGlobal$class.play$api$WithDefaultGlobal$$globalInstance(Application.scala:48)[play_2.10.jar:2.2.3] at play.api.DefaultApplication.play$api$WithDefaultGlobal$$globalInstance$lzycompute(Application.scala:399)[play_2.10.jar:2.2.3] at play.api.DefaultApplication.play$api$WithDefaultGlobal$$globalInstance(Application.scala:399)[play_2.10.jar:2.2.3] Caused by: java.lang.ExceptionInInitializerError: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.7.0_65] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[na:1.7.0_65] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.7.0_65] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[na:1.7.0_65] at java.lang.Class.newInstance(Class.java:379)[na:1.7.0_65] at play.api.WithDefaultGlobal$class.play$api$WithDefaultGlobal$$javaGlobal(Application.scala:28)[play_2.10.jar:2.2.3] Caused by: java.lang.RuntimeException: There is no started application at scala.sys.package$.error(package.scala:27)[scala-library.jar:na] at play.api.Play$$anonfun$current$1.apply(Play.scala:68)[play_2.10.jar:2.2.3] at play.api.Play$$anonfun$current$1.apply(Play.scala:68)[play_2.10.jar:2.2.3] at scala.Option.getOrElse(Option.scala:120)[scala-library.jar:na] at play.api.Play$.current(Play.scala:68)[play_2.10.jar:2.2.3] at play.api.Play.current(Play.scala)[play_2.10.jar:2.2.3]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 8 months ago
Once, 4 months ago
2 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
92 more bugmates