• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSOpenPanel stopped working in some apps on Sierra
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenPanel stopped working in some apps on Sierra


  • Subject: NSOpenPanel stopped working in some apps on Sierra
  • From: Leo <email@hidden>
  • Date: Wed, 07 Dec 2016 18:16:14 -0500

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@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


  • Follow-Ups:
    • Re: NSOpenPanel stopped working in some apps on Sierra
      • From: Jens Alfke <email@hidden>
    • Re: NSOpenPanel stopped working in some apps on Sierra
      • From: Rick Corteza <email@hidden>
  • Prev by Date: Re: Elementary NSUserDefaults Question
  • Next by Date: Re: UINavigationBar content margins in UIPresentationController subclass
  • Previous by thread: Re: Elementary NSUserDefaults Question
  • Next by thread: Re: NSOpenPanel stopped working in some apps on Sierra
  • Index(es):
    • Date
    • Thread