-
Bug
-
Resolution: Duplicate
-
P4
-
7u6
-
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)System Version: OS X 10.8.1 (12B19)
Kernel Version: Darwin 12.1.0
Showing a chooser dialog with either of the attached java files, causes a JVM crash with the following written to console:
run:
2012-08-31 20:56:55.706 java[7564:707] Invalid URL passed to an open/save panel: '/Users/kec'. Using 'file://localhost/Users/kec/NetBeansProjects/' instead.
2012-08-31 20:56:58.290 java[7564:707] unrecognized type is -2
2012-08-31 20:56:58.291 java[7564:707] *** Assertion failure in -[NSEvent _initWithCGSEvent:eventRef:], /SourceCache/AppKit/AppKit-1187/AppKit.subproj/NSEvent.m:1348
2012-08-31 20:56:58.291 java[7564:707] An uncaught exception was raised
2012-08-31 20:56:58.291 java[7564:707] Invalid parameter not satisfying: cgsEvent.type > 0 && cgsEvent.type <= kCGSLastEventType
2012-08-31 20:56:58.292 java[7564:707] (
0 CoreFoundation 0x00007fff8b4f8716 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8c8c2470 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8b4f8558 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff88187962 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4 AppKit 0x00007fff8eb7fd2c -[NSEvent _initWithCGSEvent:eventRef:] + 2782
5 AppKit 0x00007fff8edfdd9a +[NSEvent eventWithCGEvent:] + 243
6 libglass.dylib 0x000000015c65800f listenTouchEvents + 31
7 CoreGraphics 0x00007fff8576ba91 processEventTapData + 150
8 CoreGraphics 0x00007fff8576b8e4 _CGYPostEventTapData + 189
9 CoreGraphics 0x00007fff85a12a65 _XPostEventTapData + 107
10 CoreGraphics 0x00007fff85a12b5d CGYEventTap_server + 106
11 CoreGraphics 0x00007fff8576b9d2 eventTapMessageHandler + 30
12 CoreFoundation 0x00007fff8b467b50 __CFMachPortPerform + 288
13 CoreFoundation 0x00007fff8b467a19 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
14 CoreFoundation 0x00007fff8b467759 __CFRunLoopDoSource1 + 153
15 CoreFoundation 0x00007fff8b49a8bf __CFRunLoopRun + 1775
16 CoreFoundation 0x00007fff8b499dd2 CFRunLoopRunSpecific + 290
17 Foundation 0x00007fff88215ace -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
18 libglass.dylib 0x000000015c6438a4 +[GlassApplication enterNestedEventLoopWithEnv:] + 132
19 libglass.dylib 0x000000015c6474d3 -[DialogDispatcher runModal] + 163
20 Foundation 0x00007fff88207450 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 212
21 Foundation 0x00007fff882072f8 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131
22 libglass.dylib 0x000000015c6479c5 Java_com_sun_glass_ui_mac_MacCommonDialogs__1showFileOpenChooser + 981
23 ??? 0x0000000107b7ff90 0x0 + 4424466320
)
2012-08-31 20:56:58.293 java[7564:707] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: cgsEvent.type > 0 && cgsEvent.type <= kCGSLastEventType'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8b4f8716 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8c8c2470 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8b4f8558 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff88187962 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4 AppKit 0x00007fff8eb7fd2c -[NSEvent _initWithCGSEvent:eventRef:] + 2782
5 AppKit 0x00007fff8edfdd9a +[NSEvent eventWithCGEvent:] + 243
6 libglass.dylib 0x000000015c65800f listenTouchEvents + 31
7 CoreGraphics 0x00007fff8576ba91 processEventTapData + 150
8 CoreGraphics 0x00007fff8576b8e4 _CGYPostEventTapData + 189
9 CoreGraphics 0x00007fff85a12a65 _XPostEventTapData + 107
10 CoreGraphics 0x00007fff85a12b5d CGYEventTap_server + 106
11 CoreGraphics 0x00007fff8576b9d2 eventTapMessageHandler + 30
12 CoreFoundation 0x00007fff8b467b50 __CFMachPortPerform + 288
13 CoreFoundation 0x00007fff8b467a19 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
14 CoreFoundation 0x00007fff8b467759 __CFRunLoopDoSource1 + 153
15 CoreFoundation 0x00007fff8b49a8bf __CFRunLoopRun + 1775
16 CoreFoundation 0x00007fff8b499dd2 CFRunLoopRunSpecific + 290
17 Foundation 0x00007fff88215ace -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
18 libglass.dylib 0x000000015c6438a4 +[GlassApplication enterNestedEventLoopWithEnv:] + 132
19 libglass.dylib 0x000000015c6474d3 -[DialogDispatcher runModal] + 163
20 Foundation 0x00007fff88207450 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 212
21 Foundation 0x00007fff882072f8 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131
22 libglass.dylib 0x000000015c6479c5 Java_com_sun_glass_ui_mac_MacCommonDialogs__1showFileOpenChooser + 981
23 ??? 0x0000000107b7ff90 0x0 + 4424466320
)
libc++abi.dylib: terminate called throwing an exception
Java Result: 134
BUILD SUCCESSFUL (total time: 16 seconds)
run:
2012-08-31 20:56:55.706 java[7564:707] Invalid URL passed to an open/save panel: '/Users/kec'. Using 'file://localhost/Users/kec/NetBeansProjects/' instead.
2012-08-31 20:56:58.290 java[7564:707] unrecognized type is -2
2012-08-31 20:56:58.291 java[7564:707] *** Assertion failure in -[NSEvent _initWithCGSEvent:eventRef:], /SourceCache/AppKit/AppKit-1187/AppKit.subproj/NSEvent.m:1348
2012-08-31 20:56:58.291 java[7564:707] An uncaught exception was raised
2012-08-31 20:56:58.291 java[7564:707] Invalid parameter not satisfying: cgsEvent.type > 0 && cgsEvent.type <= kCGSLastEventType
2012-08-31 20:56:58.292 java[7564:707] (
0 CoreFoundation 0x00007fff8b4f8716 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8c8c2470 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8b4f8558 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff88187962 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4 AppKit 0x00007fff8eb7fd2c -[NSEvent _initWithCGSEvent:eventRef:] + 2782
5 AppKit 0x00007fff8edfdd9a +[NSEvent eventWithCGEvent:] + 243
6 libglass.dylib 0x000000015c65800f listenTouchEvents + 31
7 CoreGraphics 0x00007fff8576ba91 processEventTapData + 150
8 CoreGraphics 0x00007fff8576b8e4 _CGYPostEventTapData + 189
9 CoreGraphics 0x00007fff85a12a65 _XPostEventTapData + 107
10 CoreGraphics 0x00007fff85a12b5d CGYEventTap_server + 106
11 CoreGraphics 0x00007fff8576b9d2 eventTapMessageHandler + 30
12 CoreFoundation 0x00007fff8b467b50 __CFMachPortPerform + 288
13 CoreFoundation 0x00007fff8b467a19 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
14 CoreFoundation 0x00007fff8b467759 __CFRunLoopDoSource1 + 153
15 CoreFoundation 0x00007fff8b49a8bf __CFRunLoopRun + 1775
16 CoreFoundation 0x00007fff8b499dd2 CFRunLoopRunSpecific + 290
17 Foundation 0x00007fff88215ace -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
18 libglass.dylib 0x000000015c6438a4 +[GlassApplication enterNestedEventLoopWithEnv:] + 132
19 libglass.dylib 0x000000015c6474d3 -[DialogDispatcher runModal] + 163
20 Foundation 0x00007fff88207450 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 212
21 Foundation 0x00007fff882072f8 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131
22 libglass.dylib 0x000000015c6479c5 Java_com_sun_glass_ui_mac_MacCommonDialogs__1showFileOpenChooser + 981
23 ??? 0x0000000107b7ff90 0x0 + 4424466320
)
2012-08-31 20:56:58.293 java[7564:707] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: cgsEvent.type > 0 && cgsEvent.type <= kCGSLastEventType'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8b4f8716 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8c8c2470 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8b4f8558 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff88187962 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4 AppKit 0x00007fff8eb7fd2c -[NSEvent _initWithCGSEvent:eventRef:] + 2782
5 AppKit 0x00007fff8edfdd9a +[NSEvent eventWithCGEvent:] + 243
6 libglass.dylib 0x000000015c65800f listenTouchEvents + 31
7 CoreGraphics 0x00007fff8576ba91 processEventTapData + 150
8 CoreGraphics 0x00007fff8576b8e4 _CGYPostEventTapData + 189
9 CoreGraphics 0x00007fff85a12a65 _XPostEventTapData + 107
10 CoreGraphics 0x00007fff85a12b5d CGYEventTap_server + 106
11 CoreGraphics 0x00007fff8576b9d2 eventTapMessageHandler + 30
12 CoreFoundation 0x00007fff8b467b50 __CFMachPortPerform + 288
13 CoreFoundation 0x00007fff8b467a19 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
14 CoreFoundation 0x00007fff8b467759 __CFRunLoopDoSource1 + 153
15 CoreFoundation 0x00007fff8b49a8bf __CFRunLoopRun + 1775
16 CoreFoundation 0x00007fff8b499dd2 CFRunLoopRunSpecific + 290
17 Foundation 0x00007fff88215ace -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
18 libglass.dylib 0x000000015c6438a4 +[GlassApplication enterNestedEventLoopWithEnv:] + 132
19 libglass.dylib 0x000000015c6474d3 -[DialogDispatcher runModal] + 163
20 Foundation 0x00007fff88207450 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 212
21 Foundation 0x00007fff882072f8 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131
22 libglass.dylib 0x000000015c6479c5 Java_com_sun_glass_ui_mac_MacCommonDialogs__1showFileOpenChooser + 981
23 ??? 0x0000000107b7ff90 0x0 + 4424466320
)
libc++abi.dylib: terminate called throwing an exception
Java Result: 134
BUILD SUCCESSFUL (total time: 16 seconds)
- duplicates
-
JDK-8093678 Mac: FileChooser sometimes crashes the JVM on Mac OS X 10.8
- Closed