java.lang.RuntimeException: Exception in Application stop method

Stack Overflow | Dylan52 | 8 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

    Javafx - save value currently in textfield to external txt file

    Stack Overflow | 7 months ago | Dylan52
    java.lang.RuntimeException: Exception in Application stop method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:922)

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at sample.MainPageController.saveData()
    2. Java EE Connector Architecture API Specification
      Main.stop
      1. sample.MainPageController.saveData(MainPageController.java:99)
      2. sample.Main.stop(Main.java:73)
      2 frames
    3. com.sun.javafx
      PlatformImpl.lambda$null$173
      1. com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$163(LauncherImpl.java:882)
      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
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. com.sun.javafx
      PlatformImpl.lambda$runLater$174
      1. com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
      1 frame
    6. com.sun.glass
      WinApplication._runLoop
      1. com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      2. com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      2 frames