• 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
NSArray and NSDictionnary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArray and NSDictionnary


  • Subject: NSArray and NSDictionnary
  • From: Matthieu Doriant <email@hidden>
  • Date: Sun, 22 Jul 2001 11:44:38 +0200

Hello,

I am writing a program in Cocoa (Java) that extensively uses NSArrays and NSDictionnaries (it uses a lot of NSArrays, a lot of NSDictionnaries, imbricated NSArrays, imbricated NSDictionnaries, NSArrays in NSDictionnaries, ...)

My program seems to be correct but sometimes this exception is generated:
--
ObjCJava WARNING :
jobjc_mapObjects(): mapping inconsistency -- hashtable entries are not identical -- probably an ObjC class (NSCFDictionary) initializer returned a cached instance of the same or of a different (sub)class. In this build, this is a 'continue-at-your-own-risk' warning, but will become a fatal error soon.
--

This exception is usually generated when I try to get some data from a NSArray or a NSDictionnary. It is very strange because this exception is not always generated: when I try to get some data from a NSDictionnnary in loop, it may work the first 100 times and then crash the 101 time (the function returns null and this exception is generated, the NSDictionnary or NSArray instance seems to be corrupted, I can no longer use it). Has anyone ever seen this problem? Are NSDictionnary and NSArray classes reliable?

I'm working with new developer tools and MacOS X 10.0.4

Regards,

Matthieu

______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif


  • Prev by Date: Obj-C vs Java
  • Next by Date: Re: Obj-C vs Java
  • Previous by thread: Re: Obj-C vs Java
  • Next by thread: Goofy NSDrawer behavior
  • Index(es):
    • Date
    • Thread