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

null pointer exception for build-bundle command #214

Closed
johann50 opened this issue Apr 15, 2021 · 2 comments
Closed

null pointer exception for build-bundle command #214

johann50 opened this issue Apr 15, 2021 · 2 comments

Comments

@johann50
Copy link

Getting null pointer exception for build-bundle command
if the argument passed to --output is a file
in the same folder as where bundletool is being executed.

No problem if the argument is a path to a file in a folder.

Problem occurs in BuildBundleCommand.java line 260
because outputDirectory is null and passed as argument to Files.notExists
if output file has no parent.

@ymakhno
Copy link
Collaborator

ymakhno commented Apr 29, 2021

Thank you for the report, we will include fix in the next release.

@ymakhno
Copy link
Collaborator

ymakhno commented May 17, 2021

Fixed in 1.6.1.

@ymakhno ymakhno closed this as completed May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants