Issue #23 invalid

HgRepository: Does-not-respond-to-selector exception waiting to happen

Peter Hosey
created an issue

[[https://bitbucket.org/snej/murky/src/0cbde1f9308c/Source/HgRepository.m#cl-321|Line 321 of HgRepository.m (as of 0cbde1f9308c)]] sends {{{objectAtIndex:}}} to an NSArray. I haven't encountered this at runtime yet; looking at the code, it appears that it would throw the exception if I were to hg update outside of Murky.

Comments (3)

  1. Jens Alfke repo owner
    • changed status to open

    I don't understand. NSArray definitely responds to -objectAtIndex:. (There'd be a compiler warning if it didn't.)

    Could you catch the exception in gdb and post a backtrace here?

  2. Log in to comment