Skip to content

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Apr 22, 2019

Description

The ApplicationPackage logic could return null for certain invalid manifests, which would cause an NPE. instead, we should log errors and exit the tool gracefully.

Related Issues

Fixes #28806

@goderbauer goderbauer added the tool Affects the "flutter" command-line tool. See also t: labels. label Apr 22, 2019
Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

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

LGTM

@jonahwilliams jonahwilliams merged commit 9e51e13 into flutter:master Apr 25, 2019
@jonahwilliams jonahwilliams deleted the fix_npe_28806 branch April 25, 2019 02:30
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NoSuchMethodError: NoSuchMethodError: The getter 'name' was called on null. on Flutter 1.2 Stable release

4 participants