snej / Murky

A GUI client app for the Mercurial version-control system. Written for Mac OS X, in Objective-C.

Clone this repository (size: 6.0 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/snej/murky/
follow

I had three windows open in Murky, each pointing to different repositories. In a terminal window I performed a commit, and immediately got an exception dialog, with the following message:

Uncaught exception: NSRangeException
Cannot remove an observer <NSKeyValueObservance 0x1444a00> for the key path "formattedDescription" from <HgUncommittedRevision 0x142ec50> 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 _updateChangedDirs] (in Murky) + 199
	__NSFireDelayedPerform (in Foundation) + 382
	CFRunLoopRunSpecific (in CoreFoundation) + 4469
	CFRunLoopRunInMode (in CoreFoundation) + 88
	RunCurrentEventLoopInMode (in HIToolbox) + 283
	ReceiveNextEventCommon (in HIToolbox) + 374
	BlockUntilNextEventMatchingListInMode (in HIToolbox) + 106

Thanks!

Status: open Responsible: Jens Alfke / snej Type: bug
Milestone: none Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

#1

tleung

Bump! same issue. very easily repeatable.


#2 Anonymous

written 3 months ago, last edited unknown.

Bump!


#3 Anonymous

written 3 months ago, last edited unknown.

Got the same after trying to commit via Murkey:

Uncaught exception: NSRangeException
Cannot remove an observer <NSKeyValueObservance 0x1322140> for the key path "formattedDescription" from <HgUncommittedRevision 0x1069bb0> 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) + 270
        -[NSApplication sendAction:to:from:] (in AppKit) + 112
        -[NSControl sendAction:to:] (in AppKit) + 108
        -[NSCell _sendActionFrom:] (in AppKit) + 169
        

Please report this bug (you can copy & paste the text).

#4 Anonymous

written 3 months ago, last edited unknown.

Bump!


#5

Jens Alfke / snej

→ Changed responsible from nobody to snej.

→ Changed status from new to open.

I can't reproduce this myself, but I think I've figured out what causes it, and put in a fix. (It's yet another KVO dependency tracking problem.) I've checked it in locally as r115:295c56fb3a4d , will push to the repo soon.


#6

Jens Alfke / snej

→ Changed title from Exception in Murky after commit from the command-line to Exception after commit from command-line ("formattedDescription").

#7

Jens Alfke / snej

Issue #96 was marked as a duplicate of this issue.


#8

Jens Alfke / snej

Issue #100 was marked as a duplicate of this issue.


#9

Jens Alfke / snej

Issue #86 was marked as a duplicate of this issue.


#10

Jens Alfke / snej

Issue #80 was marked as a duplicate of this issue.


#12

Jens Alfke / snej

Issue #111 was marked as a duplicate of this issue.


#13

Jens Alfke / snej

Issue #113 was marked as a duplicate of this issue.


#14

Jens Alfke / snej

Issue #114 was marked as a duplicate of this issue.


#15

Jens Alfke / snej

Issue #120 was marked as a duplicate of this issue.


Add comment / attachment

Show/hide preview

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?