Murky 0.7.2 error

3 views
Skip to first unread message

hluz

unread,
Apr 5, 2010, 5:38:38 AM4/5/10
to Murky
Getting the following when doing a Pull:

Uncaught exception: NSInvalidArgumentException
*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil

_NSArrayRaiseInsertNilException (in Foundation) + 75
-[NSCFArray insertObject:atIndex:] (in Foundation) + 118
-[NSCFArray addObject:] (in Foundation) + 68
-[HgConfigFile URLsForStanza:] (in Murky) + 179
-[RepoController(Actions) pushPullRevisions:] (in Murky) + 892
-[NSToolbarButton sendAction:to:] (in AppKit) + 100
-[NSToolbarButton sendAction] (in AppKit) + 88
-[NSToolbarItemViewer mouseDown:] (in AppKit) + 4976
-[NSWindow sendEvent:] (in AppKit) + 5549
-[NSApplication sendEvent:] (in AppKit) + 6431
-[NSApplication run] (in AppKit) + 917
NSApplicationMain (in AppKit) + 574

Running Snow Leopard (10.6.3), Mercurial 1.5. Started since upgrading
to 10.6.3 and Murky 0.7.2 (from binaries) - upgraded both same day :-(

Any ideas?

Jens Alfke

unread,
Apr 5, 2010, 7:09:52 PM4/5/10
to murk...@googlegroups.com

On Apr 5, 2010, at 2:38 AM, hluz wrote:

> _NSArrayRaiseInsertNilException (in Foundation) + 75
> -[NSCFArray insertObject:atIndex:] (in Foundation) + 118
> -[NSCFArray addObject:] (in Foundation) + 68
> -[HgConfigFile URLsForStanza:] (in Murky) + 179

I think this was mentioned on the list, or perhaps in a new bug
filing, a few days ago. It looks like the .hg/hgrc file contains an
invalid URL in its [paths] stanza. Could you take a look?

(It is of course a bug that Murky barfs on this. But fixing the config
file should work around it.)

—Jens

hluz

unread,
Apr 6, 2010, 6:47:27 AM4/6/10
to Murky

On Apr 6, 9:09 am, Jens Alfke <j...@mooseyard.com> wrote:

> I think this was mentioned on the list, or perhaps in a new bug  
> filing, a few days ago. It looks like the .hg/hgrc file contains an  
> invalid URL in its [paths] stanza. Could you take a look?
>
> (It is of course a bug that Murky barfs on this. But fixing the config  
> file should work around it.)

Yes, that is it. It is not really an invalid path, but a "Windowzes"
drive:path. It happens that I access that repository from a Win VM and
TortoiseHq must have added that path to hgrc. I think Murky should
just ignore what it does not understand ;-)

Thanks

Reply all
Reply to author
Forward
0 new messages