带有Google捆绑包的怪异NullPointerException WebSocketHandshake.verifyServerHandshakeHeaders

时间:2018-12-15 16:18:50

标签: android android-studio nullpointerexception android-app-bundle

我将android studio 3.0-> 3.2更新为开始使用google bundles apk后,我遇到了这个奇怪的错误

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase(java.util.Locale)' on a null object reference
       at com.google.firebase.database.tubesock.WebSocketHandshake.verifyServerHandshakeHeaders(SourceFile:111)
       at com.google.firebase.database.tubesock.WebSocket.runReader(SourceFile:418)
       at com.google.firebase.database.tubesock.WebSocket.access$000(SourceFile:47)
       at com.google.firebase.database.tubesock.WebSocket$2.run(SourceFile:143)
       at java.lang.Thread.run(Thread.java:818)

奇怪的是:

在我将APK捆绑包上传到Google Play后的几秒钟内,此错误已记录30-50次(因此尚无法从Play商店下载)

100%记录此错误的设备是:

Device
Brand: LGE
Model: Nexus 5X
Orientation: Portrait
RAM free: 3.19 GB
Disk free: 2.04 GB
Operating System
Version: 6.0.1
Orientation: Portrait
Rooted: Yes

错误只是在上传后的这些初始时间发生...在正常运行情况下,没有其他人得到

在Google上似乎是一个错误,但这很烦人,因为每次我关闭应用程序更新时,它都会向我发送一条警报,提示“错误又回来了”

有人知道这是什么吗?该怎么解决?

1 个答案:

答案 0 :(得分:1)

这似乎是Google Play在某些设备上测试您的应用程序是否存在恶意软件。该特定设备似乎具有触发Firebase中错误的功能。