4

我对发布 Android 应用程序非常陌生,并且在发布前报告中确实收到了“Google Pixel 3”设备的以下错误:致命异常:UserFacing7。

引起:com.google.android.apps.gsa.tasks.c:java.lang.NullPointerException:尝试在空对象引用上调用虚拟方法'boolean java.lang.String.equals(java.lang.Object)'

我试图分析和重现这个问题,但没有成功。这似乎是一个与 java 相关的问题,从 Unity 上下文中我不知道如何解决和解决这个问题,并且真的需要帮助。

有趣的是,我有同样的应用程序,用另一种语言同时发布,没有任何错误。

这是堆栈跟踪:

FATAL EXCEPTION: UserFacing7
Process: com.google.android.googlequicksearchbox:search, PID: 9979
com.google.android.apps.gsa.tasks.f: EXCLUSIVE background task FETCH_OPT_IN_STATUSES crashed.
at com.google.android.apps.gsa.tasks.g.onFailure(SourceFile:25)
at com.google.android.libraries.gsa.runner.a.j.onFailure(SourceFile:3)
at com.google.common.util.concurrent.bb.run(SourceFile:10)
at com.google.android.apps.gsa.shared.util.concurrent.b.bw.blu(SourceFile:3)
at com.google.android.apps.gsa.shared.util.concurrent.b.bv.run(SourceFile:4)
at com.google.android.apps.gsa.shared.util.concurrent.b.g.run(Unknown Source:4)
at com.google.android.apps.gsa.shared.util.concurrent.b.ba.run(SourceFile:4)
at com.google.android.apps.gsa.shared.util.concurrent.b.ba.run(SourceFile:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
at com.google.android.apps.gsa.shared.util.concurrent.b.i.run(SourceFile:6)
Caused by: com.google.android.apps.gsa.tasks.c: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at com.google.android.apps.gsa.staticplugins.o.b.a.b(SourceFile:7)
at com.google.android.apps.gsa.staticplugins.o.b.b.call(Unknown Source:4)
at com.google.android.libraries.gsa.runner.a.a.a(SourceFile:4)
at com.google.android.libraries.gsa.runner.a.e.bpj(Unknown Source:4)
at com.google.common.util.concurrent.cp.etI(SourceFile:12)
at com.google.common.util.concurrent.bm.run(SourceFile:19)
at com.google.common.util.concurrent.co.run(SourceFile:23)
... 7 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at android.os.Parcel.createException(Parcel.java:1956)
at android.os.Parcel.readException(Parcel.java:1918)
at android.os.Parcel.readException(Parcel.java:1868)
at com.google.android.a.a.a(SourceFile:11)
at com.google.android.voiceinteraction.p.GE(SourceFile:23)
at com.google.android.apps.gsa.speech.microdetection.adapter.VoiceInteractionServiceAlwaysOnHotwordAdapter.byR(SourceFile:22)
at com.google.android.apps.gsa.speech.microdetection.adapter.VoiceInteractionServiceAlwaysOnHotwordAdapter.byK(SourceFile:59)
at com.google.android.apps.gsa.search.core.p.bT(SourceFile:5)
at com.google.android.apps.gsa.speech.microdetection.adapter.VoiceInteractionServiceAlwaysOnHotwordAdapter.c(SourceFile:117)
at com.google.android.apps.gsa.speech.microdetection.adapter.VoiceInteractionServiceAlwaysOnHotwordAdapter.a(SourceFile:15)
at com.google.android.apps.gsa.search.core.o.s(SourceFile:24)
at com.google.android.apps.gsa.search.core.o.a(SourceFile:79)
at com.google.android.apps.gsa.search.core.o.perform(SourceFile:29)
at com.google.android.apps.gsa.staticplugins.o.b.a.b(SourceFile:5)
... 13 more
4

0 回答 0