Re: Errors from NSTreeController (or NSOutlineView?)
Re: Errors from NSTreeController (or NSOutlineView?)
- Subject: Re: Errors from NSTreeController (or NSOutlineView?)
- From: "Hamish Allan" <email@hidden>
- Date: Fri, 23 May 2008 23:53:10 +0100
On Fri, May 23, 2008 at 11:11 PM, Brent Fulgham <email@hidden> wrote:
> "unexpected state: found the same object more than once, but can't
> find the treenode for it"
>
> I'm not sure if this:
> a) indicates IP address conflicts that cause the same IP address to
> attempt to be added multiple times
Would there be any reason that adding the same IP address would
actually add the same object, rather than just one with the same
properties?
> - or -
> b) my add/remove test is leaving some vestige of the node behind. I
> have confirmed that the node does get removed via a call to
> "removeObjectIdenticalTo" call to the NSMutableArray, and that the
> count of the array drops by one.
>
> Has anyone seen this "unexpected state" error when working with tree
> controllers/NSOutlineView ?
No, but posting your add/remove test and/or the stack trace from your
EXC_BAD_ACCESS might help us track it down...
Hamish
_______________________________________________
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