Closed wongena closed 2 years ago
When I try and add an object to my firestore using the following code:
await CrossCloudFirestore.Current .Instance .Collection("flightplans") .AddAsync(planToFirestore);
My app crashes and Visual Studio does not break and give an error. The app just crashes and when I look trough the output I find the following error
[ngena.flightbo] thread.cc:2148] No pending exception expected: java.lang.StackOverflowError: stack size 8MB [ngena.flightbo] thread.cc:2148] at void mono.java.lang.RunnableImplementor.n_run() (RunnableImplementor.java:-2) [ngena.flightbo] thread.cc:2148] at void mono.java.lang.RunnableImplementor.run() (RunnableImplementor.java:30) [ngena.flightbo] thread.cc:2148] at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:873) [ngena.flightbo] thread.cc:2148] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) [ngena.flightbo] thread.cc:2148] at void android.os.Looper.loop() (Looper.java:193) [ngena.flightbo] thread.cc:2148] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) [ngena.flightbo] thread.cc:2148] at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493) [ngena.flightbo] thread.cc:2148] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) [ngena.flightbo] thread.cc:2148] [libc] Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xff1a1db0 in tid 10250 (ngena.flightbox), pid 10250 (ngena.flightbox)
I used non native firestore datatypes and this caused this exception. So only use datatypes native to firestore.
When I try and add an object to my firestore using the following code:
My app crashes and Visual Studio does not break and give an error. The app just crashes and when I look trough the output I find the following error