wordpress-mobile / wordpress-mobile/WordPress-iOS
NSInvalidArgumentException: *** -[NSURL initFileURLWithPath:]: nil string parameter
Open
Nobody has claimed this yet.
[Type] Crash
Posting/Editing
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
Sentry Issue: WORDPRESS-IOS-46M5
NSInvalidArgumentException: *** -[NSURL initFileURLWithPath:]: nil string parameter
?, in -[RCTVideo playerItemForSource:withCallback:]
?, in __19-[RCTVideo setSrc:]_block_invoke
File "main.swift", line 7, in main
...
(12 additional frame(s) were not displayed)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Sentry report and trace RCTVideo playerItemForSource:withCallback: and the setSrc: block shown in the stack trace. Reproduce the nil path condition if possible, then verify that the reported NSInvalidArgumentException no longer occurs for the affected video source.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100