1. Jens Alfke
  2. Murky
  3. Issues
Issue #111 duplicate

NSRangeException

Michael Reynolds
created an issue

Uncaught exception: NSRangeException Cannot remove an observer <NSKeyValueObservance 0x10fca10> for the key path "formattedDescription" from <HgUncommittedRevision 0x10c5870> because it is not registered as an observer.

-[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] (in Foundation)
-[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] (in Foundation)
-[NSKeyValueNestedProperty object:withObservance:didChangeValueForKeyOrKeys:forwardingValues:] (in Foundation)
-[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
-[HgRepository _checkRevisions] (in Murky)
-[HgRepository _updateChangedDirs] (in Murky)
__NSFireDelayedPerform (in Foundation)
CFRunLoopRunSpecific (in CoreFoundation)
CFRunLoopRunInMode (in CoreFoundation)
RunCurrentEventLoopInMode (in HIToolbox)
ReceiveNextEventCommon (in HIToolbox)
BlockUntilNextEventMatchingListInMode (in HIToolbox)

Comments (3)

  1. Anonymous

    I'm using 0.7.1 and I've just experienced this exception as well:

    Uncaught exception: NSRangeException
    Cannot remove an observer <NSKeyValueObservance 0x12fd600> for the key path "formattedDescription" from <HgUncommittedRevision 0x1026580> because it is not registered as an observer.
    
    	-[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] (in Foundation) + 525
    	-[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] (in Foundation) + 196
    	-[NSKeyValueNestedProperty object:withObservance:didChangeValueForKeyOrKeys:forwardingValues:] (in Foundation) + 157
    	-[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation) + 290
    	-[HgRepository _checkRevisions] (in Murky) + 1414
    	-[HgRepository updateStatus:] (in Murky) + 27
    	-[RepoController(Actions) _commitSheetDidEnd:returnCode:context:] (in Murky) + 192
    	-[NSApplication endSheet:returnCode:] (in AppKit) + 288
    	-[RepoController(Actions) endCommitSheet:] (in Murky) + 241
    	-[NSApplication sendAction:to:from:] (in AppKit) + 112
    	-[NSControl sendAction:to:] (in AppKit) + 108
    	-[NSCell _sendActionFrom:] (in AppKit) + 169
    

    The exception happened when I tried to commit an 'add' with unknown files and other files in edit.

  2. Log in to comment