Getting error -1073740791 (0xC0000409) when using javafx application

Answered

I Have the latest drivers since other stuff about this said it was drivers issues

I have a 1080ti with driver 388.71+ Code:

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;

public class BotMain extends Application {

// Bot Main

public static void main(String[] args) {
System.out.println("launching....");
launch(args);
}


@Override
public void start(Stage primaryStage) throws Exception {
System.out.println("Setting Stage");
primaryStage.setTitle("Bot manager");

System.out.println("Setting Burron");
Button button = new Button("Launch Bot");

System.out.println("Setting Layout");
StackPane layout = new StackPane();
System.out.println("Adding stuff to layout");
layout.getChildren().add(button);

System.out.println("Adding Scene");
Scene scene = new Scene(layout, 480, 360);
System.out.println("Set Scene");
primaryStage.setScene(scene);
System.out.println("Showing..");
primaryStage.show();
}

}

so how would i fix this problem?

-1
7 comments

Try another Java version.

0
Avatar
Permanently deleted user

@Serge
I'm using Java 8, i don't think its a good idea to go back in versions

-1

Java 8 has a lot of different build releases. You can try some other build that is after _ in the version.

0
Avatar
Permanently deleted user

@Serge
When using Java 9.0.1 OR Java 1.8_152 it didn't work either still
Process finished with exit code -1073740791 (0xC0000409)
with nothing in console about the debugs i did

0

It's a native crash. Hard to say what causes it. Can you reproduce it on any other system?

0
Avatar
Permanently deleted user

no i can't, from what i heard its a windows registry or gpu drivers issue

0

I doubt it's the GPU driver issue, at least it's not the same issue that was reported and fixed several months ago.

Anyway, there is nothing JetBrains can do about this issue, sorry. Asking at http://stackoverflow.com/ may get you better answers.

0

Please sign in to leave a comment.