Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-04-2011, 01:59 AM   #1 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 9
datasmith is on a distinguished road
Question NSPersistentStoreCoordinator Problem

Hello,

I'm back with a very strange exception my app throws at me:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Cannot create an NSPersistentStoreCoordinator with a nil model'

So I searched around and found some info about cleaning my project but it didn't helped me.
OK, this is thrown by the xmppframework and only if I run my app with the release configuration, it runs fine on the debug config. I tried to hard code some instances inside the xmppframework, but I don't think that's the way to go and it doesn't work either.

Can someone tell me how to solve this problem ?
I'm posting the stack trace too, maybe it will help:

*** Call stack at first throw:
(
0 CoreFoundation 0x01512be9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x013075c2 objc_exception_throw + 47
2 CoreData 0x01109df3 -[NSPersistentStoreCoordinator initWithManagedObjectModel:] + 419
3 iLync 0x0002247a -[XMPPRosterCoreDataStorage persistentStoreCoordinator] + 105
4 iLync 0x00021b2f -[XMPPRosterCoreDataStorage beginRosterPopulationForXMPPStream:] + 89
5 iLync 0x0002147a -[XMPPRoster updateRosterWithQuery:] + 98
6 Foundation 0x001cad4c -[NSThread main] + 81
7 Foundation 0x001cacd8 __NSThread__main__ + 1387
8 libSystem.host.dylib 0x018d581d _pthread_start + 345
9 libSystem.host.dylib 0x018d56a2 thread_start + 34
)

Thanks !

DataSmith
datasmith is offline   Reply With Quote
Reply

Bookmarks

Tags
datasmith, iphone, nspersistantstore, problem, xmpp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 370
12 members and 358 guests
condor304, dansparrow, dre, ilmman, LezB44, michelle, Objective Zero, samdanielblr, Sami Gh, shagor012, thephotographer, tinamm64
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,119
Posts: 402,896
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:40 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0