javafx.fxml.LoadException: /C:/Users/dcg601/workspace/javafx/bin/application/Main.fxml

Stack Overflow | Yannis P. | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    RichTextFx: How to add binding to StyleClassedTextArea

    Stack Overflow | 7 months ago | Yannis P.
    javafx.fxml.LoadException: /C:/Users/dcg601/workspace/javafx/bin/application/Main.fxml

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.reactfx.value.SuspendableValWrapper cannot be cast to javafx.beans.value.ObservableStringValue

      at application.Controller.initialize()
    2. application
      Controller.initialize
      1. application.Controller.initialize(Controller.java:20)
      1 frame
    3. javafx.fxml
      FXMLLoader.load
      1. javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
      2. javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
      3. javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3214)
      4. javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3175)
      5. javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3148)
      6. javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3124)
      7. javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3104)
      8. javafx.fxml.FXMLLoader.load(FXMLLoader.java:3097)
      8 frames
    4. application
      Main.start
      1. application.Main.start(Main.java:22)
      1 frame
    5. com.sun.javafx
      PlatformImpl.lambda$null$173
      1. com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
      2. com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
      3. com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
      3 frames
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. com.sun.javafx
      PlatformImpl.lambda$runLater$174
      1. com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
      1 frame
    8. com.sun.glass
      WinApplication.lambda$null$148
      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$148(WinApplication.java:191)
      3 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame