• 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: Failure on unarchiving a NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure on unarchiving a NSBezierPath


  • Subject: Re: Failure on unarchiving a NSBezierPath
  • From: "Michael Ash" <email@hidden>
  • Date: Mon, 28 Apr 2008 11:45:50 -0400

On Mon, Apr 28, 2008 at 11:43 AM, Kyle Sluder <email@hidden> wrote:
> On Mon, Apr 28, 2008 at 11:03 AM, Michael Ash <email@hidden> wrote:
>  > I don't think you're getting the point yourself. The reason he's
>  > returning NO is because his unarchiving fails, and it shouldn't fail.
>  > Certainly the code *should* set the error (if outError is non-nil) but
>  > this is a secondary problem, as that code path shouldn't even happen.
>
>  But how useful can the console log be in fixing *this* problem if one
>  is knowingly causing Cocoa to send messages to what amounts to a
>  random pointer?  When presented with a glaring and easily-fixable bug
>  that could obstruct fixing another, doesn't it make sense to fix it
>  first rather than continue to attempt to figure out the more
>  complicated bug?

Nothing is being obstructed. The logged errors happen after the
primary problem occurs. If the primary problem were logging errors,
they would appear before the ones that are caused by the lack of an
error assignment. If nothing appears there, then nothing is being
logged.

It certainly makes sense to fix this problem. An easy bug should
always be fixed when the opportunity arises. But it's not hurting
efforts to fix the larger problem as it stands.

Mike
_______________________________________________

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: Failure on unarchiving a NSBezierPath
      • From: "Kyle Sluder" <email@hidden>
References: 
 >Failure on unarchiving a NSBezierPath (From: an0 <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: Jens Alfke <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: an0 <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: "Kyle Sluder" <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: an0 <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: "Kyle Sluder" <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: Why is my NSTableView empty?
  • Next by Date: Re: Failure on unarchiving a NSBezierPath
  • Previous by thread: Re: Failure on unarchiving a NSBezierPath
  • Next by thread: Re: Failure on unarchiving a NSBezierPath
  • Index(es):
    • Date
    • Thread