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

PARAM_ONION_MSG is sometimes null #71

Open
gwicks56 opened this issue May 8, 2019 · 1 comment
Open

PARAM_ONION_MSG is sometimes null #71

gwicks56 opened this issue May 8, 2019 · 1 comment

Comments

@gwicks56
Copy link

gwicks56 commented May 8, 2019

Writing some code to fix #23, and about 10% of the time my build fails with error:
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference

At MainActivity line 229.

I believe it is possible for for the intent extra PARAM_ONION_MSG to be null under a range of different conditions, not sure how you would prefer to fix. It would be easy to check for null, but then sometimes there would be no QR code displayed.

@AreYouLoco
Copy link

#96 This seems to be the same issue

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