java.lang.RuntimeException: PhantomJS exited with code 2

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

,
via playframework.com by Unknown author

Add guice to the dependencies.

libraryDependencies += guice

Solutions on the web

via GitHub by l15k4
, 2 years ago
via GitHub by byron-dupreez
, 1 year ago
Exception while running JS code: TypeError: org.mozilla.javascript.Undefined@15aeb95d is not a function, it is undefined. (Ltutorial_webapp_TutorialApp$.sjsir#17)
via Stack Overflow by prosseek
, 1 year ago
Proguard failed with exit code [1]
via GitHub by mattsap
, 7 months ago
Nonzero exit code: 1
via GitHub by highwater
, 2 years ago
Nonzero exit code: 1
via GitHub by pavelbrylov
, 2 years ago
Nonzero exit code: 1
java.lang.RuntimeException: PhantomJS exited with code 2
at scala.sys.package$.error(package.scala:27)
at scala.scalajs.sbtplugin.env.ExternalJSEnv.runJS(ExternalJSEnv.scala:65)
at utest.jsrunner.JsRunner.doStuff(JsRunner.scala:34)
at utest.runner.GenericRunner$$anonfun$tasks$1$$anonfun$apply$1.apply(GenericRunner.scala:47)
at utest.runner.GenericRunner$$anonfun$tasks$1$$anonfun$apply$1.apply(GenericRunner.scala:47)
at utest.runner.Task.execute(Task.scala:22)

Users with the same issue

7 times, 2 days ago
4 times, 1 month ago
2 times, 2 months ago
4 times, 4 months ago
Once, 4 months ago

Write tip

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