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

NullPointerException in MyGcmListenerService #71

Open
singh-sarabjeet opened this issue Jan 26, 2017 · 1 comment
Open

NullPointerException in MyGcmListenerService #71

singh-sarabjeet opened this issue Jan 26, 2017 · 1 comment

Comments

@singh-sarabjeet
Copy link

When the message is received from the server, the message is in a bundle which is converted to JSONObject. This process is creating a NullPointerException.

Instead of creating a JSONObject, we can extract the data directly from the the Bundle.

@theshreyashguy
Copy link

i can fix it, let me know the file where the .java file is given, it occurs due to searching or asking object in an array (for example)
which is not stored in the array, we need to look for the logic and find an error

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