• Apfeltalk ändert einen Teil seiner Allgemeinen Geschäftsbedingungen (AGB), das Löschen von Useraccounts betreffend.
    Näheres könnt Ihr hier nachlesen: AGB-Änderung
  • Wir haben den Frühjahrsputz beendet, Ihr auch? Welches Foto zu dem Thema hat Euch dann am Besten gefallen? Hier geht es lang zur Abstimmung --> Klick

Xcode Exceptions: Wer kann mir bei der Fehlersuche helfen?

Alecco

Transparent von Croncels
Registriert
17.02.09
Beiträge
306
Hallo,

ich arbeite gerade an einem Programm, in dem Daten mit Core Data gespeichert werden. Bisher hat auch alles gut geklappt. Als ich gerade einen zweiten Entity angelegt hatte und einen neuen Array Controller erzeugt hatte, wollte ich testweise das Programm erneut kompilieren. Ich bekomme jetzt eine Reihe von Exceptions, die ich aber nicht interpretieren kann.

Ich habe versucht den Fehler zu finden, in dem ich den zweiten Array Controller gelöscht habe und alle Bindings ebenfalls. Ich weiß gar nicht, wo ich genau suchen soll und die Exceptions sollten mir doch dabei eigentlich helfen können.

Code:
2012-07-22 19:40:06.639 InMeinemSchrankDesktop[2388:403] -[_NSControllerObjectProxy copyWithZone:]: unrecognized selector sent to instance 0x7fd7d0511d10
2012-07-22 19:40:06.640 InMeinemSchrankDesktop[2388:403] An uncaught exception was raised
2012-07-22 19:40:06.640 InMeinemSchrankDesktop[2388:403] -[_NSControllerObjectProxy copyWithZone:]: unrecognized selector sent to instance 0x7fd7d0511d10
2012-07-22 19:40:06.643 InMeinemSchrankDesktop[2388:403] (
    0   CoreFoundation                      0x00007fff94e8ff56 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff93efed5e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff94f1c1be -[NSObject doesNotRecognizeSelector:] + 190
    3   CoreFoundation                      0x00007fff94e7ce23 ___forwarding___ + 371
    4   CoreFoundation                      0x00007fff94e7cc38 _CF_forwarding_prep_0 + 232
    5   AppKit                              0x00007fff8e04f044 -[NSCell _setContents:] + 73
    6   AppKit                              0x00007fff8e04ef21 -[NSCell setObjectValue:] + 160
    7   AppKit                              0x00007fff8e26f308 -[_NSPlaceholderTextFieldPlugin showValue:inObject:] + 388
    8   AppKit                              0x00007fff8e2578d1 -[NSValueBinder _adjustObject:mode:observedController:observedKeyPath:context:editableState:adjustState:] + 809
    9   AppKit                              0x00007fff8e257514 -[NSValueBinder _observeValueForKeyPath:ofObject:context:] + 303
    10  AppKit                              0x00007fff8e26f0fb -[NSTextValueBinder _observeValueForKeyPath:ofObject:context:] + 43
    11  AppKit                              0x00007fff8e048643 -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 591
    12  AppKit                              0x00007fff8e041959 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1079
    13  AppKit                              0x00007fff8e037f73 loadNib + 322
    14  AppKit                              0x00007fff8e037470 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217
    15  AppKit                              0x00007fff8e03738b +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141
    16  AppKit                              0x00007fff8e0372ce +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 364
    17  AppKit                              0x00007fff8e2a806f NSApplicationMain + 398
    18  InMeinemSchrankDesktop              0x000000010f6ef732 main + 34
    19  InMeinemSchrankDesktop              0x000000010f6ef704 start + 52
    20  ???                                 0x0000000000000003 0x0 + 3
)
2012-07-22 19:40:06.692 InMeinemSchrankDesktop[2388:403] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_NSControllerObjectProxy copyWithZone:]: unrecognized selector sent to instance 0x7fd7d0511d10'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff94e8ff56 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff93efed5e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff94f1c1be -[NSObject doesNotRecognizeSelector:] + 190
    3   CoreFoundation                      0x00007fff94e7ce23 ___forwarding___ + 371
    4   CoreFoundation                      0x00007fff94e7cc38 _CF_forwarding_prep_0 + 232
    5   AppKit                              0x00007fff8e04f044 -[NSCell _setContents:] + 73
    6   AppKit                              0x00007fff8e04ef21 -[NSCell setObjectValue:] + 160
    7   AppKit                              0x00007fff8e26f308 -[_NSPlaceholderTextFieldPlugin showValue:inObject:] + 388
    8   AppKit                              0x00007fff8e2578d1 -[NSValueBinder _adjustObject:mode:observedController:observedKeyPath:context:editableState:adjustState:] + 809
    9   AppKit                              0x00007fff8e257514 -[NSValueBinder _observeValueForKeyPath:ofObject:context:] + 303
    10  AppKit                              0x00007fff8e26f0fb -[NSTextValueBinder _observeValueForKeyPath:ofObject:context:] + 43
    11  AppKit                              0x00007fff8e048643 -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 591
    12  AppKit                              0x00007fff8e041959 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1079
    13  AppKit                              0x00007fff8e037f73 loadNib + 322
    14  AppKit                              0x00007fff8e037470 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217
    15  AppKit                              0x00007fff8e03738b +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141
    16  AppKit                              0x00007fff8e0372ce +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 364
    17  AppKit                              0x00007fff8e2a806f NSApplicationMain + 398
    18  InMeinemSchrankDesktop              0x000000010f6ef732 main + 34
    19  InMeinemSchrankDesktop              0x000000010f6ef704 start + 52
    20  ???                                 0x0000000000000003 0x0 + 3
)
terminate called throwing an exception(lldb)

Vielleicht kann mir jemand dazu etwas sagen?