Exit code (-1073741819) when i start JavaFX application

0

I created a new JavaFX project in Intellij IDEA 2019 but when I want to start it, the process ends with exit code -1073741819 (0xC0000005) arises. What can be done with this?

My code:

package sample;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class Main extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception{
        Parent root = FXMLLoader.load(getClass().getResource("sample.fxml"));
        primaryStage.setTitle("Hello World");
        primaryStage.setScene(new Scene(root, 300, 275));
        primaryStage.show();
    }


    public static void main(String[] args) {
        launch(args);
    }
}
java
javafx
java-13
asked on Stack Overflow Mar 26, 2020 by Андрей • edited Apr 5, 2021 by Mark Rotteveel

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0