io.datafx.controller.flow.FlowException: io.datafx.controller.FxmlLoadException: java.lang.reflect.InvocationTargetException

Stack Overflow | kevin caradant | 5 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

    Why I get java.lang.NullPointerException with io.datafx?

    Stack Overflow | 5 months ago | kevin caradant
    io.datafx.controller.flow.FlowException: io.datafx.controller.FxmlLoadException: java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at maxiRename.controller.SideMenuController.init()
    2. maxiRename.controller
      SideMenuController.init
      1. maxiRename.controller.SideMenuController.init(SideMenuController.java:65)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    4. io.datafx.controller
      FlowHandler.start
      1. io.datafx.controller.ViewFactory.createByController(ViewFactory.java:175)
      2. io.datafx.controller.flow.FlowHandler.start(FlowHandler.java:140)
      3. io.datafx.controller.flow.FlowHandler.start(FlowHandler.java:101)
      3 frames
    5. maxiRename.controller
      MainController.initialize
      1. maxiRename.controller.MainController.initialize(MainController.java:88)
      1 frame
    6. javafx.fxml
      FXMLLoader.load
      1. javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
      2. javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
      3. javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
      3 frames
    7. io.datafx.controller
      FlowHandler.start
      1. io.datafx.controller.ViewFactory.createByController(ViewFactory.java:161)
      2. io.datafx.controller.flow.FlowHandler.start(FlowHandler.java:140)
      2 frames
    8. maxiRenameApp
      MainMaxiFilm.start
      1. maxiRenameApp.MainMaxiFilm.start(MainMaxiFilm.java:27)
      1 frame
    9. 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
    10. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    11. com.sun.javafx
      PlatformImpl.lambda$runLater$174
      1. com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
      1 frame
    12. 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
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame