Fatal error: Uncaught WC_Data_Exception: Invalid billing email address in D:\XAMPP\htdocs\wordpress\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-data.php:810 Stack trace: #0 D:\XAMPP\htdocs\wordpress\wp-content\plugins\woocommerce\includes\class-wc-customer.php(971): WC_Data->error('customer_invali...', 'Invalid billing...') #1 D:\XAMPP\htdocs\wordpress\wp-content\plugins\woocommerce\includes\data-stores\class-wc-customer-data-store-session.php(113): WC_Customer->set_billing_email('admin1#localhos...') #2 D:\XAMPP\htdocs\wordpress\wp-content\plugins\woocommerce\includes\class-wc-data-store.php(159): WC_Customer_Data_Store_Session->read(Object(WC_Customer)) #3 D:\XAMPP\htdocs\wordpress\wp-content\plugins\woocommerce\includes\class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer)) #4 D:\XAMPP\htdocs\wordpress\wp-content\plugins\woocommerce\includes\class-woocommerce.php(757): WC_Customer->__construct(6, true) #5 D:\XAMPP\htdocs\wordpress\wp-content\plugins\woocommerce\includes\wc-core-functions in D:\XAMPP\htdocs\wordpress\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-data.php on line 810
When I try to instantiate RemoteConfig, I get this error and the app crashes (not an error, it just closes).
I've read that a workaround would be :
Workaround: go to your pub cache dir, find MethodCallHandler.java and replace this line:
properties.put(
"inDebugMode", firebaseRemoteConfigInfo.getConfigSettings().isDeveloperModeEnabled());
With this:
properties.put("inDebugMode", false);
The problem is that this file does not contain any line as it was described. Any ideas?
Full error:
E/flutter ( 4211): at android.app.ActivityThread.main(ActivityThread.java:7356)
E/flutter ( 4211): at java.lang.reflect.Method.invoke(Native Method)
E/flutter ( 4211): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
E/flutter ( 4211): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
E/flutter ( 4211):
F/flutter ( 4211): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(942)] Check failed: CheckException(env).
F/libc ( 4211): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 4211 (name_app), pid 4211 (name_app)
The workaround didn't work for me but in my case just changing the platform('com.google.firebase:firebase-bom:26.4.0') to implementation platform('com.google.firebase:firebase-bom') in my android/app/src/main/AndroidManifest.xmlfile fixed the problem.
Cheers
In my Nginx, I keep getting:
2020/10/02 06:08:08 [alert] 35#35: *94913 open socket #39 left in connection 8
2020/10/02 06:08:08 [alert] 35#35: *94899 open socket #23 left in connection 9
2020/10/02 06:08:08 [alert] 35#35: *94886 open socket #32 left in connection 15
2020/10/02 06:08:08 [alert] 35#35: *94903 open socket #40 left in connection 24
2020/10/02 06:08:08 [alert] 35#35: *94911 open socket #17 left in connection 31
2020/10/02 06:08:08 [alert] 35#35: *94895 open socket #37 left in connection 36
2020/10/02 06:08:08 [alert] 35#35: *94909 open socket #43 left in connection 40
2020/10/02 06:08:08 [alert] 35#35: *94898 open socket #20 left in connection 47
2020/10/02 06:08:08 [alert] 35#35: *94887 open socket #33 left in connection 54
2020/10/02 06:08:08 [alert] 35#35: *94893 open socket #36 left in connection 55
2020/10/02 06:08:08 [alert] 35#35: *94890 open socket #35 left in connection 58
2020/10/02 06:08:08 [alert] 35#35: *94889 open socket #34 left in connection 63
2020/10/02 06:08:08 [alert] 35#35: *94896 open socket #18 left in connection 71
2020/10/02 06:08:08 [alert] 35#35: aborting
2020/10/02 06:08:08 [alert] 33#33: worker process 35 exited on signal 6 (core dumped)
So I enabled a core dump by adding this to my nginx.conf
worker_rlimit_core 500M;
working_directory /tmp;
debug_points abort;
When the core is dumped, I used gdp as such:
gdb /usr/sbin/nginx /tmp/somecorefile.xxxx
backtrace full
And I am getting this output.
warning: Unexpected size of section `.reg-xstate/35' in core file.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `nginx: worker pr'.
Program terminated with signal SIGABRT, Aborted.
warning: Unexpected size of section `.reg-xstate/35' in core file.
#0 __GI_raise (sig=sig#entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) backtrace full
#0 __GI_raise (sig=sig#entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
set = {__val = {0, 93898407404718, 206158430256, 140725383938616, 140725383938416, 712653358923658240, 2, 6, 93898408092161, 2, 6, 8, 93898411815600,
140725383938672, 140725383938600, 140725383938672}}
pid = <optimized out>
tid = <optimized out>
ret = <optimized out>
#1 0x00007fc51604f535 in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x7fc515dc62c0, sa_sigaction = 0x7fc515dc62c0}, sa_mask = {__val = {712653358923658240, 140484452045760,
0, 140484452041200, 140484451262672, 1, 0, 93898411799280, 93898407566008, 140484451264536, 12, 93898408473376, 0, 140484452049600,
140484452057768, 93898411799280}}, sa_flags = 368698904, sa_restorer = 0x55666d7af2f0}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x000055666d377613 in ?? ()
No symbol table info available.
#3 0x000055666d3a2d68 in ?? ()
No symbol table info available.
#4 0x000055666d3a3a22 in ?? ()
No symbol table info available.
#5 0x000055666d3a1dc3 in ngx_spawn_process ()
No symbol table info available.
#6 0x000055666d3a2fd0 in ?? ()
No symbol table info available.
#7 0x000055666d3a4654 in ngx_master_process_cycle ()
No symbol table info available.
#8 0x000055666d3782bb in main ()
No symbol table info available.
And this one is a separate core dump
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/nginx...(no debugging symbols found)...done.
[New LWP 26510]
warning: Unexpected size of section `.reg-xstate/26510' in core file.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `nginx: worker pr'.
Program terminated with signal SIGABRT, Aborted.
warning: Unexpected size of section `.reg-xstate/26510' in core file.
#0 __GI_raise (sig=sig#entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) backtrace full
#0 __GI_raise (sig=sig#entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
set = {__val = {0, 9223372036854775807, 0, 0, 0, 60, 5, 0, 1288, 0, 10, 94846235324710, 1, 0, 94846235939456, 3560692332834648576}}
pid = <optimized out>
tid = <optimized out>
ret = <optimized out>
#1 0x00007f0e3ff4d535 in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x56431c2a3268, sa_sigaction = 0x56431c2a3268}, sa_mask = {__val = {3560692332834648576, 94846233719536,
0, 139699176612336, 139699175833808, 1, 0, 94846233719536, 94846217345720, 139699175834328, 12, 94846218253088, 0, 139699176624816,
139699176621944, 94846233719536}}, sa_flags = 1072285208, sa_restorer = 0x56431c11b2f0}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x000056431b14f613 in ?? ()
No symbol table info available.
#3 0x000056431b17ad68 in ?? ()
No symbol table info available.
#4 0x000056431b17ba22 in ?? ()
No symbol table info available.
#5 0x000056431b179dc3 in ngx_spawn_process ()
No symbol table info available.
#6 0x000056431b17afd0 in ?? ()
No symbol table info available.
#7 0x000056431b17c654 in ngx_master_process_cycle ()
No symbol table info available.
#8 0x000056431b1502bb in main ()
No symbol table info available.
My nginx version is such:
nginx version: nginx/1.14.2
built with OpenSSL 1.1.1d 10 Sep 2019
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fdebug-prefix-map=/build/nginx-Cjs4TR/nginx-1.14.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -fPIC' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_sub_module --with-http_xslt_module=dynamic --with-stream=dynamic --with-stream_ssl_module --with-stream_ssl_preread_module --with-mail=dynamic --with-mail_ssl_module --add-dynamic-module=/build/nginx-Cjs4TR/nginx-1.14.2/debian/modules/http-auth-pam --add-dynamic-module=/build/nginx-Cjs4TR/nginx-1.14.2/debian/modules/http-dav-ext --add-dynamic-module=/build/nginx-Cjs4TR/nginx-1.14.2/debian/modules/http-echo --add-dynamic-module=/build/nginx-Cjs4TR/nginx-1.14.2/debian/modules/http-upstream-fair --add-dynamic-module=/build/nginx-Cjs4TR/nginx-1.14.2/debian/modules/http-subs-filter
Does anyone know what any of this means? And is this the correct place to report this problem?
The iOS app is working fine when we download and install from testflight if I generate that app from Xcode 9.1 and MacOS 10.13.6(High Sierra)and uploaded to testflight.I have opened the same code from Xcode 11.3 on latest MacOS Catalina and generated iPA and uploaded to the testflight using proper distribution certificate. I was able to download and install app but app is crashing during app launch.
Please suggest me what could be the reason for this issue. I am adding some app crash logs from my iPhone.
{"app_name":"XXXX","app_cohort":"2|date=1586433600000&sf=143467&tid=e7af489f4214d36d52f2f775602345e93b2fd4cfcc690cd6ff09b0e7262ffdd7&ttype=i","app_version":"1.2.5","timestamp":"2020-04-09 17:59:31.50 +0530","slice_uuid":"45d30e88-5b71-32e7-854b-dcc2a43f5d99","adam_id":586832868,"build_version":"424","bundleID":"com.YYYY.XXXX","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 13.3.1 (17D50)","incident_id":"C379DDCD-83EA-49AC-A4B5-24E0316D0681","is_beta":true,"name":"XXXX"}
Incident Identifier: C379DDCD-83EA-49AC-A4B5-24E0316D0681
Beta Identifier: 5438D6EC-9706-4D7C-9DED-0259D2ECBE6A
Hardware Model: iPhone11,8
Process: XXXX [51890]
Path: /private/var/containers/Bundle/Application/E8C2C24C-087A-49B9-B78E-E6BC18A44EC2/XXXX.app/XXXX
Identifier: com.YYYY.XXXX
Version: 424 (1.2.5)
AppStoreTools: 11E146
AppVariant: 1:iPhone11,8:13
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.YYYY.XXXX [4881]
Date/Time: 2020-04-09 17:59:30.6770 +0530
Launch Time: 2020-04-09 17:59:30.4400 +0530
OS Version: iPhone OS 13.3.1 (17D50)
Release Type: User
Baseband Version: 2.04.03
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x8039c2a100000002 -> 0x0000002100000002 (possible pointer authentication failure)
VM Region Info: 0x2100000002 is not in any region. Bytes after previous region: 130459631619
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_NANO 0000000280000000-00000002a0000000 [512.0M] rw-/rwx SM=PRV
--->
UNUSED SPACE AT END
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [51890]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_platform.dylib 0x00000001a6012798 0x1a600d000 + 22424
1 XXXX 0x00000001021e20d4 0x1020d4000 + 1106132
2 libobjc.A.dylib 0x00000001a602d3f8 0x1a601f000 + 58360
3 libdyld.dylib 0x00000001a6110168 0x1a6100000 + 65896
4 libdyld.dylib 0x00000001a61027e8 0x1a6100000 + 10216
5 libdyld.dylib 0x00000001a610fbf4 0x1a6100000 + 64500
6 libdyld.dylib 0x00000001a612aee4 0x1a6100000 + 175844
7 dyld 0x00000001024a4530 0x10249c000 + 34096
8 dyld 0x00000001024a298c 0x10249c000 + 27020
9 dyld 0x000000010249d22c 0x10249c000 + 4652
10 dyld 0x000000010249d038 0x10249c000 + 4152
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x8039c2a100000002 x1: 0x00000001022dab37 x2: 0x000000000000000a x3: 0xfffffffffffffffc
x4: 0x0000000000000052 x5: 0x0000000000000056 x6: 0x00000001e6b53848 x7: 0x00000000000004d0
x8: 0x000000028189c0c4 x9: 0x0000000000010000 x10: 0x0000000000000194 x11: 0x0000000000000001
x12: 0x0000000000000003 x13: 0x0000000000000000 x14: 0x00000000fffffffc x15: 0x0000000000000018
x16: 0x00000001a6012790 x17: 0x00000001eca7b3b0 x18: 0x0000000000000000 x19: 0x00000001022dab37
x20: 0x00000001022d7cd5 x21: 0x00000001022dab40 x22: 0x8039c2a100000002 x23: 0x0000000000000000
x24: 0x000000000000017f x25: 0x0000000000000000 x26: 0x0000000102329620 x27: 0x00000001022eb593
x28: 0x00000001ef76d4d8 fp: 0x000000016dd290f0 lr: 0x00000001021e20d4
sp: 0x000000016dd29090 pc: 0x00000001a6012798 cpsr: 0x00000000
esr: 0x92000004 (Data Abort) byte read Translation fault
Binary Images:
0x1020d4000 - 0x102307fff XXXX arm64 <45d30e885b7132e7854bdcc2a43f5d99> /var/containers/Bundle/Application/E8C2C24C-087A-49B9-B78E-E6BC18A44EC2/XXXX.app/XXXX
0x10249c000 - 0x102503fff dyld arm64e <e008b93875933f57b94a747bc6c3beb5> /usr/lib/dyld
0x1a5ee4000 - 0x1a5efafff libsystem_trace.dylib arm64e <1177e8a367aa3c8cb5605bcc40419d54> /usr/lib/system/libsystem_trace.dylib
0x1a5efb000 - 0x1a5f2efff libxpc.dylib arm64e <e2894301267b3872a3cd0aaf659353a9> /usr/lib/system/libxpc.dylib
0x1a5f2f000 - 0x1a5f2ffff libsystem_blocks.dylib arm64e <0fb3b7d281de30979e83b408b48e8b0e> /usr/lib/system/libsystem_blocks.dylib
0x1a5f30000 - 0x1a5faefff libsystem_c.dylib arm64e <8b9c0d18aeba3e24a95f2ec54f9fb4ef> /usr/lib/system/libsystem_c.dylib
0x1a5faf000 - 0x1a5febfff libdispatch.dylib arm64e <0c7a69cdf2ee3426bfd8742c903d3d07> /usr/lib/system/libdispatch.dylib
0x1a5fec000 - 0x1a600cfff libsystem_malloc.dylib arm64e <479f1b0225ee32ce8c0afaf20cd9e0c6> /usr/lib/system/libsystem_malloc.dylib
0x1a600d000 - 0x1a6013fff libsystem_platform.dylib arm64e <b07cc9f89c9f38b0bb974a77bf6a5db4> /usr/lib/system/libsystem_platform.dylib
0x1a6014000 - 0x1a601efff libsystem_pthread.dylib arm64e <637416f6a7a3339b96ed9ebc80d38988> /usr/lib/system/libsystem_pthread.dylib
0x1a601f000 - 0x1a604ffff libobjc.A.dylib arm64e <2c18c54e6c84310c851ff9602890d908> /usr/lib/libobjc.A.dylib
0x1a6050000 - 0x1a60bcfff libcorecrypto.dylib arm64e <9d52b5f81c483635ad32214f878e3e29> /usr/lib/system/libcorecrypto.dylib
0x1a60bd000 - 0x1a60d0fff libc++abi.dylib arm64e <b60e71f7dd75323c8831b1ca4d42e3cb> /usr/lib/libc++abi.dylib
0x1a60d1000 - 0x1a60fffff libsystem_kernel.dylib arm64e <ae36dce0999d39909eed01106f17dc90> /usr/lib/system/libsystem_kernel.dylib
0x1a6100000 - 0x1a6133fff libdyld.dylib arm64e <9d12204719b736a2a89227401f9e0e6c> /usr/lib/system/libdyld.dylib
0x1a6134000 - 0x1a613cfff libsystem_darwin.dylib arm64e <e2c1c480b2ec3bbea3fa4c70e4056c64> /usr/lib/system/libsystem_darwin.dylib
0x1a613d000 - 0x1a6197fff libc++.1.dylib arm64e <fff3d40d85a0308eac32908bca1188d0> /usr/lib/libc++.1.dylib
0x1a6198000 - 0x1a61d9fff libsystem_info.dylib arm64e <c2e15922d993340aaa5da454a57dfb76> /usr/lib/system/libsystem_info.dylib
0x1a61da000 - 0x1a6557fff CoreFoundation arm64e <dc2c95c6b95439e886a25e0af8801e87> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1a6558000 - 0x1a65befff SystemConfiguration arm64e <9e1b636801ac32da9dabce33f20ce872> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x1a65bf000 - 0x1a688afff Foundation arm64e <7a7a96af79e43db1890442e61cae8999> /System/Library/Frameworks/Foundation.framework/Foundation
0x1a688b000 - 0x1a68bdfff libCRFSuite.dylib arm64e <15ee962961303d46964ecd419e64345a> /usr/lib/libCRFSuite.dylib
0x1a68be000 - 0x1a6a41fff CoreServices arm64e <9298be2d0bd93660bddcf43d32ea3872> /System/Library/Frameworks/CoreServices.framework/CoreServices
0x1a6a42000 - 0x1a6aa4fff libSparse.dylib arm64e <797932fbc17f372bbd2cb9bc2d55cac1> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libSparse.dylib
0x1a6aa5000 - 0x1a6f9efff ImageIO arm64e <b301e385830f311ebce0e786df524e8e> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x1a6f9f000 - 0x1a6fa1fff ConstantClasses arm64e <96b656dd09a03e82b9c2917ab36a3fdd> /System/Library/PrivateFrameworks/ConstantClasses.framework/ConstantClasses
I have fixed this crash by renaming RKResponse class name of Restkit framework by adding some prefix to it. So that it will not conflict with RKResponseKit framework class RKResponse
I am implementing a way to change the signed in phone number of the user. To do so, first I call PhoneAuthProvider.VerifyPhoneNumber to get a SMS with the code. Then I use the code to get the credential with PhoneAuthProvider.GetCredential. Everything works fine until this point. When I call FirebaseUser.UpdatePhoneNumberCredentialAsync to finally update the phone, the app crashes. The number is actually getting updated in Firebase, but the method crashes before it's finished. Am I doing something wrong or is it a Firebase-Unity bug? Follows the error log from Logcat.
(Filename: ./Runtime/Export/Debug.bindings.h Line: 43)
07-06 21:01:03.776 2375-2412/? W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.android.gms.internal.zzdze#7af1ff3
07-06 21:01:05.597 2375-2536/? D/FirebaseAuth: Notifying id token listeners about user ( fVZUcEX80zWZIzD5xU8cIhSloVi1 ).
07-06 21:01:05.597 2375-2375/? D/FirebaseApp: Notifying auth state listeners.
07-06 21:01:05.598 2375-2375/? D/FirebaseApp: Notified 0 auth state listeners.
07-06 21:01:05.599 2375-2375/? E/firebase: result != nullptr
07-06 21:01:05.610 20205-30810/? W/FirebaseAuth: [PhoneNumberAuthPostProcessor] postProcess starts
07-06 21:01:05.693 2375-2375/? A/zygote: java_vm_ext.cc:504] JNI DETECTED ERROR IN APPLICATION: can't call com.google.firebase.auth.FirebaseUser com.google.firebase.auth.AuthResult.getUser() on null object
java_vm_ext.cc:504] in call to CallObjectMethodV
java_vm_ext.cc:504] from void com.google.firebase.app.internal.cpp.JniResultCallback.nativeOnResult(java.lang.Object, boolean, int, java.lang.String, long, long)
java_vm_ext.cc:504] "main" prio=5 tid=1 Runnable
java_vm_ext.cc:504] | group="main" sCount=0 dsCount=0 flags=0 obj=0x736004d8 self=0xe85f5000
java_vm_ext.cc:504] | sysTid=2375 nice=-10 cgrp=default sched=0/0 handle=0xecbba4bc
07-06 21:01:05.694 2375-2375/? A/zygote: java_vm_ext.cc:504] | state=R schedstat=( 6746232415 788335286 4198 ) utm=547 stm=126 core=7 HZ=100
java_vm_ext.cc:504] | stack=0xff162000-0xff164000 stackSize=8MB
java_vm_ext.cc:504] | held mutexes= "mutator lock"(shared held)
java_vm_ext.cc:504] native: #00 pc 002c4a4b /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+130)
java_vm_ext.cc:504] native: #01 pc 003560a1 /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+200)
java_vm_ext.cc:504] native: #02 pc 00352573 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+34)
java_vm_ext.cc:504] native: #03 pc 0022ff35 /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+736)
java_vm_ext.cc:504] native: #04 pc 0023032b /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+58)
java_vm_ext.cc:504] native: #05 pc 000d280b /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+46)
java_vm_ext.cc:504] native: #06 pc 000d56a9 /system/lib/libart.so (_ZN3art11ScopedCheck17CheckMethodAndSigERNS_18ScopedObjectAccessEP8_jobjectP7_jclassP10_jmethodIDNS_9Primitive4TypeENS_10InvokeTypeE+1228)
java_vm_ext.cc:504] native: #07 pc 000d4427 /system/lib/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+514)
java_vm_ext.cc:504] native: #08 pc 000c548b /system/lib/libart.so (_ZN3art8CheckJNI17CallObjectMethodVEP7_JNIEnvP8_jobjectP10_jmethodIDSt9__va_list+38)
java_vm_ext.cc:504] native: #09 pc 000b0513 /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN7_JNIEnv16CallObjectMethodEP8_jobjectP10_jmethodIDz+18)
java_vm_ext.cc:504] native: #10 pc 000c5d6b /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN8firebase4auth16ReadSignInResultEP8_jobjectPNS0_18FutureCallbackDataEbPv+46)
java_vm_ext.cc:504] native: #11 pc 000c5cad /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN8firebase4auth14FutureCallbackEP7_JNIEnvP8_jobjectbiPKcPv+120)
java_vm_ext.cc:504] native: #12 pc 000cf0fd /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN8firebase4util32JniResultCallback_nativeOnResultEP7_JNIEnvP8_jobjectS4_hiP8_jstringxx+116)
java_vm_ext.cc:504] native: #13 pc 000002c5 /data/data/com.company.product/cache/oat/arm/app_resources_lib.odex (Java_com_google_firebase_app_internal_cpp_JniResultCallback_nativeOnResult__Ljava_lang_Object_2ZILjava_lang_String_2JJ+164)
java_vm_ext.cc:504] at com.google.firebase.app.internal.cpp.JniResultCallback.nativeOnResult(Native method)
java_vm_ext.cc:504] at com.google.firebase.app.internal.cpp.JniResultCallback.onCompletion(JniResultCallback.java:196)
java_vm_ext.cc:504] - locked <0x071a32e1> (a com.google.firebase.app.internal.cpp.JniResultCallback)
java_vm_ext.cc:504] at com.google.firebase.app.internal.cpp.JniResultCallback$TaskCallback.onSuccess(JniResultCallback.java:106)
java_vm_ext.cc:504] - locked <0x0cae6806> (a java.lang.Object)
java_vm_ext.cc:504] at com.google.android.gms.tasks.zzj.run(unavailable:-1)
java_vm_ext.cc:504] - locked <0x04984ec7> (a java.lang.Object)
java_vm_ext.cc:504] at android.os.Handler.handleCallback(Handler.java:789)
java_vm_ext.cc:504] at android.os.Handler.dispatchMessage(Handler.java:98)
java_vm_ext.cc:504] at android.os.Looper.loop(Looper.java:164)
java_vm_ext.cc:504] at android.app.ActivityThread.main(ActivityThread.java:6938)
java_vm_ext.cc:504] at java.lang.reflect.Method.invoke(Native method)
java_vm_ext.cc:504] at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
java_vm_ext.cc:504] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
java_vm_ext.cc:504]
runtime.cc:516] Runtime aborting...
runtime.cc:516]
runtime.cc:524] JNI DETECTED ERROR IN APPLICATION: can't call com.google.firebase.auth.FirebaseUser com.google.firebase.auth.AuthResult.getUser() on null object
runtime.cc:524] in call to CallObjectMethodV
runtime.cc:524] from void com.google.firebase.app.internal.cpp.JniResultCallback.nativeOnResult(java.lang.Object, boolean, int, java.lang.String, long, long)
runtime.cc:524] "main" prio=5 tid=1 Runnable
runtime.cc:524] | group="main" sCount=0 dsCount=0 flags=0 obj=0x736004d8 self=0xe85f5000
runtime.cc:524] | sysTid=2375 nice=-10 cgrp=default sched=0/0 handle=0xecbba4bc
runtime.cc:524] | state=R schedstat=( 6746232415 788335286 4198 ) utm=547 stm=126 core=7 HZ=100
runtime.cc:524] | stack=0xff162000-0xff164000 stackSize=8MB
runtime.cc:524] | held mutexes= "mutator lock"(shared held)
runtime.cc:524] native: #00 pc 002c4a4b /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+130)
runtime.cc:524] native: #01 pc 003560a1 /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+200)
runtime.cc:524] native: #02 pc 00352573 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+34)
runtime.cc:524] native: #03 pc 0022ff35 /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+736)
runtime.cc:524] native: #04 pc 0023032b /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+58)
runtime.cc:524] native: #05 pc 000d280b /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+46)
runtime.cc:524] native: #06 pc 000d56a9 /system/lib/libart.so (_ZN3art11ScopedCheck17CheckMethodAndSigERNS_18ScopedObjectAccessEP8_jobjectP7_jclassP10_jmethodIDNS_9Primitive4TypeENS_10InvokeTypeE+1228)
runtime.cc:524] native: #07 pc 000d4427 /system/lib/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+514)
runtime.cc:524] native: #08 pc 000c548b /system/lib/libart.so (_ZN3art8CheckJNI17CallObjectMethodVEP7_JNIEnvP8_jobjectP10_jmethodIDSt9__va_list+38)
runtime.cc:524] native: #09 pc 000b0513 /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN7_JNIEnv16CallObjectMethodEP8_jobjectP10_jmethodIDz+18)
runtime.cc:524] native: #10 pc 000c5d6b /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN8firebase4auth16ReadSignInResultEP8_jobjectPNS0_18FutureCallbackDataEbPv+46)
runtime.cc:524] native: #11 pc 000c5cad /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN8firebase4auth14FutureCallbackEP7_JNIEnvP8_jobjectbiPKcPv+120)
07-06 21:01:05.695 2375-2375/? A/zygote: runtime.cc:524] native: #12 pc 000cf0fd /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN8firebase4util32JniResultCallback_nativeOnResultEP7_JNIEnvP8_jobjectS4_hiP8_jstringxx+116)
runtime.cc:524] native: #13 pc 000002c5 /data/data/com.company.product/cache/oat/arm/app_resources_lib.odex (Java_com_google_firebase_app_internal_cpp_JniResultCallback_nativeOnResult__Ljava_lang_Object_2ZILjava_lang_String_2JJ+164)
runtime.cc:524] at com.google.firebase.app.internal.cpp.JniResultCallback.nativeOnResult(Native method)
runtime.cc:524] at com.google.firebase.app.internal.cpp.JniResultCallback.onCompletion(JniResultCallback.java:196)
runtime.cc:524] - locked <0x071a32e1> (a com.google.firebase.app.internal.cpp.JniResultCallback)
runtime.cc:524] at com.google.firebase.app.internal.cpp.JniResultCallback$TaskCallback.onSuccess(JniResultCallback.java:106)
runtime.cc:524] - locked <0x0cae6806> (a java.lang.Object)
runtime.cc:524] at com.google.android.gms.tasks.zzj.run(unavailable:-1)
runtime.cc:524] - locked <0x04984ec7> (a java.lang.Object)
runtime.cc:524] at android.os.Handler.handleCallback(Handler.java:789)
runtime.cc:524] at android.os.Handler.dispatchMessage(Handler.java:98)
runtime.cc:524] at android.os.Looper.loop(Looper.java:164)
runtime.cc:524] at android.app.ActivityThread.main(ActivityThread.java:6938)
runtime.cc:524] at java.lang.reflect.Method.invoke(Native method)
runtime.cc:524] at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
runtime.cc:524] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
runtime.cc:524]
07-06 21:01:05.846 2563-2563/? A/DEBUG: Abort message: 'java_vm_ext.cc:504] JNI DETECTED ERROR IN APPLICATION: can't call com.google.firebase.auth.FirebaseUser com.google.firebase.auth.AuthResult.getUser() on null object'
r0 00000000 r1 00000947 r2 00000006 r3 00000008
r4 00000947 r5 00000947 r6 ff95d790 r7 0000010c
r8 0000000b r9 ff95d7f1 sl 0000000a fp ff95d7f0
ip 00000000 sp ff95d780 lr e9f6e447 pc e9f9f508 cpsr 200d0010
07-06 21:01:05.856 2563-2563/? A/DEBUG: #04 pc 003ef7ad /system/lib/libart.so (_ZN7android4base10LogMessageD1Ev+456)
#05 pc 00230143 /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1262)
#06 pc 0023032b /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+58)
#07 pc 000d280b /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+46)
#08 pc 000d56a9 /system/lib/libart.so (_ZN3art11ScopedCheck17CheckMethodAndSigERNS_18ScopedObjectAccessEP8_jobjectP7_jclassP10_jmethodIDNS_9Primitive4TypeENS_10InvokeTypeE+1228)
#09 pc 000d4427 /system/lib/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+514)
#10 pc 000c548b /system/lib/libart.so (_ZN3art8CheckJNI17CallObjectMethodVEP7_JNIEnvP8_jobjectP10_jmethodIDSt9__va_list+38)
#11 pc 000b0513 /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN7_JNIEnv16CallObjectMethodEP8_jobjectP10_jmethodIDz+18)
#12 pc 000c5d6b /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN8firebase4auth16ReadSignInResultEP8_jobjectPNS0_18FutureCallbackDataEbPv+46)
#13 pc 000c5cad /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN8firebase4auth14FutureCallbackEP7_JNIEnvP8_jobjectbiPKcPv+120)
#14 pc 000cf0fd /data/app/com.company.product-muqASgSszT-5GC-bGDgKRQ==/lib/arm/libApp-4.5.2.so (_ZN8firebase4util32JniResultCallback_nativeOnResultEP7_JNIEnvP8_jobjectS4_hiP8_jstringxx+116)
#15 pc 000002c5 /data/data/com.company.product/cache/oat/arm/app_resources_lib.odex (offset 0x2000)
07-06 21:01:17.397 20205-21357/? E/FirebaseAuth: [VerifyPhoneNumberOperation] RemoteException when sending auto retrieval timeout response.
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:761)
at car.c(:com.google.android.gms#12685025#12.6.85 (040408-197041431):1)
at bebh.c(:com.google.android.gms#12685025#12.6.85 (040408-197041431):2)
at bdyf.a(:com.google.android.gms#12685025#12.6.85 (040408-197041431):4)
at bdyd.a(:com.google.android.gms#12685025#12.6.85 (040408-197041431):1)
at bdyd.c(:com.google.android.gms#12685025#12.6.85 (040408-197041431):1)
at bdyd.handleMessage(:com.google.android.gms#12685025#12.6.85 (040408-197041431):52)
at oup.run(:com.google.android.gms#12685025#12.6.85 (040408-197041431):5)
at ovb.run(:com.google.android.gms#12685025#12.6.85 (040408-197041431):27)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at pbc.run(Unknown Source:7)
at java.lang.Thread.run(Thread.java:764)
07-06 21:01:17.398 20205-21357/? W/FirebaseAuth: [PhoneVerificationSession] PhoneVerificationSession terminated
07-06 21:01:17.420 20205-28403/? W/FirebaseAuth: [PhoneNumberAuthPostProcessor] postProcess ends
07-06 21:01:17.433 20205-30810/? W/FirebaseAuth: [PhoneNumberAuthPostProcessor] postProcess ends
And the method I'm using:
public void UpdatePhoneNumber(string smsCode, Action<string> OnUpdatePhoneFinish)
{
Debug.Log("CODE: " + smsCode);
if (m_signupData != null)
{
m_signupData.Credetial = PhoneAuthProvider.GetInstance(m_firebaseAuth).GetCredential(m_signupData.Id, smsCode);
Debug.Log("CREDENTIAL: " + m_signupData.Credetial); // working fine until this point
m_firebaseUser.UpdatePhoneNumberCredentialAsync(m_signupData.Credetial).ContinueWith((task) =>
{
Debug.Log("Finished request"); // never reaches this debug
});
}
}
Everything works fine until I call UpdatePhoneNumberCredentialAsync. The Debug inside the callback is never reached.
Looks like this was a Firebase-Unity bug, fixed in version 5.2.0:
https://firebase.google.com/support/release-notes/unity