-
Bug
-
Resolution: Incomplete
-
P3
-
8u144, 9
-
x86
-
os_x
FULL PRODUCT VERSION :
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Darwin Lukass-MacBook-Pro.local 17.0.0 Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64 x86_64
EXTRA RELEVANT SYSTEM CONFIGURATION :
Mac OS High Sierra
A DESCRIPTION OF THE PROBLEM :
After installation of Mac OS High Sierra, the FileChooser doesn't work how it should.
After calling showSaveDialog the Exception is shown instantly. With showOpenDialog you first need to select a File of your choice.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a FileChooser and call showSaveDialog
or
Create a FileChooser, call showOpenDialog and select a File of your choice
ACTUAL -
Exception
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Executing /Volumes/Macintosh HD/Users/lukas/GoogleDrive/Programmieren/Java/JavaBugReproduction/dist/run1356557143/JavaBugReproduction.jar using platform /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/bin/java
objc[2865]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff9a225a70) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x12ddefcd8). One of the two will be used. Which one is undefined.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package javabugreproduction;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.stage.FileChooser;
import javafx.stage.Stage;
/**
*
* @author Lukas Resch
*/
public class JavaBugReproduction extends Application {
@Override
public void start(Stage primaryStage) {
Button btn = new Button();
btn.setText("Say 'Hello Exception'");
btn.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
FileChooser chooser = new FileChooser();
chooser.showOpenDialog(primaryStage);
}
});
StackPane root = new StackPane();
root.getChildren().add(btn);
Scene scene = new Scene(root, 300, 250);
primaryStage.setScene(scene);
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Darwin Lukass-MacBook-Pro.local 17.0.0 Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64 x86_64
EXTRA RELEVANT SYSTEM CONFIGURATION :
Mac OS High Sierra
A DESCRIPTION OF THE PROBLEM :
After installation of Mac OS High Sierra, the FileChooser doesn't work how it should.
After calling showSaveDialog the Exception is shown instantly. With showOpenDialog you first need to select a File of your choice.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a FileChooser and call showSaveDialog
or
Create a FileChooser, call showOpenDialog and select a File of your choice
ACTUAL -
Exception
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Executing /Volumes/Macintosh HD/Users/lukas/GoogleDrive/Programmieren/Java/JavaBugReproduction/dist/run1356557143/JavaBugReproduction.jar using platform /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/bin/java
objc[2865]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff9a225a70) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x12ddefcd8). One of the two will be used. Which one is undefined.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package javabugreproduction;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.stage.FileChooser;
import javafx.stage.Stage;
/**
*
* @author Lukas Resch
*/
public class JavaBugReproduction extends Application {
@Override
public void start(Stage primaryStage) {
Button btn = new Button();
btn.setText("Say 'Hello Exception'");
btn.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
FileChooser chooser = new FileChooser();
chooser.showOpenDialog(primaryStage);
}
});
StackPane root = new StackPane();
root.getChildren().add(btn);
Scene scene = new Scene(root, 300, 250);
primaryStage.setScene(scene);
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------