Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]监听XML后无法收发消息 #75

Open
skys215 opened this issue Dec 11, 2018 · 0 comments
Open

[Bug]监听XML后无法收发消息 #75

skys215 opened this issue Dec 11, 2018 · 0 comments

Comments

@skys215
Copy link

skys215 commented Dec 11, 2018

  1. 我当前的基本环境信息是

    • 手机型号:红米4X 已root
    • Android 版本:Android 7.1.2 (Sudamod)
    • Xposed 版本:Version 89
    • Wechat 版本:6.6.0
    • Wechat Magician版本:基于2.8.0,自己在SnsBlock中加了以下代码(在2. 你遇到的问题是什么?)
  2. 你遇到的问题是什么?
    换用xposed的log方法也同理
    监听XML解析:

override fun onXmlParsed(xml: String, root: String, result: MutableMap<String, String>) {
     Log.d("XML parse:",xml)
}
然后在微信发送消息给任何人,微信会闪退,且消息发送不出去(对方也接收不到)。
但又可以正常Log朋友圈的XML。
  1. Bug 触发后生成的 Xposed 日志
java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.database.Cursor.moveToNext()' on a null object reference
        at com.gh0u1l5.wechatmagician.backend.storage.Preferences$load$1.invoke(Preferences.kt:39)
        at com.gh0u1l5.wechatmagician.backend.storage.Preferences$load$1.invoke(Preferences.kt:17)
        at com.gh0u1l5.wechatmagician.spellbook.util.BasicUtil$tryAsynchronously$1.invoke(BasicUtil.kt:36)
        at com.gh0u1l5.wechatmagician.spellbook.util.BasicUtil$tryAsynchronously$1.invoke(BasicUtil.kt:12)
        at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant