-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
8, 9
Having a simple app like:
@Override
public void start(Stage primaryStage) throws Exception {
Scene scene = new Scene(new Label("Hello WORLD!!"));
primaryStage.setScene(scene);
primaryStage.show();
}
When I run it on Mac OS 10.9.3 and click the fullscreen button (the button in the RIGHT corner with the diagonal arrows), and then return from fullscreen (by navigating to the top right corner and click the minimize button in the menubar), the application crashes with the following output. At least when I start the application out of IntelliJ.
(Tested with JDK 8u5 and 8u25)
2014-10-21 16:23:53.257 java[10323:d07] An uncaught exception was raised
2014-10-21 16:23:53.258 java[10323:d07] CALayer position contains NaN: [960 nan]
2014-10-21 16:23:53.258 java[10323:d07] (
0 CoreFoundation 0x00007fff8837425c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8f5b7e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8837410c +[NSException raise:format:] + 204
3 QuartzCore 0x00007fff8c07a25e _ZN2CA5Layer12set_positionERKNS_4Vec2IdEEb + 158
4 QuartzCore 0x00007fff8c07a1b7 -[CALayer setPosition:] + 44
5 QuartzCore 0x00007fff8c07be97 -[CALayer setFrame:] + 858
6 AppKit 0x00007fff863f937e -[_NSFullScreenTransitionOverlayWindow positionLayers] + 1790
7 AppKit 0x00007fff863fa7e7 -[_NSFullScreenTransitionOverlayWindow startExitFullScreenAnimationWithDuration:completionHandler:] + 51
8 AppKit 0x00007fff863fbddb -[_NSFullScreenTransition _startFullScreenTransitionForCGWindow:targetFrame:duration:completionHandler:] + 294
9 AppKit 0x00007fff863fef29 -[_NSWindowFullScreenTransition _exitFullScreenModeForWindow:duration:completionHandler:] + 182
10 AppKit 0x00007fff85e3cf02 __76-[_NSWindowFullScreenTransition exitFullScreenTransitionForWindow:animated:]_block_invoke + 450
11 libxpc.dylib 0x00007fff8e1e1ca2 _xpc_connection_reply_callout + 47
12 libxpc.dylib 0x00007fff8e1e1c2e _xpc_connection_call_reply + 36
13 libdispatch.dylib 0x00007fff8c81b28d _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff8c822ef0 _dispatch_main_queue_callback_4CF + 333
15 CoreFoundation 0x00007fff882db5a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
16 CoreFoundation 0x00007fff882967c4 __CFRunLoopRun + 1636
17 CoreFoundation 0x00007fff88295f25 CFRunLoopRunSpecific + 309
18 HIToolbox 0x00007fff88ffda0d RunCurrentEventLoopInMode + 226
19 HIToolbox 0x00007fff88ffd7b7 ReceiveNextEventCommon + 479
20 HIToolbox 0x00007fff88ffd5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
21 AppKit 0x00007fff85b3a26e _DPSNextEvent + 1434
22 AppKit 0x00007fff85b398bb -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
23 AppKit 0x00007fff85b2d9bc -[NSApplication run] + 553
24 libglass.dylib 0x0000000120f20757 -[GlassApplication runLoop:] + 1783
25 Foundation 0x00007fff8bced13e __NSThreadPerformPerform + 229
26 CoreFoundation 0x00007fff882a5661 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
27 CoreFoundation 0x00007fff88296d12 __CFRunLoopDoSources0 + 242
28 CoreFoundation 0x00007fff8829649f __CFRunLoopRun + 831
29 CoreFoundation 0x00007fff88295f25 CFRunLoopRunSpecific + 309
30 java 0x0000000107fa86cc CreateExecutionEnvironment + 871
31 java 0x0000000107fa465c JLI_Launch + 1952
32 java 0x0000000107faa68a main + 101
33 java 0x0000000107fa3eb4 start + 52
34 ??? 0x0000000000000008 0x0 + 8
)
2014-10-21 16:23:53.258 java[10323:d07] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [960 nan]'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8837425c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8f5b7e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8837410c +[NSException raise:format:] + 204
3 QuartzCore 0x00007fff8c07a25e _ZN2CA5Layer12set_positionERKNS_4Vec2IdEEb + 158
4 QuartzCore 0x00007fff8c07a1b7 -[CALayer setPosition:] + 44
5 QuartzCore 0x00007fff8c07be97 -[CALayer setFrame:] + 858
6 AppKit 0x00007fff863f937e -[_NSFullScreenTransitionOverlayWindow positionLayers] + 1790
7 AppKit 0x00007fff863fa7e7 -[_NSFullScreenTransitionOverlayWindow startExitFullScreenAnimationWithDuration:completionHandler:] + 51
8 AppKit 0x00007fff863fbddb -[_NSFullScreenTransition _startFullScreenTransitionForCGWindow:targetFrame:duration:completionHandler:] + 294
9 AppKit 0x00007fff863fef29 -[_NSWindowFullScreenTransition _exitFullScreenModeForWindow:duration:completionHandler:] + 182
10 AppKit 0x00007fff85e3cf02 __76-[_NSWindowFullScreenTransition exitFullScreenTransitionForWindow:animated:]_block_invoke + 450
11 libxpc.dylib 0x00007fff8e1e1ca2 _xpc_connection_reply_callout + 47
12 libxpc.dylib 0x00007fff8e1e1c2e _xpc_connection_call_reply + 36
13 libdispatch.dylib 0x00007fff8c81b28d _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff8c822ef0 _dispatch_main_queue_callback_4CF + 333
15 CoreFoundation 0x00007fff882db5a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
16 CoreFoundation 0x00007fff882967c4 __CFRunLoopRun + 1636
17 CoreFoundation 0x00007fff88295f25 CFRunLoopRunSpecific + 309
18 HIToolbox 0x00007fff88ffda0d RunCurrentEventLoopInMode + 226
19 HIToolbox 0x00007fff88ffd7b7 ReceiveNextEventCommon + 479
20 HIToolbox 0x00007fff88ffd5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
21 AppKit 0x00007fff85b3a26e _DPSNextEvent + 1434
22 AppKit 0x00007fff85b398bb -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
23 AppKit 0x00007fff85b2d9bc -[NSApplication run] + 553
24 libglass.dylib 0x0000000120f20757 -[GlassApplication runLoop:] + 1783
25 Foundation 0x00007fff8bced13e __NSThreadPerformPerform + 229
26 CoreFoundation 0x00007fff882a5661 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
27 CoreFoundation 0x00007fff88296d12 __CFRunLoopDoSources0 + 242
28 CoreFoundation 0x00007fff8829649f __CFRunLoopRun + 831
29 CoreFoundation 0x00007fff88295f25 CFRunLoopRunSpecific + 309
30 java 0x0000000107fa86cc CreateExecutionEnvironment + 871
31 java 0x0000000107fa465c JLI_Launch + 1952
32 java 0x0000000107faa68a main + 101
33 java 0x0000000107fa3eb4 start + 52
34 ??? 0x0000000000000008 0x0 + 8
)
libc++abi.dylib: terminating with uncaught exception of type NSException
@Override
public void start(Stage primaryStage) throws Exception {
Scene scene = new Scene(new Label("Hello WORLD!!"));
primaryStage.setScene(scene);
primaryStage.show();
}
When I run it on Mac OS 10.9.3 and click the fullscreen button (the button in the RIGHT corner with the diagonal arrows), and then return from fullscreen (by navigating to the top right corner and click the minimize button in the menubar), the application crashes with the following output. At least when I start the application out of IntelliJ.
(Tested with JDK 8u5 and 8u25)
2014-10-21 16:23:53.257 java[10323:d07] An uncaught exception was raised
2014-10-21 16:23:53.258 java[10323:d07] CALayer position contains NaN: [960 nan]
2014-10-21 16:23:53.258 java[10323:d07] (
0 CoreFoundation 0x00007fff8837425c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8f5b7e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8837410c +[NSException raise:format:] + 204
3 QuartzCore 0x00007fff8c07a25e _ZN2CA5Layer12set_positionERKNS_4Vec2IdEEb + 158
4 QuartzCore 0x00007fff8c07a1b7 -[CALayer setPosition:] + 44
5 QuartzCore 0x00007fff8c07be97 -[CALayer setFrame:] + 858
6 AppKit 0x00007fff863f937e -[_NSFullScreenTransitionOverlayWindow positionLayers] + 1790
7 AppKit 0x00007fff863fa7e7 -[_NSFullScreenTransitionOverlayWindow startExitFullScreenAnimationWithDuration:completionHandler:] + 51
8 AppKit 0x00007fff863fbddb -[_NSFullScreenTransition _startFullScreenTransitionForCGWindow:targetFrame:duration:completionHandler:] + 294
9 AppKit 0x00007fff863fef29 -[_NSWindowFullScreenTransition _exitFullScreenModeForWindow:duration:completionHandler:] + 182
10 AppKit 0x00007fff85e3cf02 __76-[_NSWindowFullScreenTransition exitFullScreenTransitionForWindow:animated:]_block_invoke + 450
11 libxpc.dylib 0x00007fff8e1e1ca2 _xpc_connection_reply_callout + 47
12 libxpc.dylib 0x00007fff8e1e1c2e _xpc_connection_call_reply + 36
13 libdispatch.dylib 0x00007fff8c81b28d _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff8c822ef0 _dispatch_main_queue_callback_4CF + 333
15 CoreFoundation 0x00007fff882db5a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
16 CoreFoundation 0x00007fff882967c4 __CFRunLoopRun + 1636
17 CoreFoundation 0x00007fff88295f25 CFRunLoopRunSpecific + 309
18 HIToolbox 0x00007fff88ffda0d RunCurrentEventLoopInMode + 226
19 HIToolbox 0x00007fff88ffd7b7 ReceiveNextEventCommon + 479
20 HIToolbox 0x00007fff88ffd5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
21 AppKit 0x00007fff85b3a26e _DPSNextEvent + 1434
22 AppKit 0x00007fff85b398bb -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
23 AppKit 0x00007fff85b2d9bc -[NSApplication run] + 553
24 libglass.dylib 0x0000000120f20757 -[GlassApplication runLoop:] + 1783
25 Foundation 0x00007fff8bced13e __NSThreadPerformPerform + 229
26 CoreFoundation 0x00007fff882a5661 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
27 CoreFoundation 0x00007fff88296d12 __CFRunLoopDoSources0 + 242
28 CoreFoundation 0x00007fff8829649f __CFRunLoopRun + 831
29 CoreFoundation 0x00007fff88295f25 CFRunLoopRunSpecific + 309
30 java 0x0000000107fa86cc CreateExecutionEnvironment + 871
31 java 0x0000000107fa465c JLI_Launch + 1952
32 java 0x0000000107faa68a main + 101
33 java 0x0000000107fa3eb4 start + 52
34 ??? 0x0000000000000008 0x0 + 8
)
2014-10-21 16:23:53.258 java[10323:d07] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [960 nan]'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8837425c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8f5b7e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8837410c +[NSException raise:format:] + 204
3 QuartzCore 0x00007fff8c07a25e _ZN2CA5Layer12set_positionERKNS_4Vec2IdEEb + 158
4 QuartzCore 0x00007fff8c07a1b7 -[CALayer setPosition:] + 44
5 QuartzCore 0x00007fff8c07be97 -[CALayer setFrame:] + 858
6 AppKit 0x00007fff863f937e -[_NSFullScreenTransitionOverlayWindow positionLayers] + 1790
7 AppKit 0x00007fff863fa7e7 -[_NSFullScreenTransitionOverlayWindow startExitFullScreenAnimationWithDuration:completionHandler:] + 51
8 AppKit 0x00007fff863fbddb -[_NSFullScreenTransition _startFullScreenTransitionForCGWindow:targetFrame:duration:completionHandler:] + 294
9 AppKit 0x00007fff863fef29 -[_NSWindowFullScreenTransition _exitFullScreenModeForWindow:duration:completionHandler:] + 182
10 AppKit 0x00007fff85e3cf02 __76-[_NSWindowFullScreenTransition exitFullScreenTransitionForWindow:animated:]_block_invoke + 450
11 libxpc.dylib 0x00007fff8e1e1ca2 _xpc_connection_reply_callout + 47
12 libxpc.dylib 0x00007fff8e1e1c2e _xpc_connection_call_reply + 36
13 libdispatch.dylib 0x00007fff8c81b28d _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff8c822ef0 _dispatch_main_queue_callback_4CF + 333
15 CoreFoundation 0x00007fff882db5a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
16 CoreFoundation 0x00007fff882967c4 __CFRunLoopRun + 1636
17 CoreFoundation 0x00007fff88295f25 CFRunLoopRunSpecific + 309
18 HIToolbox 0x00007fff88ffda0d RunCurrentEventLoopInMode + 226
19 HIToolbox 0x00007fff88ffd7b7 ReceiveNextEventCommon + 479
20 HIToolbox 0x00007fff88ffd5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
21 AppKit 0x00007fff85b3a26e _DPSNextEvent + 1434
22 AppKit 0x00007fff85b398bb -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
23 AppKit 0x00007fff85b2d9bc -[NSApplication run] + 553
24 libglass.dylib 0x0000000120f20757 -[GlassApplication runLoop:] + 1783
25 Foundation 0x00007fff8bced13e __NSThreadPerformPerform + 229
26 CoreFoundation 0x00007fff882a5661 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
27 CoreFoundation 0x00007fff88296d12 __CFRunLoopDoSources0 + 242
28 CoreFoundation 0x00007fff8829649f __CFRunLoopRun + 831
29 CoreFoundation 0x00007fff88295f25 CFRunLoopRunSpecific + 309
30 java 0x0000000107fa86cc CreateExecutionEnvironment + 871
31 java 0x0000000107fa465c JLI_Launch + 1952
32 java 0x0000000107faa68a main + 101
33 java 0x0000000107fa3eb4 start + 52
34 ??? 0x0000000000000008 0x0 + 8
)
libc++abi.dylib: terminating with uncaught exception of type NSException
- relates to
-
JDK-8087498 [Mac] Full screen mode fails for certain StageStyles
-
- Resolved
-