-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
None
-
None
-
Mac OSX, in an app set up with the sandbox (specifically a locally installed mac app store app).
When running a sandboxed JavaFX app packaged for the Mac App Store the file open dialog causes the app to bomb out. Here's a snippet from the crash report:
Application Specific Information:
*** Terminating app due to uncaught exception 'NSObjectNotAvailableException', reason: 'GlassOpenPanel is not a supported subclass for sandboxing'
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x000000010c0a077c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000010bd3c57d objc_exception_throw + 43
2 CoreFoundation 0x000000010c0a062d +[NSException raise:format:] + 205
3 AppKit 0x000000010cfa3ab1 +[NSSavePanel newRemotePanel] + 157
4 AppKit 0x000000010cfa3c03 +[NSSavePanel _crunchyRawUnbonedPanel] + 122
5 libglass.dylib 0x0000000133c591cf Java_com_sun_glass_ui_mac_MacCommonDialogs__1showFileOpenChooser + 319
6 ??? 0x000000011740b66e 0x0 + 4685084270
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x000000011124a37a __pthread_kill + 10
1 libsystem_c.dylib 0x000000011113f62b abort + 129
2 libc++abi.dylib 0x0000000110ef4a21 abort_message + 257
3 libc++abi.dylib 0x0000000110f1c9d1 default_terminate_handler() + 267
4 libobjc.A.dylib 0x000000010bd4050d _objc_terminate() + 103
5 libc++abi.dylib 0x0000000110f1a0a1 std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x0000000110f19b30 __cxa_throw + 121
7 libobjc.A.dylib 0x000000010bd3c6a7 objc_exception_throw + 341
8 com.apple.CoreFoundation 0x000000010c0a062d +[NSException raise:format:] + 205
9 com.apple.AppKit 0x000000010cfa3ab1 +[NSSavePanel newRemotePanel] + 157
10 com.apple.AppKit 0x000000010cfa3c03 +[NSSavePanel _crunchyRawUnbonedPanel] + 122
11 libglass.dylib 0x0000000133c591cf Java_com_sun_glass_ui_mac_MacCommonDialogs__1showFileOpenChooser + 319
12 ??? 0x000000011740b66e 0 + 4685084270
13 ??? 0x00000001173fe210 0 + 4685029904
14 ??? 0x00000001173fe210 0 + 4685029904
15 ??? 0x00000001173fe210 0 + 4685029904
16 ??? 0x00000001173fe210 0 + 4685029904
17 ??? 0x00000001173fe210 0 + 4685029904
18 ??? 0x00000001173fe210 0 + 4685029904
19 ??? 0x00000001173fe210 0 + 4685029904
20 ??? 0x00000001173f74e7 0 + 4685001959
21 libjvm.dylib 0x00000001165d44fa JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
22 libjvm.dylib 0x000000011679924c Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*) + 3576
23 libjvm.dylib 0x0000000116799764 Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*) + 364
24 libjvm.dylib 0x0000000116621974 JVM_InvokeMethod + 358
25 ??? 0x000000011782292d 0 + 4689373485
26 ??? 0x0000000117835e54 0 + 4689452628
27 ??? 0x00000001173fe325 0 + 4685030181
28 ??? 0x00000001173fe2e0 0 + 4685030112
29 ??? 0x0000000117d3ab0c 0 + 4694715148
30 ??? 0x00000001173fe2e0 0 + 4685030112
31 ??? 0x00000001173fe2e0 0 + 4685030112
32 ??? 0x00000001173fe2e0 0 + 4685030112
33 ??? 0x00000001173fe2e0 0 + 4685030112
34 ??? 0x0000000117d7c2c4 0 + 4694983364
35 ??? 0x00000001173fe2e0 0 + 4685030112
36 ??? 0x00000001173fe325 0 + 4685030181
37 ??? 0x00000001173fe210 0 + 4685029904
38 ??? 0x00000001173f74e7 0 + 4685001959
39 libjvm.dylib 0x00000001165d44fa JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
40 libjvm.dylib 0x0000000116629c86 JVM_DoPrivileged + 1206
41 ??? 0x0000000117d15255 0 + 4694561365
42 ??? 0x00000001173fe210 0 + 4685029904
43 ??? 0x0000000117dd1c8c 0 + 4695334028
44 libjvm.dylib 0x00000001165d44fa JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
45 libjvm.dylib 0x0000000116609364 jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) + 763
46 libjvm.dylib 0x00000001165fbff8 jni_CallVoidMethod + 363
47 libglass.dylib 0x0000000133c6f644 -[GlassViewDelegate sendJavaMouseEvent:] + 1940
48 com.apple.AppKit 0x000000010d117c9d -[NSWindow _reallySendEvent:] + 801
49 com.apple.AppKit 0x000000010cbad0f4 -[NSWindow sendEvent:] + 368
50 libglass.dylib 0x0000000133c72340 -[GlassWindow_Normal sendEvent:] + 112
51 com.apple.AppKit 0x000000010cb5eeac -[NSApplication sendEvent:] + 2148
52 com.apple.AppKit 0x000000010c9eadc8 -[NSApplication run] + 711
53 libglass.dylib 0x0000000133c55fb5 -[GlassApplication runLoop:] + 1701
54 com.apple.Foundation 0x000000010c4bdee8 __NSThreadPerformPerform + 293
55 com.apple.CoreFoundation 0x000000010bfc00b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
56 com.apple.CoreFoundation 0x000000010bfb1b2d __CFRunLoopDoSources0 + 269
57 com.apple.CoreFoundation 0x000000010bfb117b __CFRunLoopRun + 923
58 com.apple.CoreFoundation 0x000000010bfb0b98 CFRunLoopRunSpecific + 296
59 libjli.dylib 0x0000000114a6eb33 CreateExecutionEnvironment + 871
60 libjli.dylib 0x0000000114a6aad4 JLI_Launch + 1952
61 com.numisight.explorer.Explorer 0x000000010bd12765 launch + 3029
62 com.numisight.explorer.Explorer 0x000000010bd11366 main + 70
63 com.numisight.explorer.Explorer 0x000000010bd11314 start + 52
Application Specific Information:
*** Terminating app due to uncaught exception 'NSObjectNotAvailableException', reason: 'GlassOpenPanel is not a supported subclass for sandboxing'
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x000000010c0a077c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000010bd3c57d objc_exception_throw + 43
2 CoreFoundation 0x000000010c0a062d +[NSException raise:format:] + 205
3 AppKit 0x000000010cfa3ab1 +[NSSavePanel newRemotePanel] + 157
4 AppKit 0x000000010cfa3c03 +[NSSavePanel _crunchyRawUnbonedPanel] + 122
5 libglass.dylib 0x0000000133c591cf Java_com_sun_glass_ui_mac_MacCommonDialogs__1showFileOpenChooser + 319
6 ??? 0x000000011740b66e 0x0 + 4685084270
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x000000011124a37a __pthread_kill + 10
1 libsystem_c.dylib 0x000000011113f62b abort + 129
2 libc++abi.dylib 0x0000000110ef4a21 abort_message + 257
3 libc++abi.dylib 0x0000000110f1c9d1 default_terminate_handler() + 267
4 libobjc.A.dylib 0x000000010bd4050d _objc_terminate() + 103
5 libc++abi.dylib 0x0000000110f1a0a1 std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x0000000110f19b30 __cxa_throw + 121
7 libobjc.A.dylib 0x000000010bd3c6a7 objc_exception_throw + 341
8 com.apple.CoreFoundation 0x000000010c0a062d +[NSException raise:format:] + 205
9 com.apple.AppKit 0x000000010cfa3ab1 +[NSSavePanel newRemotePanel] + 157
10 com.apple.AppKit 0x000000010cfa3c03 +[NSSavePanel _crunchyRawUnbonedPanel] + 122
11 libglass.dylib 0x0000000133c591cf Java_com_sun_glass_ui_mac_MacCommonDialogs__1showFileOpenChooser + 319
12 ??? 0x000000011740b66e 0 + 4685084270
13 ??? 0x00000001173fe210 0 + 4685029904
14 ??? 0x00000001173fe210 0 + 4685029904
15 ??? 0x00000001173fe210 0 + 4685029904
16 ??? 0x00000001173fe210 0 + 4685029904
17 ??? 0x00000001173fe210 0 + 4685029904
18 ??? 0x00000001173fe210 0 + 4685029904
19 ??? 0x00000001173fe210 0 + 4685029904
20 ??? 0x00000001173f74e7 0 + 4685001959
21 libjvm.dylib 0x00000001165d44fa JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
22 libjvm.dylib 0x000000011679924c Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*) + 3576
23 libjvm.dylib 0x0000000116799764 Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*) + 364
24 libjvm.dylib 0x0000000116621974 JVM_InvokeMethod + 358
25 ??? 0x000000011782292d 0 + 4689373485
26 ??? 0x0000000117835e54 0 + 4689452628
27 ??? 0x00000001173fe325 0 + 4685030181
28 ??? 0x00000001173fe2e0 0 + 4685030112
29 ??? 0x0000000117d3ab0c 0 + 4694715148
30 ??? 0x00000001173fe2e0 0 + 4685030112
31 ??? 0x00000001173fe2e0 0 + 4685030112
32 ??? 0x00000001173fe2e0 0 + 4685030112
33 ??? 0x00000001173fe2e0 0 + 4685030112
34 ??? 0x0000000117d7c2c4 0 + 4694983364
35 ??? 0x00000001173fe2e0 0 + 4685030112
36 ??? 0x00000001173fe325 0 + 4685030181
37 ??? 0x00000001173fe210 0 + 4685029904
38 ??? 0x00000001173f74e7 0 + 4685001959
39 libjvm.dylib 0x00000001165d44fa JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
40 libjvm.dylib 0x0000000116629c86 JVM_DoPrivileged + 1206
41 ??? 0x0000000117d15255 0 + 4694561365
42 ??? 0x00000001173fe210 0 + 4685029904
43 ??? 0x0000000117dd1c8c 0 + 4695334028
44 libjvm.dylib 0x00000001165d44fa JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
45 libjvm.dylib 0x0000000116609364 jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) + 763
46 libjvm.dylib 0x00000001165fbff8 jni_CallVoidMethod + 363
47 libglass.dylib 0x0000000133c6f644 -[GlassViewDelegate sendJavaMouseEvent:] + 1940
48 com.apple.AppKit 0x000000010d117c9d -[NSWindow _reallySendEvent:] + 801
49 com.apple.AppKit 0x000000010cbad0f4 -[NSWindow sendEvent:] + 368
50 libglass.dylib 0x0000000133c72340 -[GlassWindow_Normal sendEvent:] + 112
51 com.apple.AppKit 0x000000010cb5eeac -[NSApplication sendEvent:] + 2148
52 com.apple.AppKit 0x000000010c9eadc8 -[NSApplication run] + 711
53 libglass.dylib 0x0000000133c55fb5 -[GlassApplication runLoop:] + 1701
54 com.apple.Foundation 0x000000010c4bdee8 __NSThreadPerformPerform + 293
55 com.apple.CoreFoundation 0x000000010bfc00b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
56 com.apple.CoreFoundation 0x000000010bfb1b2d __CFRunLoopDoSources0 + 269
57 com.apple.CoreFoundation 0x000000010bfb117b __CFRunLoopRun + 923
58 com.apple.CoreFoundation 0x000000010bfb0b98 CFRunLoopRunSpecific + 296
59 libjli.dylib 0x0000000114a6eb33 CreateExecutionEnvironment + 871
60 libjli.dylib 0x0000000114a6aad4 JLI_Launch + 1952
61 com.numisight.explorer.Explorer 0x000000010bd12765 launch + 3029
62 com.numisight.explorer.Explorer 0x000000010bd11366 main + 70
63 com.numisight.explorer.Explorer 0x000000010bd11314 start + 52
- duplicates
-
JDK-8092977 Mac: FileChooser.show() crashes in NSSavePanel when running in sandboxed environment
- Resolved