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

bug: example error with empty config key #28

Open
bazuka5801 opened this issue Oct 1, 2020 · 0 comments · May be fixed by #27
Open

bug: example error with empty config key #28

bazuka5801 opened this issue Oct 1, 2020 · 0 comments · May be fixed by #27

Comments

@bazuka5801
Copy link

Expected Behavior

image

Actual Behavior and Steps to Reproduce the Problem

P.s. with adding config key
image

Error from browser console (android device)

Uncaught (in promise) Attempt to invoke virtual method 'com.google.firebase.firestore.CollectionReference com.google.firebase.firestore.FirebaseFirestore.collection(java.lang.String)' on a null object reference

Error from android studio

E/FirestorePlugin: Error processing collection get in thread
    java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.firebase.firestore.CollectionReference com.google.firebase.firestore.FirebaseFirestore.collection(java.lang.String)' on a null object reference
        at uk.co.reallysmall.cordova.plugin.firestore.CollectionGetHandler.handle(CollectionGetHandler.java:38)
        at uk.co.reallysmall.cordova.plugin.firestore.FirestorePlugin.execute(FirestorePlugin.java:73)
        at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
        at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
        at com.getcapacitor.MessageHandler.callCordovaPluginMethod(MessageHandler.java:107)
        at com.getcapacitor.MessageHandler.postMessage(MessageHandler.java:51)
        at android.os.MessageQueue.nativePollOnce(Native Method)
        at android.os.MessageQueue.next(MessageQueue.java:363)
        at android.os.Looper.loop(Looper.java:173)
        at android.os.HandlerThread.run(HandlerThread.java:67)

Specifications

  • Plugin version: 4.1.1
  • Framework: --
  • Framework version: --
  • Operating system: maxOs Big Sure beta 11.0
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

Successfully merging a pull request may close this issue.

1 participant