• 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
Out of Bounds Exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Out of Bounds Exception


  • Subject: Out of Bounds Exception
  • From: email@hidden
  • Date: Sat, 16 Mar 2002 18:59:21 EST

I'm trying to remove the elements of one array from the elements of another
with:

[[DictionaryOfArrays1 objectForKey: keyToAnArray] removeObjectsInArray:
[DictionaryOfArrays2 objectForKey: keyToAnArray];

Note that keyToAnArray is meant to be the same in each case and that it is
impossible for there not to be a value associated with that key for both.

This gives me:

Uncaught exception: <NSRangeException> *** -[NSCFArray objectAtIndex:]: index
(1) beyond bounds (1)

What is the problem? Thank you.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Out of Bounds Exception
      • From: Andrew Pinski <email@hidden>
  • Prev by Date: Re: Theory, Practice, Down-Time...
  • Next by Date: Re: Theory, Practice, Down-Time...
  • Previous by thread: didChangeText ???
  • Next by thread: Re: Out of Bounds Exception
  • Index(es):
    • Date
    • Thread