debuggingxcode4.5nszombies

Need help finding cause of 'object cannot be nil' error message


In my iPad app, iOS 6.0, XCode 4.5, I am getting the following message when I run:

* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSArrayM insertObject:atIndex:]: object cannot be nil'

I have looked and looked, but I don't see where it's happening. I set NSZombies on, but got nothing that was meaningful in Instruments. Is there a tool or setting or something that will at least tell me where this is happening?


Solution

  • I removed all the code pertaining to Magical Record, downloaded the latest version and re-installed it.. that cured the problem!
    Thanks for the suggestion tho'.