【问题标题】:Playstore Android Pre-Launch Test FATAL EXCEPTION: ControllerMessengerPlay Store Android 发布前测试致命例外:Controller Messenger
【发布时间】:2019-03-04 18:22:10
【问题描述】:

在发布前测试期间在谷歌开发者控制台上,当他们使用三星 Galaxy S9 进行测试时,我有 40% 的时间出现此异常,但我从 2 天开始就发疯了,没有发现任何东西。

有人可以帮帮我吗?

03-04 12:10:20.274: E/Finsky(23969): --------- beginning of crash
03-04 12:10:20.300: E/AndroidRuntime(26164): FATAL EXCEPTION: ControllerMessenger
03-04 12:10:20.300: E/AndroidRuntime(26164): Process: com.betmines, PID: 26164
03-04 12:10:20.300: E/AndroidRuntime(26164): java.lang.NullPointerException: Attempt to read from field 'boolean android.view.accessibility.AccessibilityNodeInfo.mSealed' on a null object reference
03-04 12:10:20.300: E/AndroidRuntime(26164):    at android.view.accessibility.AccessibilityNodeInfo.init(AccessibilityNodeInfo.java:3223)
03-04 12:10:20.300: E/AndroidRuntime(26164):    at android.view.accessibility.AccessibilityNodeInfo.obtain(AccessibilityNodeInfo.java:3051)
03-04 12:10:20.300: E/AndroidRuntime(26164):    at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorStateExtractor.getAccessibilityHierarchy(UiAutomatorStateExtractor.java:24)
03-04 12:10:20.300: E/AndroidRuntime(26164):    at androidx.test.tools.crawler.platform.hybrid.HybridStateExtractor.getAccessibilityHierarchy(HybridStateExtractor.java:30)
03-04 12:10:20.300: E/AndroidRuntime(26164):    at androidx.test.tools.crawler.controller.remote.RemotePlatform.handleTakeScreenshot(RemotePlatform.java:51)
03-04 12:10:20.300: E/AndroidRuntime(26164):    at androidx.test.tools.crawler.controller.remote.RemotePlatform.access$500(RemotePlatform.java:93)
03-04 12:10:20.300: E/AndroidRuntime(26164):    at androidx.test.tools.crawler.controller.remote.RemotePlatform$ControllerMessageHandler.handleMessage(RemotePlatform.java:12)
03-04 12:10:20.300: E/AndroidRuntime(26164):    at android.os.Handler.dispatchMessage(Handler.java:105)
03-04 12:10:20.300: E/AndroidRuntime(26164):    at android.os.Looper.loop(Looper.java:164)

提前感谢任何可以提供帮助的人。

问候...

【问题讨论】:

  • 查看 Pre-Launch 中的 logcat 日志以获取该报告并搜索 ** NullPointerException** 以查看日志的样子。当我在 logcat 中搜索因相同错误而失败的预发布报告时,它看起来像是在加载一些自己的检测工具时遇到了该错误,这意味着这是与 Google 的代码而不是我们的代码有关的问题。这不是第一次发布前报告遇到实际上不是由我们的代码引起的奇怪错误。
  • 谢谢@hvaughan3,我查看了 logcat 日志,但我没有看到比我发布的堆栈跟踪更多的信息。但正如你所说,这看起来可能与他们的一些仪器工具有关。我可以看到 androidx.test.tools.crawler... 所以希望是这样,再次感谢您。
  • 这是 Google 方面的。他们现在对发布前的报告有疑问。您应该在发布前报告页面的顶部看到一条消息。
  • 谢谢@nab。我没有那个消息,但我真的认为这是谷歌方面的东西。
  • 我今天收到了同样的异常。考虑到这篇文章已经发布了两天,我认为它是谷歌现在遇到了 PLR 问题。

标签: java android


【解决方案1】:

正如其他人所建议的那样,Google 在发布前测试方面遇到了问题。你现在唯一能做的就是过滤崩溃,看看里面是否有你的代码,但很可能这只是谷歌的几个误报。

控制台上也有这条消息:

基本上,一切都很好。享受你的发布日。 :)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-09-10
    • 2021-02-24
    • 1970-01-01
    • 2012-05-28
    • 1970-01-01
    • 1970-01-01
    • 2014-05-18
    相关资源
    最近更新 更多