Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[android] JSStackTrace -> Ensure lineNumber exists before consuming #24399

Closed

Conversation

Salakar
Copy link
Contributor

@Salakar Salakar commented Apr 10, 2019

Summary

Fixes #24382

Changelog

[ANDROID] [INTERNAL] - Fixed a NoSuchKeyException when parsing JS stack frames without line numbers.

Test Plan

TODO: Will update tomorrow (sorry 🙈) just wanted to check CI.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 10, 2019
@pull-bot
Copy link

Messages
📖

📋 Changelog Format - Did you include a Changelog? A changelog entry has the following format: [CATEGORY] [TYPE] - Message.

CATEGORY may be:
  • General
  • iOS
  • Android

TYPE may be:

  • Added, for new features.
  • Changed, for changes in existing functionality.
  • Deprecated, for soon-to-be removed features.
  • Removed, for now removed features.
  • Fixed, for any bug fixes.
  • Security, in case of vulnerabilities.

MESSAGE may answer "what and why" on a feature level. Use this to briefly tell React Native users about notable changes.

Generated by 🚫 dangerJS against ee38bb1

@cpojer
Copy link
Contributor

cpojer commented Apr 11, 2019

Very nice fix, thank you so much @Salakar!

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @Salakar in c953e0b.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Apr 11, 2019
evgeni-wix pushed a commit to wix-playground/react-native that referenced this pull request Apr 11, 2019
…4399)

Summary:
Fixes facebook#24382

[ANDROID] [INTERNAL] - Fixed a `NoSuchKeyException` when parsing JS stack frames without line numbers.
Pull Request resolved: facebook#24399

Differential Revision: D14890746

Pulled By: cpojer

fbshipit-source-id: cea3653076484ad624084c370439f8a39c303083
dsyang pushed a commit to dsyang/react-native that referenced this pull request Apr 12, 2019
…4399)

Summary:
Fixes facebook#24382

[ANDROID] [INTERNAL] - Fixed a `NoSuchKeyException` when parsing JS stack frames without line numbers.
Pull Request resolved: facebook#24399

Differential Revision: D14890746

Pulled By: cpojer

fbshipit-source-id: cea3653076484ad624084c370439f8a39c303083
@mattijsf
Copy link
Contributor

As this fixes broken JS crash handling I personally I think this is worth shipping in a 0.59.5 release on a short notice.

grabbou pushed a commit that referenced this pull request Apr 17, 2019
Summary:
Fixes #24382

[ANDROID] [INTERNAL] - Fixed a `NoSuchKeyException` when parsing JS stack frames without line numbers.
Pull Request resolved: #24399

Differential Revision: D14890746

Pulled By: cpojer

fbshipit-source-id: cea3653076484ad624084c370439f8a39c303083
karanjthakkar pushed a commit to karanjthakkar/react-native that referenced this pull request May 10, 2019
…4399)

Summary:
Fixes facebook#24382

[ANDROID] [INTERNAL] - Fixed a `NoSuchKeyException` when parsing JS stack frames without line numbers.
Pull Request resolved: facebook#24399

Differential Revision: D14890746

Pulled By: cpojer

fbshipit-source-id: cea3653076484ad624084c370439f8a39c303083
karanjthakkar pushed a commit to karanjthakkar/react-native that referenced this pull request May 10, 2019
…4399)

Summary:
Fixes facebook#24382

[ANDROID] [INTERNAL] - Fixed a `NoSuchKeyException` when parsing JS stack frames without line numbers.
Pull Request resolved: facebook#24399

Differential Revision: D14890746

Pulled By: cpojer

fbshipit-source-id: cea3653076484ad624084c370439f8a39c303083
randy-miller pushed a commit to ubiquity6/react-native that referenced this pull request Jul 29, 2019
…4399)

Summary:
Fixes facebook#24382

[ANDROID] [INTERNAL] - Fixed a `NoSuchKeyException` when parsing JS stack frames without line numbers.
Pull Request resolved: facebook#24399

Differential Revision: D14890746

Pulled By: cpojer

fbshipit-source-id: cea3653076484ad624084c370439f8a39c303083
randy-miller added a commit to ubiquity6/react-native that referenced this pull request Jul 29, 2019
JSStackTrace -> Ensure lineNumber exists before consuming (facebook#24399)
randy-miller pushed a commit to ubiquity6/react-native that referenced this pull request Jul 29, 2019
…4399)

Summary:
Fixes facebook#24382

[ANDROID] [INTERNAL] - Fixed a `NoSuchKeyException` when parsing JS stack frames without line numbers.
Pull Request resolved: facebook#24399

Differential Revision: D14890746

Pulled By: cpojer

fbshipit-source-id: cea3653076484ad624084c370439f8a39c303083
randy-miller added a commit to ubiquity6/react-native that referenced this pull request Jul 29, 2019
JSStackTrace -> Ensure lineNumber exists before consuming (facebook#24399)
randy-miller pushed a commit to ubiquity6/react-native that referenced this pull request Jul 29, 2019
…4399)

Summary:
Fixes facebook#24382

[ANDROID] [INTERNAL] - Fixed a `NoSuchKeyException` when parsing JS stack frames without line numbers.
Pull Request resolved: facebook#24399

Differential Revision: D14890746

Pulled By: cpojer

fbshipit-source-id: cea3653076484ad624084c370439f8a39c303083
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. Merged This PR has been merged. Platform: Android Android applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash on reportSoftException when lineNumber is missing
6 participants