-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8u131
-
x86
-
os_x
FULL PRODUCT VERSION :
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
macOS Sierra 10.12.4 (16E195)
EXTRA RELEVANT SYSTEM CONFIGURATION :
Macbook Pro 15-inch, 2016
A DESCRIPTION OF THE PROBLEM :
I'm developing a JavaFX application. When my application presents a file selection dialog the macbook pro's touch bar presents the Cancel and Open buttons as expected. Touching open results in the following exception
2017-05-16 05:13:36.756 java[74340:51123711] *** Assertion failure in -[NSTouch normalizedPosition], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.82.104/AppKit.subproj/NSTouch.m:87
2017-05-16 05:13:36.757 java[74340:51123711] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot get normalizedPosition for this type of NSTouch'
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
0. Be using a macbook pro with touchbar
1. Make a javafx app that prompts the user to find a file using the JavaFX file browser
2. Highlight a file in the browser
3. Touch "Okay" on the touchbar
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Dialog should close and return the path to the selected file.
ACTUAL -
Program crashes, console reports
ERROR MESSAGES/STACK TRACES THAT OCCUR :
*** Assertion failure in -[NSTouch normalizedPosition], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.82.104/AppKit.subproj/NSTouch.m:87
and
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot get normalizedPosition for this type of NSTouch'
```
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
macOS Sierra 10.12.4 (16E195)
EXTRA RELEVANT SYSTEM CONFIGURATION :
Macbook Pro 15-inch, 2016
A DESCRIPTION OF THE PROBLEM :
I'm developing a JavaFX application. When my application presents a file selection dialog the macbook pro's touch bar presents the Cancel and Open buttons as expected. Touching open results in the following exception
2017-05-16 05:13:36.756 java[74340:51123711] *** Assertion failure in -[NSTouch normalizedPosition], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.82.104/AppKit.subproj/NSTouch.m:87
2017-05-16 05:13:36.757 java[74340:51123711] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot get normalizedPosition for this type of NSTouch'
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
0. Be using a macbook pro with touchbar
1. Make a javafx app that prompts the user to find a file using the JavaFX file browser
2. Highlight a file in the browser
3. Touch "Okay" on the touchbar
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Dialog should close and return the path to the selected file.
ACTUAL -
Program crashes, console reports
ERROR MESSAGES/STACK TRACES THAT OCCUR :
*** Assertion failure in -[NSTouch normalizedPosition], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.82.104/AppKit.subproj/NSTouch.m:87
and
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot get normalizedPosition for this type of NSTouch'
```
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8172847 [macos] If you hit the escape key repeatedly to close the subwindow, the process crashes
-
- Resolved
-