21

我从一位用户那里收到了这个新错误。这发生在我使用新的 11.0.0 Play Services 推送应用程序时。

Fatal Exception: java.lang.RuntimeException: Serializing to a byte array threw an IOException (should never happen).
       at com.google.android.gms.internal.aif.zzn(Unknown Source)
       at com.google.android.gms.internal.aez.zzKB(Unknown Source)
       at com.google.android.gms.internal.aez.zzKC(Unknown Source)
       at com.google.android.gms.internal.aez.zzKB(Unknown Source)
       at com.google.android.gms.internal.afc.run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
       at java.lang.Thread.run(Thread.java:762)
Caused by com.google.android.gms.internal.ahy: CodedOutputStream was writing to a flat byte array and ran out of space (pos 199 limit 199).
       at com.google.android.gms.internal.ahx.zze(Unknown Source)
       at com.google.android.gms.internal.ahx.zzc(Unknown Source)
       at com.google.android.gms.internal.ahx.zzc(Unknown Source)
       at com.google.android.gms.internal.ahx.zzb(Unknown Source)
       at com.google.android.gms.internal.afq.zza(Unknown Source)
       at com.google.android.gms.internal.ahx.zzJ(Unknown Source)
       at com.google.android.gms.internal.ahx.zzJ(Unknown Source)
       at com.google.android.gms.internal.afr.zza(Unknown Source)
       at com.google.android.gms.internal.aif.zzn(Unknown Source)
       at com.google.android.gms.internal.aez.zzKB(Unknown Source)
       at com.google.android.gms.internal.aez.zzKC(Unknown Source)
       at com.google.android.gms.internal.aez.zzKB(Unknown Source)
       at com.google.android.gms.internal.afc.run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
       at java.lang.Thread.run(Thread.java:762)

我不知道要开始。

4

2 回答 2

16

我是 Firebase 性能监控的工程师。很抱歉遇到这个问题的每个人。我们已经确定了问题,并且现在可以使用补丁程序。请升级到 11.0.2。

于 2017-06-22T19:02:54.220 回答
0

编辑:Firebase 11.0.2 似乎为我解决了这个问题

初步答案:我在运行 4.4 (CyanogenMod) 的 Galasy SIII 上遇到了同样的问题。我认为可以通过删除 AddTrace 注释来解决这个问题。

但是,将 Firebase 恢复到 10.2.6 为我解决了这个问题,即使使用注释也是如此。

我已按照 Eric Shieh ( https://firebase.google.com/support/contact/bugs-features )的要求向 Firebase 团队提交了一份错误报告

于 2017-06-19T10:23:12.970 回答