NSManagedObjectContext Multiple Selection Error

  • I have a Core Data app in development and I'm experiencing a strange
    error saving a managed object context to its store whenever I make a
    change to a multiple selection of an attribute in a table view that
    is connected to an array controller. Changes to a single selection of
    an attribute work without a problem. It seems as if the MOC is not
    committing the changes for a multiple selection and generates a
    pointer error. I have tried to force it to commit changes with -
    commitEditing, but this doesn't seem to help. I'm periodically
    sending the [MOC save] inside an NSTimer. Once this error occurs, the
    MOC also cannot be saved manually.

    2006-10-05 19:05:39.209 NEM-SFN[7304] *** -[NSCFNumber length]:
    selector not recognized [self = 0x34f020]
    2006-10-05 19:05:39.211 NEM-SFN[7304] *** NSTimer discarding
    exception '*** -[NSCFNumber length]: selector not recognized [self =
    0x34f020]' that raised during firing of timer with target 355e50 and
    selector 'runModel'

    The line throwing the error is:
    [[self managedObjectContext] save:NULL];

    Any suggestions?

    Peter Passaro
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today