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

Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo(com.google.android.libraries.places.widget.AutocompleteActivity) #289

Open
vikmanatusEurelis opened this issue Nov 26, 2020 · 1 comment

Comments

@vikmanatusEurelis
Copy link

Hello,

We are using react-native-google-places in our app. On the general, everything is working perfectly on most of Android/IOS versions and devices. But for some reasons we don't know we are facing an error on Android 7.1.1 with device Nexus 6. This is the only version and device where we had crash reports for now.

The error is:

Fatal Exception: java.lang.RuntimeException:

Unable to start activity ComponentInfo{com.project.identifier/com.google.android.libraries.places.widget.AutocompleteActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference

As far as I could investiguate i found an occurence of this module in path android/src/main/java/com/arttitude360/reactnative/rngoogleplaces/RNGooglePlacesModule.java

I wanted to ask you if you could explain me why this error is happening only on this version of Android and if you could help me to find a way this fix this issue 😇

Best Regards

@vikmanatusEurelis vikmanatusEurelis changed the title Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo(com.google.android.libraries.places.widget.AutocompleteActivity): java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo(com.google.android.libraries.places.widget.AutocompleteActivity) Nov 26, 2020
@dprajapati1179
Copy link

Hello,

Is there any solution to the above problem?

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