java.lang.IllegalArgumentException: FXML not found for class ui.view.BoardView

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    IllegalArgumentException when using FXML

    Stack Overflow | 4 months ago | Nathan Gingrich
    java.lang.IllegalArgumentException: FXML not found for class ui.view.BoardView

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      FXML not found for class ui.view.BoardView

      at tornadofx.UIComponent$fxml$1.<init>()
    2. tornadofx
      UIComponent.fxml$default
      1. tornadofx.UIComponent$fxml$1.<init>(Component.kt:360)
      2. tornadofx.UIComponent.fxml(Component.kt:353)
      3. tornadofx.UIComponent.fxml$default(Component.kt:353)
      3 frames
    3. ui.view
      BoardView.<init>
      1. ui.view.BoardView.<init>(BoardView.kt:12)
      1 frame
    4. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      5. java.lang.Class.newInstance(Class.java:442)
      5 frames
    5. tornadofx
      App.start
      1. tornadofx.FXKt.find(FX.kt:238)
      2. tornadofx.App.start(App.kt:29)
      2 frames
    6. com.sun.javafx
      PlatformImpl.lambda$null$174
      1. com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$163(LauncherImpl.java:863)
      2. com.sun.javafx.application.PlatformImpl.lambda$runAndWait$176(PlatformImpl.java:326)
      3. com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
      3 frames
    7. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    8. com.sun.javafx
      PlatformImpl.lambda$runLater$175
      1. com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294)
      1 frame
    9. com.sun.glass
      WinApplication.lambda$null$149
      1. com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      2. com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      3. com.sun.glass.ui.win.WinApplication.lambda$null$149(WinApplication.java:191)
      3 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame