NSAccessibility
NSAccessibility
- Subject: NSAccessibility
- From: "Tom Doan" <email@hidden>
- Date: Thu, 13 Jul 2017 12:17:47 -0500
- Priority: normal
I have a program which uses the Scintilla text editor. When it's run on an OS
10.8, it gets a crash due to an
unrecognized selector for setAccessibilityElement (part of log shown at the
bottom).
The interface for the view that causes the problem is:
@interface SCIContentView : NSView <
NSTextInputClient,
NSUserInterfaceValidations,
NSDraggingSource,
NSDraggingDestination,
NSAccessibilityStaticText>;
where it looks like NSAccessibilityStaticText was added with 10.10.
My problem is that setAccessibilityElement is never called explicitly by
SCIContentView so I don't know how
to prevent this call from being made. Any suggestions?
Best regards,
Tom Doan
Estima
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: '-[SCIContentView setAccessibilityElement:]: unrecognized selector sent
to instance 0x7fcbac051ba0'
terminate called throwing an exception
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff85469b06
__exceptionPreprocess
+ 198
1 libobjc.A.dylib 0x00007fff8b7033f0 objc_exception_throw
+ 43
2 CoreFoundation 0x00007fff8550040a -[NSObject(NSObject)
doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff8545802e ___forwarding___ +
414
4 CoreFoundation 0x00007fff85457e18
_CF_forwarding_prep_0
+ 232
5 RATS 0x0000000101b2786a -[SCIContentView
initWithFrame:] + 266
6 RATS 0x0000000101b2ac05 -[ScintillaView
initWithFrame:] + 197
---
1560 Sherman Ave #1029
Evanston, IL 60201
USA
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden