Re: NSOpenPanel stopped working in some apps on Sierra
Re: NSOpenPanel stopped working in some apps on Sierra
- Subject: Re: NSOpenPanel stopped working in some apps on Sierra
- From: Jens Alfke <email@hidden>
- Date: Wed, 07 Dec 2016 16:22:47 -0800
> On Dec 7, 2016, at 3:16 PM, Leo <email@hidden> wrote:
>
> Any attempt to call it with runModal results with the following errors:
>
> [General] *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array
> [General] (null)
What’s the backtrace?
Chances are there’s something messed up in the defaults the open-panel stores. If you look at the apps’ defaults and delete any that have “OpenPanel” in the name, that might fix things. (But it’d be a good idea to capture a dump of the defaults first, and put that in a bug report to Apple.)
—Jens
_______________________________________________
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