android-branch-deep-linking-attribution
android-branch-deep-linking-attribution copied to clipboard
Crash: BranchRemoteInterfaceUrlConnection.java line 134 (io.branch.referral.network.BranchRemoteInterfaceUrlConnection.doRestfulPost)
trafficstars
Hi guys, Today we noticed a weird crash in our Crashlytics dashboard:
Fatal Exception: java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:353)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Caused by java.lang.NoSuchMethodError: No static method newBuilder()Lcom/google/firebase/perf/v1/NetworkRequestMetric$Builder; in class Lcom/google/firebase/perf/v1/NetworkRequestMetric; or its super classes (declaration of 'com.google.firebase.perf.v1.NetworkRequestMetric' appears in /data/app/gr.androiddev.taxibeat-w4fVWIzh1AjrX8exoOlubw==/base.apk!classes2.dex)
at com.google.firebase.perf.metrics.NetworkRequestMetricBuilder.<init>(NetworkRequestMetricBuilder.java:61)
at com.google.firebase.perf.metrics.NetworkRequestMetricBuilder.<init>(NetworkRequestMetricBuilder.java:92)
at com.google.firebase.perf.metrics.NetworkRequestMetricBuilder.builder(NetworkRequestMetricBuilder.java:84)
at com.google.firebase.perf.network.FirebasePerfUrlConnection.instrument(FirebasePerfUrlConnection.java:186)
at io.branch.referral.network.BranchRemoteInterfaceUrlConnection.doRestfulPost(BranchRemoteInterfaceUrlConnection.java:134)
at io.branch.referral.network.BranchRemoteInterfaceUrlConnection.doRestfulPost(BranchRemoteInterfaceUrlConnection.java:47)
at io.branch.referral.network.BranchRemoteInterface.make_restful_post(BranchRemoteInterface.java:136)
at io.branch.referral.Branch$BranchPostTask.doInBackground(Branch.java:2957)
at io.branch.referral.Branch$BranchPostTask.doInBackground(Branch.java:2932)
at android.os.AsyncTask$2.call(AsyncTask.java:333)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
🔥 Our current Firebase BoM is 29.1.0 which corresponds to version 20.0.5 of our com.google.firebase:firebase-perf-ktx dependency.
❓ Could it be a class between our different versions of the Firebase Performance Monitoring lib?
🙇 Thanks in advance!