Automattic / Automattic/simplenote-ios

NSInvalidArgumentException: -deleteObject: requires a non-nil argument

Open
#839 1 comment 0 reactions 0 assignees View on GitHub
crash
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.