Google Play控制台堆栈跟踪

编程入门 行业动态 更新时间:2024-10-26 00:23:10
本文介绍了Google Play控制台堆栈跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在Google Play控制台中,我收到以下异常跟踪。尽管我已经添加了反混淆文件,但行号正在显示为0.

java.lang.NullPointerException: at com。 ae.appsmon.managers.ContactManager.getContactIdFromAddress(ContactManager.java:0) at com.ae.apps.messagecounter.utils.MessageCounterUtils.sortThisMap(MessageCounterUtils.java:0) at< OR> .getMessageCountDegrees(MessageCounterUtils.java:0) at< OR> .getContactMessageList(MessageCounterUtils.java:0) at< OR> .convertAddressToContact(MessageCounterUtils.java:0)< OR> .getIndexFromDate(MessageCounterUtils.java:0) at< OR> .getWeekStartDate(MessageCounterUtils.java:0) at< OR> .getMessageLimitValue(MessageCounterUtils.java:0 ) at< OR> .getCycleSentCount(MessageCounterUtils.java:0) at com.ae.apps.messagecounter.activities.MainActivity $ 1.run(MainActivity.java:0) at java.lang.Thread.run(Thread.java:818)

I dont吨明白这是什么< OR>在栈跟踪语句。 ContactManager.getContactIdFromAddress()只能从方法 MessageCounterUtils.convertAddressToContact()中调用。

如何正确理解这个堆栈跟踪?

我相信我已经在上面的方法中添加了必要的Null检查。

github/midhunhk/ae-apps-library/blob/master/app/src/main/java/com/ae/apps/common/managers/ContactManager.java#L377

解决方案

我相信您遇到了与此问题相同的问题: Android ProGuard返回行号

默认情况下,Proguard不保留行号。

In Google Play Console, I am getting the below exception trace. Although I have added deobfuscation files, the line numbers are being displayed as 0.

java.lang.NullPointerException: at com.ae.appsmon.managers.ContactManager.getContactIdFromAddress(ContactManager.java:0) at com.ae.apps.messagecounter.utils.MessageCounterUtils.sortThisMap(MessageCounterUtils.java:0) at <OR>.getMessageCountDegrees(MessageCounterUtils.java:0) at <OR>.getContactMessageList(MessageCounterUtils.java:0) at <OR>.convertAddressToContact(MessageCounterUtils.java:0) at <OR>.getIndexFromDate(MessageCounterUtils.java:0) at <OR>.getWeekStartDate(MessageCounterUtils.java:0) at <OR>.getMessageLimitValue(MessageCounterUtils.java:0) at <OR>.getCycleSentCount(MessageCounterUtils.java:0) at com.ae.apps.messagecounter.activities.MainActivity$1.run(MainActivity.java:0) at java.lang.Thread.run(Thread.java:818)

I dont't understand what this <OR> statements in the stack trace. The ContactManager.getContactIdFromAddress() is only called from the method MessageCounterUtils.convertAddressToContact().

How to properly understand this stack trace?

I believe I have added the necessary Null checks in the above method anyways.

github/midhunhk/ae-apps-library/blob/master/app/src/main/java/com/ae/apps/common/managers/ContactManager.java#L377

解决方案

I believe you're running into the same issue answered in this question: Android ProGuard return Line Number

Proguard doesn't keep the line numbers by default.

更多推荐

Google Play控制台堆栈跟踪

本文发布于:2023-07-11 12:29:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1094063.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:堆栈   控制台   Google   Play

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!