I got a random crash on my app, may i know how to handle such issue:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at java.lang.StringBuilder. + 113(StringBuilder.java:113)
at com.ibm.mobilefirstplatform.clientsdk.android.push.internal.MFPPushUrlBuilder.getMessageUrl + 150(MFPPushUrlBuilder.java:150)
at com.ibm.mobilefirstplatform.clientsdk.android.push.api.MFPPush.sendMessageDeliveryStatus + 724(MFPPush.java:724)
at com.ibm.mobilefirstplatform.clientsdk.android.push.api.MFPPushIntentService.onMessageReceived + 189(MFPPushIntentService.java:189)
at com.google.firebase.messaging.FirebaseMessagingService.zzd + 60(:60)
at com.google.firebase.iid.zzg.run + 4(:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker + 1162(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run + 636(ThreadPoolExecutor.java:636)
at com.google.android.gms.common.util.concurrent.zza.run + 6(:6)
at java.lang.Thread.run + 784(Thread.java:784)
I got a random crash on my app, may i know how to handle such issue:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference at java.lang.StringBuilder. + 113(StringBuilder.java:113)
at com.ibm.mobilefirstplatform.clientsdk.android.push.internal.MFPPushUrlBuilder.getMessageUrl + 150(MFPPushUrlBuilder.java:150)
at com.ibm.mobilefirstplatform.clientsdk.android.push.api.MFPPush.sendMessageDeliveryStatus + 724(MFPPush.java:724)
at com.ibm.mobilefirstplatform.clientsdk.android.push.api.MFPPushIntentService.onMessageReceived + 189(MFPPushIntentService.java:189)
at com.google.firebase.messaging.FirebaseMessagingService.zzd + 60(:60)
at com.google.firebase.iid.zzg.run + 4(:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker + 1162(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run + 636(ThreadPoolExecutor.java:636)
at com.google.android.gms.common.util.concurrent.zza.run + 6(:6)
at java.lang.Thread.run + 784(Thread.java:784)