Skip to content

Fix NPE in FileReaderModule#45287

Closed
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D59372620
Closed

Fix NPE in FileReaderModule#45287
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D59372620

Conversation

@cortinico
Copy link
Copy Markdown
Contributor

Summary:
Fixes #45277

This fixes an NPE reported in OSS if you do this call in JavaScript:

 const fr = new FileReader();
 fr.readAsText({});

Changelog:
[Android] [Fixed] - Fix NPE in FileReaderModule

Differential Revision: D59372620

Summary:
Fixes facebook#45277

This fixes an NPE reported in OSS if you do this call in JavaScript:

```
 const fr = new FileReader();
 fr.readAsText({});
```

Changelog:
[Android] [Fixed] - Fix NPE in FileReaderModule

Differential Revision: D59372620
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jul 4, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D59372620

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in fd4531f.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jul 5, 2024
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 5, 2024

This pull request was successfully merged by @cortinico in fd4531f.

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Android] Crash: FileReaderModule.readAsText java.lang.NullPointerException

2 participants