android - Firebase Push - Key google.sent_time expected String but value was a java.lang.Long -
when android application using gcm service
receives firebase
push following:
w/bundle: key google.sent_time expected string value java.lang.long. default value
<null>
returned.
i know different services, application is able receive push notification , can't find information on web error log.
why getting java.lang.classcastexception
?
complete stacktrace
11-10 10:51:33.536 31712-31712/abcd.com.abcd e/firebaseinstanceid: failed resolve target intent service, skipping classname enforcement 11-10 10:51:33.536 31712-31712/abcd.com.abcd e/firebaseinstanceid: error while delivering message: serviceintent not found. 11-10 10:51:33.546 31712-32529/abcd.com.abcd w/bundle: key google.sent_time expected string value java.lang.long. default value <null> returned. 11-10 10:51:33.546 31712-32529/abcd.com.abcd w/bundle: attempt cast generated internal exception: java.lang.classcastexception: java.lang.long cannot cast java.lang.string @ android.os.basebundle.getstring(basebundle.java:921) @ com.google.android.gms.gcm.zza.zzae(unknown source) @ com.google.android.gms.gcm.gcmlistenerservice.zzo(unknown source) @ com.google.android.gms.gcm.gcmlistenerservice.zzn(unknown source) @ com.google.android.gms.gcm.gcmlistenerservice.zzm(unknown source) @ com.google.android.gms.gcm.gcmlistenerservice.zza(unknown source) @ com.google.android.gms.gcm.gcmlistenerservice$1.run(unknown source) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1112) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:587) @ java.lang.thread.run(thread.java:818) 11-10 10:51:33.546 31712-32529/abcd.com.abcd d/abcd: gcmbroadcastreceiver - push received!
obs: "abcd" replacing our package description.
Comments
Post a Comment