错误日志如下:
Exception Name: JavaNativeException
Description: java.lang.NullPointerException
at sun.lwawt.macosx.CAccessibility.getAccessibleIndexInParent(CAccessibility.java:287)
User Info: (null)
0 CoreFoundation 0x00007fffa298652b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffb705ecad objc_exception_throw + 48
2 CoreFoundation 0x00007fffa2986479 -[NSException raise] + 9
3 JavaNativeFoundation 0x00000001053c964d JNFCallStaticIntMethod + 236
4 libawt_lwawt.dylib 0x000000011bc24deb +[JavaComponentAccessibility createWithAccessible:withEnv:withView:] + 76
5 libawt_lwawt.dylib 0x000000011bc2530b -[JavaComponentAccessibility accessibilityFocusedUIElement] + 194
6 libawt_lwawt.dylib 0x000000011bbfa4f6 -[AWTView accessibilityFocusedUIElement] + 156
7 AppKit 0x00007fffa0dcc417 -[NSWindow(NSWindowAccessibility) accessibilityFocusedUIElement] + 124
8 libawt_lwawt.dylib 0x000000011bc25069 +[JavaComponentAccessibility postFocusChanged:] + 96
9 Foundation 0x00007fffa4348f2a __NSThreadPerformPerform + 326
10 CoreFoundation 0x00007fffa291c551 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
11 CoreFoundation 0x00007fffa28fd6bd __CFRunLoopDoSources0 + 557
12 CoreFoundation 0x00007fffa28fcbb6 __CFRunLoopRun + 934
13 CoreFoundation 0x00007fffa28fc5b4 CFRunLoopRunSpecific + 420
14 HIToolbox 0x00007fffa1e9df6c RunCurrentEventLoopInMode + 240
15 HIToolbox 0x00007fffa1e9dda1 ReceiveNextEventCommon + 432
16 HIToolbox 0x00007fffa1e9dbd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
17 AppKit 0x00007fffa05945f5 _DPSNextEvent + 1093
18 AppKit 0x00007fffa0ca48eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
19 libosxapp.dylib 0x000000011bcac3aa -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
20 AppKit 0x00007fffa0588fbd -[NSApplication run] + 926
21 libosxapp.dylib 0x000000011bcac14d +[NSApplicationAWT runAWTLoopWithApp:] + 156
22 libawt_lwawt.dylib 0x000000011bc394b3 -[AWTStarter starter:] + 905
23 Foundation 0x00007fffa4348f2a __NSThreadPerformPerform + 326
24 CoreFoundation 0x00007fffa291c551 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
25 CoreFoundation 0x00007fffa28fd6bd __CFRunLoopDoSources0 + 557
26 CoreFoundation 0x00007fffa28fcbb6 __CFRunLoopRun + 934
27 CoreFoundation 0x00007fffa28fc5b4 CFRunLoopRunSpecific + 420
28 studio 0x00000001000012f3 main + 357
29 studio 0x000000010000116c start + 52
30 ??? 0x0000000000000002 0x0 + 2
当前使用的SDK location:
/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home
解决方法:
重装10.12以前的系统,个人觉得OS X Yosemite10.10.5很稳定。
网友评论