Hi all,

I suddenly discovered a strange issue:

NSOpenPanel stopped working in some of my apps.

Any attempt to call it with runModal results with the following errors:

[General] *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array
    [General] (null)

The problem started on Sierra (or maybe with 10.12.1 update).

The same code worked for years with no issues.

Also, the problem only affects three apps (fortunately). The same code works fine in the rest of them as always.


Any ideas? Any help is appreciated!


Thanks,
Leo
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to