Automattic / Automattic/simplenote-ios
NSInvalidArgumentException: -deleteObject: requires a non-nil argument
- Dominant language
- Swift
- Stars
- 2.2k
- Forks
- 297
- Avg merge
- 13h 25m
- Merged PRs (30d)
- 6
Description
Sentry Issue: [SIMPLENOTE-IOS-9MQ](https://sentry.io/organizations/a8c/issues/1826227849/?referrer=github_integration)
```
NSInvalidArgumentException: -deleteObject: requires a non-nil argument
File "Simplenote/Classes/SPObjectManager.m", line 91, in -[SPObjectManager editTag:title:]
File "Simplenote/Classes/SPTagsListViewController.m", line 628, in -[SPTagsListViewController textFieldDidEndEditing:]
File "Simplenote/Classes/SPTagsListViewController.m", line 648, in -[SPTagsListViewController textFieldShouldReturn:]
File "Simplenote/main.m", line 16, in main
...
(40 additional frame(s) were not displayed)
```
Contributor guide
Research direction
Start at Simplenote/Classes/SPObjectManager.m line 91, then trace the callers in SPTagsListViewController.m at lines 628 and 648. Reproduce the tag-edit flow through textFieldDidEndEditing: or textFieldShouldReturn: and verify that it no longer raises the reported non-nil-argument exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100