• 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: 10.4.3 Crashes with NSTreeController Selection Index Paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.4.3 Crashes with NSTreeController Selection Index Paths


  • Subject: Re: 10.4.3 Crashes with NSTreeController Selection Index Paths
  • From: Hamish Allan <email@hidden>
  • Date: Thu, 10 Nov 2005 11:37:29 +0000


Hi Ian,

Several of us are having similar issues. The "index beyond bounds" bug has been mentioned here and here:

http://www.cocoabuilder.com/archive/message/cocoa/2005/11/6/149569
http://www.cocoabuilder.com/archive/message/cocoa/2005/11/6/149597

I am also experiencing the index path problem (sample project provided):

http://www.cocoabuilder.com/archive/message/cocoa/2005/11/9/149794

My original thought was that they are related, but now I'm not so sure. I'm currently trying to investigate whether the index path problem is due to NSIndexPath using shared instances.

The problem is, as soon as the user changes
selection on the left my source list model object's
setSelectionIndexPaths: gets called and is passed an array with zero
objects in it, and thus if the user re-selects the original item in
the source list on the left, the selection for the items on the right
is not remembered AND it now crashes as of 10.4.3.  (It prior to
10.4.3 it didn't crash).

To get this to repeat download the test project here www.iggsoft.com/
Test.zip

I get the selection problem, and I get:

2005-11-10 11:29:06.115 Test[29724] *** -[NSCFArray objectAtIndex:]: index (1) beyond bounds (1)

at step 8, but it doesn't crash.

I guess we should all just report each of the problems we're having an let Apple engineering work out whether they're related :)

Best wishes,
Hamish

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSTreeController Problem
  • Next by Date: Re: newbie nsdocument question
  • Previous by thread: 10.4.3 Crashes with NSTreeController Selection Index Paths
  • Next by thread: CGSessionCopyCurrentDictionary
  • Index(es):
    • Date
    • Thread