-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
jfx23
-
x86_64
-
windows_10
ADDITIONAL SYSTEM INFORMATION :
Windows 10 Java 23.0.1 JavaFX 23
A DESCRIPTION OF THE PROBLEM :
A JVM crash happens when closing the application
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. I created a class extending javafx Stage with almost no code
a. not modal
b. when showned I call showAndWait
c. no specific close button
2. I added it to an action menu item
3. I select the menu item multiple times
4. I close the Application
Results:
The stage does not show and JVM crashes systematically
ACTUAL -
JVM crash
---------- BEGIN SOURCE ----------
Here is the show function:
private void showPerformanceView() {
JFXPerformanceView perfViewDialog = new JFXPerformanceView(serverEngine);
JFXGUITools guiTools = JFXGUITools.getInstance();
perfViewDialog.createPanel(showPulseFPS, showProcessingTime, showUsedMemory, showBufferSize, guiTools.getTimerStep());
// perfViewDialog.initModality(Modality.WINDOW_MODAL);
Stage stage = jfxWrapper.getServerFrame();
perfViewDialog.initOwner(stage);
perfViewDialog.setX(stage.getX());
perfViewDialog.setY(stage.getY());
perfViewDialog.showAndWait();
}
Here is an extract of the JFXPerformanceView class:
public class JFXPerformanceView extends Stage {
private final ServerEngine serverEngine;
public JFXPerformanceView(ServerEngine serverEngine) {
this.serverEngine = serverEngine;
}
public void createPanel(boolean showPulseFPS, boolean showProcessingTime, boolean showUsedMemory, boolean showBufferSize, int timerStep) {
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
none known
FREQUENCY : always
Windows 10 Java 23.0.1 JavaFX 23
A DESCRIPTION OF THE PROBLEM :
A JVM crash happens when closing the application
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. I created a class extending javafx Stage with almost no code
a. not modal
b. when showned I call showAndWait
c. no specific close button
2. I added it to an action menu item
3. I select the menu item multiple times
4. I close the Application
Results:
The stage does not show and JVM crashes systematically
ACTUAL -
JVM crash
---------- BEGIN SOURCE ----------
Here is the show function:
private void showPerformanceView() {
JFXPerformanceView perfViewDialog = new JFXPerformanceView(serverEngine);
JFXGUITools guiTools = JFXGUITools.getInstance();
perfViewDialog.createPanel(showPulseFPS, showProcessingTime, showUsedMemory, showBufferSize, guiTools.getTimerStep());
// perfViewDialog.initModality(Modality.WINDOW_MODAL);
Stage stage = jfxWrapper.getServerFrame();
perfViewDialog.initOwner(stage);
perfViewDialog.setX(stage.getX());
perfViewDialog.setY(stage.getY());
perfViewDialog.showAndWait();
}
Here is an extract of the JFXPerformanceView class:
public class JFXPerformanceView extends Stage {
private final ServerEngine serverEngine;
public JFXPerformanceView(ServerEngine serverEngine) {
this.serverEngine = serverEngine;
}
public void createPanel(boolean showPulseFPS, boolean showProcessingTime, boolean showUsedMemory, boolean showBufferSize, int timerStep) {
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
none known
FREQUENCY : always