• 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: Problem with 10.2 after a clean active target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with 10.2 after a clean active target


  • Subject: Re: Problem with 10.2 after a clean active target
  • From: matt neuburg <email@hidden>
  • Date: Tue, 29 Oct 2002 10:19:46 -0800

On Wed, 28 Aug 2002 14:45:10 -0500, Michel Desbiens <email@hidden> said:

>My project was working great under dev tools 10.1 It was
>almost finish. After un clean active target, I now got
>this error with the new tools 10.2. I need a clue. I don't
>know where I can find the error. The code was working
>before.

>2002-08-26 20:59:17.595 iTexte[1024] *** Assertion failure in -[MyTableView
>_locationOfRow:], TableView.subproj/NSTableView.m:486
>2002-08-26 20:59:17.610 iTexte[1024] Invalid parameter not satisfying:
>(index >= 0) && (index <= numRows)

The tableview is loading before you have any data. Your data source must check to see whether there is data and return zero as the number of rows if not. Perhaps it keeps a reference to an NSArray; it should check whether that array is nil and return zero if it is. m.

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: EOF API?
  • Next by Date: Sheets, modal and non-modal
  • Previous by thread: Re: Problem with 10.2 after a clean active target
  • Next by thread: What to use instead of EOF?
  • Index(es):
    • Date
    • Thread