Skip to content

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

@vikmanatusEurelis

Description

@vikmanatusEurelis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions