MetaMask / MetaMask/metamask-mobile
[Sentry] PPOM - TypeError: null is not an object (evaluating 'e().postMessage')
Open
Nobody has claimed this yet.
Bugs---Low-Priority
external-contributor
INVALID-ISSUE-TEMPLATE
team-confirmations
team-confirmations-secure-ux-deprecated
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
Sentry Issue: [METAMASK-MOBILE-287B](https://metamask.sentry.io/issues/4932929022/?referrer=github_integration)
```
TypeError: null is not an object (evaluating 'e().postMessage')
at PPOMInner#free (app/lib/ppom/PPOMView.tsx:46:16)
...
(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 by reading app/lib/ppom/PPOMView.tsx at line 46 and the linked Sentry stack trace for the PPOMInner#free failure. Determine why the postMessage call can receive null, then verify that the reported TypeError no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100