Hello,

On 13/10/09, cocoa-dev-requ...@lists.apple.com wrote:

When I add these to a secondary managed object context (MOC) and then merge these changes with the primary MOC, the application crashes with the following error:

2009-10-13 02:59:12.787 MyApp[43049:207] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFArray objectAtIndex:]: index (7) beyond bounds (7)'

I suspect that you might be seeing the same issue that I'm seeing. If so, your multiple MOC setup isn't relevant.

I posted here a few days ago about it and got a helpful response from Ben Trumbull saying its a known issue that was addressed in version iPhone OS version 3.1. Version 3.1 didn't fix it for me.

Ben said that the issue has been discussed on the iPhone developer forum. I'm awaiting approval of my iPhone developer membership in order to access the forums, so I can't confirm that the information there will solve my (our?) problem.

Try commenting out endUpdates and see if the exception goes away. If it does, we may have the same problem.

Cheers,

Steve

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to