You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: