Android Question Can't find the problem

tufanv

Expert
Licensed User
Longtime User
Hello,

There is a trending crash report in my firebase crashlytics. Usually I can see the line number of main.java and find the correct line for b4a from this file , this error just shows this :

B4X:
Fatal Exception: java.lang.NullPointerException
uriString
android.net.Uri$StringUri.<init> (Uri.java:475)
android.os.Looper.loop (Looper.java:207)
android.app.ActivityThread.main (ActivityThread.java:5765)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:679)

As I checked on the web it says it is a problem related parsing urls from any string but I can't understand how it is related. Is it possible to find the line for this problem ?
 

Pendrush

Well-Known Member
Licensed User
Longtime User
I have same error in multiple apps compiled with B4A v8.50.
Some of apps compiled with prior version don't have error like this.
Error is sporadic about 20 errors on 100k started instances.
 
Upvote 0

Pendrush

Well-Known Member
Licensed User
Longtime User
You are right, its related to SDK update, not B4A update.
This kind of error is new, first error is dated somewhere on end of September.
It's look like crash inside AdMob.
B4X:
Fatal Exception: java.lang.NullPointerException: uriString
       at android.net.Uri$StringUri.<init>(Uri.java:476)
       at android.net.Uri$StringUri.<init>(Unknown Source)
       at android.net.Uri.parse(Uri.java:438)
       at com.google.android.gms.ads.internal.video.a.a(:com.google.android.gms.policy_ads_fdr_dynamite@8005@8005.217755688.217755688:20)
       at com.google.android.gms.ads.internal.video.gmsg.f.a(:com.google.android.gms.policy_ads_fdr_dynamite@8005@8005.217755688.217755688:79)
       at com.google.android.gms.ads.internal.webview.j.a(:com.google.android.gms.policy_ads_fdr_dynamite@8005@8005.217755688.217755688:31)
       at com.google.android.gms.ads.internal.webview.ac.run(Unknown Source:5)
       at android.os.Handler.handleCallback(Handler.java:789)
       at android.os.Handler.dispatchMessage(Handler.java:98)
       at com.google.android.gms.ads.internal.util.e.dispatchMessage(:com.google.android.gms.policy_ads_fdr_dynamite@8005@8005.217755688.217755688:1)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6944)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
    
    
Fatal Exception: java.lang.NullPointerException: uriString
       at android.net.Uri$StringUri.<init>(Uri.java:475)
       at android.net.Uri$StringUri.<init>(Uri.java:465)
       at android.net.Uri.parse(Uri.java:437)
       at com.google.android.gms.ads.internal.video.a.a(:com.google.android.gms.dynamite_adsdynamite@14366051@14.3.66 (040408-213742215):13)
       at com.google.android.gms.ads.internal.video.gmsg.f.a(:com.google.android.gms.dynamite_adsdynamite@14366051@14.3.66 (040408-213742215):148)
       at com.google.android.gms.ads.internal.webview.j.a(:com.google.android.gms.dynamite_adsdynamite@14366051@14.3.66 (040408-213742215):293)
       at com.google.android.gms.ads.internal.webview.ac.run(Unknown Source:4)
       at android.os.Handler.handleCallback(Handler.java:739)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at com.google.android.gms.ads.internal.util.e.dispatchMessage(:com.google.android.gms.dynamite_adsdynamite@14366051@14.3.66 (040408-213742215):5)
       at android.os.Looper.loop(Looper.java:148)
       at android.app.ActivityThread.main(ActivityThread.java:5469)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
I have the same reports coming.I pressed an arrow inside the report and I saw the admob reports too. what should we do ?
You are right, its related to SDK update, not B4A update.
This kind of error is new, first error is dated somewhere on end of September.
It's look like crash inside AdMob.
B4X:
Fatal Exception: java.lang.NullPointerException: uriString
       at android.net.Uri$StringUri.<init>(Uri.java:476)
       at android.net.Uri$StringUri.<init>(Unknown Source)
       at android.net.Uri.parse(Uri.java:438)
       at com.google.android.gms.ads.internal.video.a.a(:com.google.android.gms.policy_ads_fdr_dynamite@8005@8005.217755688.217755688:20)
       at com.google.android.gms.ads.internal.video.gmsg.f.a(:com.google.android.gms.policy_ads_fdr_dynamite@8005@8005.217755688.217755688:79)
       at com.google.android.gms.ads.internal.webview.j.a(:com.google.android.gms.policy_ads_fdr_dynamite@8005@8005.217755688.217755688:31)
       at com.google.android.gms.ads.internal.webview.ac.run(Unknown Source:5)
       at android.os.Handler.handleCallback(Handler.java:789)
       at android.os.Handler.dispatchMessage(Handler.java:98)
       at com.google.android.gms.ads.internal.util.e.dispatchMessage(:com.google.android.gms.policy_ads_fdr_dynamite@8005@8005.217755688.217755688:1)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6944)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
   
   
Fatal Exception: java.lang.NullPointerException: uriString
       at android.net.Uri$StringUri.<init>(Uri.java:475)
       at android.net.Uri$StringUri.<init>(Uri.java:465)
       at android.net.Uri.parse(Uri.java:437)
       at com.google.android.gms.ads.internal.video.a.a(:com.google.android.gms.dynamite_adsdynamite@14366051@14.3.66 (040408-213742215):13)
       at com.google.android.gms.ads.internal.video.gmsg.f.a(:com.google.android.gms.dynamite_adsdynamite@14366051@14.3.66 (040408-213742215):148)
       at com.google.android.gms.ads.internal.webview.j.a(:com.google.android.gms.dynamite_adsdynamite@14366051@14.3.66 (040408-213742215):293)
       at com.google.android.gms.ads.internal.webview.ac.run(Unknown Source:4)
       at android.os.Handler.handleCallback(Handler.java:739)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at com.google.android.gms.ads.internal.util.e.dispatchMessage(:com.google.android.gms.dynamite_adsdynamite@14366051@14.3.66 (040408-213742215):5)
       at android.os.Looper.loop(Looper.java:148)
       at android.app.ActivityThread.main(ActivityThread.java:5469)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
 
Upvote 0
Top