• 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
Re: Exception on launch when clicking on an NSUserNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception on launch when clicking on an NSUserNotification


  • Subject: Re: Exception on launch when clicking on an NSUserNotification
  • From: Alex Kac <email@hidden>
  • Date: Fri, 27 Feb 2015 11:26:34 -0700

*** -[NSKeyedUnarchiver decodeObjectForKey:]: data to unarchive contains class (NSArray) which has not been allowed

However - the only array I’m setting is the additionalActions - a Yosemite property (this is on Yosemite of course).
// An array of NSUserNotificationAction objects that describe the different actions that can be taken on a notification in addition to the default action described by actionButtonTitle
@property (copy) NSArray *additionalActions NS_AVAILABLE(10_10, NA);

And yup that is it. If I comment out the additionalActions, it works. I guess time to file a bug… # 19986044



> On Feb 27, 2015, at 9:35 AM, Kyle Sluder <email@hidden> wrote:
>
> On Thu, Feb 26, 2015, at 08:49 PM, Alex Kac wrote:
>> It would be a fantastic clue! Except … its not printed in the console, or
>> in the xcode console, or anywhere. So I have no idea. My guess is that
>> the OS is swallowing the exception for launch purposes, which does me no
>> good.
>
> You're trapped at objc_exception_throw. You can select frame 0 and print
> the first argument (`po $rdi` on x86-64).
>
> --Kyle Sluder
>
> _______________________________________________
>
> 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

Alex Kac - President and Founder
Web Information Solutions, Inc.

"It is useless for sheep to pass a resolution in favor of vegetarianism while wolves remain of a different opinion."
-- William Randolph Inge






_______________________________________________

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


References: 
 >Exception on launch when clicking on an NSUserNotification (From: Alex Kac <email@hidden>)
 >Re: Exception on launch when clicking on an NSUserNotification (From: Jens Alfke <email@hidden>)
 >Re: Exception on launch when clicking on an NSUserNotification (From: Alex Kac <email@hidden>)
 >Re: Exception on launch when clicking on an NSUserNotification (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Exception on launch when clicking on an NSUserNotification
  • Next by Date: titlebar accessory? window:willPositionSheet:usingRect: not called in full-screen mode
  • Previous by thread: Re: Exception on launch when clicking on an NSUserNotification
  • Next by thread: Re: Exception on launch when clicking on an NSUserNotification
  • Index(es):
    • Date
    • Thread