Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start application: JavaScript exception #8

Open
Sciss opened this issue Dec 25, 2017 · 1 comment
Open

Can't start application: JavaScript exception #8

Sciss opened this issue Dec 25, 2017 · 1 comment

Comments

@Sciss
Copy link

Sciss commented Dec 25, 2017

I'm getting this error when launching the jar coming out of sbt assembly:

Exception in thread "JavaFX Application Thread" netscape.javascript.JSException: TypeError: undefined is not a function
	at com.sun.webkit.dom.JSObject.fwkMakeException(JSObject.java:146)
	at com.sun.webkit.WebPage.twkExecuteScript(Native Method)
	at com.sun.webkit.WebPage.executeScript(WebPage.java:1509)
	at javafx.scene.web.WebEngine.executeScript(WebEngine.java:1005)
	at org.scalaconsole.fxui.main.MainController.$anonfun$initWebView$3(MainController.scala:199)
	at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:182)
	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
	at javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)
	at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)
	at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)
	at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
	at javafx.scene.web.WebEngine$LoadWorker.updateState(WebEngine.java:1287)
	at javafx.scene.web.WebEngine$LoadWorker.dispatchLoadEvent(WebEngine.java:1398)
	at javafx.scene.web.WebEngine$LoadWorker.access$1200(WebEngine.java:1280)
	at javafx.scene.web.WebEngine$PageLoadListener.dispatchLoadEvent(WebEngine.java:1267)
	at com.sun.webkit.WebPage.fireLoadEvent(WebPage.java:2499)
	at com.sun.webkit.WebPage.fwkFireLoadEvent(WebPage.java:2343)
	at com.sun.webkit.network.URLLoader.twkDidFail(Native Method)
	at com.sun.webkit.network.URLLoader.notifyDidFail(URLLoader.java:883)
	at com.sun.webkit.network.URLLoader.lambda$didFail$6(URLLoader.java:866)
	at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.lambda$null$5(GtkApplication.java:139)
	at java.lang.Thread.run(Thread.java:748)
@Sciss Sciss changed the title Can Can't start application: JavaScript exception Dec 25, 2017
@Centaur
Copy link
Owner

Centaur commented Dec 26, 2017

ScalaConsole已经停止维护。请使用 scastie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants