• 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
Fixing logged error that doesn't throw exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fixing logged error that doesn't throw exception


  • Subject: Fixing logged error that doesn't throw exception
  • From: Graham Cox <email@hidden>
  • Date: Thu, 28 May 2009 10:15:27 +1000

I'm getting this in the log when I open the "Customize Toolbar" sheet:

-[NSConcreteAttributedString initWithString:] called with nil string argument. This has undefined behavior and will raise an exception in post-Leopard linked apps. This warning is displayed only once.

Is this a bug in the frameworks or in my code? I tried setting a symbolic breakpoint on this but it doesn't fire at all, though if it did I'm not sure how I'd make it conditional on the string being nil as there are no debugging symbols.


It would be preferable if this did throw an exception, at least it could be tracked down more easily.

--Graham


_______________________________________________

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: Fixing logged error that doesn't throw exception
      • From: Ken Thomases <email@hidden>
    • Re: Fixing logged error that doesn't throw exception
      • From: Jonathan Hess <email@hidden>
  • Prev by Date: Re: Field Editor Size in NSTableView
  • Next by Date: Re: Fixing logged error that doesn't throw exception
  • Previous by thread: Re: workaround: stubborn text attributes in NSTextView
  • Next by thread: Re: Fixing logged error that doesn't throw exception
  • Index(es):
    • Date
    • Thread