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

Attempt to invoke interface method 'boolean android.database.Cursor.moveToFirst()' on a null object reference #91

Open
the-nippy opened this issue Jul 8, 2019 · 0 comments

Comments

@the-nippy
Copy link

image

My android version is 9.0, API28.
React Native version is 0.59.9.

happened when i called function getContacts() like this:

Contacts.getContacts( (error, contacts) =>  {
          if (error) {
            console.error(error);
          }
          else {
            console.log(contacts);
            // Alert.alert('A',contacts)
          }
        });

java file line 625:
image

can anyone help me ? thans thanks thanks ...

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

1 participant