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: じょいすじょん <email@hidden>
- Date: Thu, 08 Dec 2016 12:43:15 +0900
> On 2016 Dec 8, at 9:22, Jens Alfke <email@hidden> wrote:
>
>
>> 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
> _______________________________________________
I would add that without the stacktrace and without showing code, it's pretty hard to do anything for you beyond guessing.
_______________________________________________
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