Jump to content
Excelsior Forums

rwhite226

Members
  • Content count

    0
  • Joined

  • Last visited

Posts posted by rwhite226


  1. I'm trying to use kotlin with tornadofx (a kotlin javafx wrapper.) I keep getting errors similar to this one.

    
    Exception in Application constructor
    Exception in thread "main" java.lang.RuntimeException: Unable to construct Application instance: class TodoTestApp
    	at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
    	at com.sun.javafx.application.LauncherImpl.<unknown>(Unknown Source)
    	at com.sun.javafx.application.LauncherImpl$$Lambda$37.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.reflect.InvocationTargetException
    	at sun.reflect.NativeConstructorAccessorImpl.<unknown>(Unknown Source)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    	at java.lang.reflect.Constructor.newInstance(Unknown Source)
    	at com.sun.javafx.application.LauncherImpl.<unknown>(Unknown Source)
    	at com.sun.javafx.application.LauncherImpl$$Lambda$231.run(Unknown Source)
    	at com.sun.javafx.application.PlatformImpl.<unknown>(Unknown Source)
    	at com.sun.javafx.application.PlatformImpl$$Lambda$74.run(Unknown Source)
    	at com.sun.javafx.application.PlatformImpl.<unknown>(Unknown Source)
    	at com.sun.javafx.application.PlatformImpl$$Lambda$216.run(Unknown Source)
    	at java.security.AccessController.<unknown>(Unknown Source)
    	at com.sun.javafx.application.PlatformImpl.<unknown>(Unknown Source)
    	at com.sun.javafx.application.PlatformImpl$$Lambda$62.run(Unknown Source)
    	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
    	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    	at com.sun.glass.ui.win.WinApplication.<unknown>(Unknown Source)
    	at com.sun.glass.ui.win.WinApplication$$Lambda$108.run(Unknown Source)
    	... 1 more
    Caused by: java.lang.VerifyError: class: "tornadofx/CSSKt", method: "toSelector", signature: "(Ljava/lang/String;)Ltornadofx/CssSelector;", offset 123
    Uninitialized object exists on backward branch 77
    	at tornadofx.Stylesheet.<clinit>(Unknown Source)
    	at tornadofx.App.<init>(Unknown Source)
    	at tornadofx.WorkspaceApp.<init>(Unknown Source)
    	at TodoTestApp.<init>(Unknown Source)
    	... 18 more

    Here is a link to a demo app that exhibits the issue https://github.com/rwhite226/tornadofx-bug-demo

×