1. Jens Alfke
  2. Murky
  3. Issues
Issue #180 new

Uncaught exception when discarding changes

Anonymous created an issue

I discarded changes to one of three uncommitted files, and got this exception:

Uncaught exception: NSInvalidArgumentException *** -[NSCFArray initWithObjects:count:]: attempt to insert nil object at objects[0]

-[__NSPlaceholderArray initWithObjects:count:] (in CoreFoundation) + 463
+[NSArray arrayWithObject:] (in CoreFoundation) + 67
-[RepoController selectedFiles] (in Murky) + 159
-[RepoController selectedFile] (in Murky) + 27
-[RepoController _updateInfoChooser] (in Murky) + 54
-[RepoController _fileSelectionChanged:change:] (in Murky) + 27
-[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:] (in Foundation) + 943
-[NSController _notifyObserversForKeyPath:change:] (in AppKit) + 251
-[NSController didChangeValueForKey:] (in AppKit) + 49
-[NSTreeController _didChangeValuesForArrangedKeys:objectKeys:indexPathKeys:] (in AppKit) + 235
-[NSTreeController _prepareControllerTree] (in AppKit) + 1533
-[NSTreeController setContent:] (in AppKit) + 623
-[NSObject(NSKeyValueCoding) setValue:forKey:] (in Foundation) + 420
-[NSObjectParameterBinder _updateObject:observedController:observedKeyPath:context:] (in AppKit) + 2139

Comments (0)

  1. Log in to comment