cinit / cinit/QAuxiliary

[Bug] QQ 9.0.0 回复带图功能无法使用

Open
#1,150 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Java
Stars
5.7k
Forks
416
Avg merge
10d 4h
Merged PRs (30d)
4

Description

### 复现步骤 / Steps to reproduce

打开“回复带图”开关并等待初始化

### 预期行为 / Expected behaviour

功能正常运作

### 实际行为 / Actual behaviour/

提示初始化失败,功能不可用

### 你使用的Xposed框架 / Xposed Framework you used

ONPatch v0.0.6(LSPosed 1.9.2 (7060) ) API版本 93

### 你使用的安卓系统版本 / Your Android version

10

### QQ(TIM) 版本 / QQ(TIM) Version

9.0.0.14110(5282)

### 模块版本 / Module Version

1.5.2.r2263.c3d9cc2(2263)

### 版本和其他要求 / Version and Other Requirements

- [x] 我正在使用最新 CI 调试版本且启用详细日志 / I am using latest debug CI version of QAuxiliary and enable verbose log
- [X] 我使用的 QQ 是官方发布的正式版本,而非修改版或测试版 / The QQ I am using is an official release version, not a modified or beta version
- [X] 我已经在 [Issue Tracker](https://github.com/cinit/QAuxiliary/issues) 中找过我要提出的问题,没有找到相同问题。重复问题会被关闭。
- [X] 我已知晓并同意,此处仅用于汇报主程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。
- [X] 我已知晓并同意,如果我不按照模板提供的指示进行填写,则我的 Issue 可能会被无条件删除。

### 日志 / Logs

1.5.2.r2263.c3d9cc2
QQ9.0.0(5282)
PID: 6584, UID: 10493
cc.hicore.hook.ReplyMsgWithImg
isInitialized: true
isInitializationSuccessful: false
isEnabled: true
isAvailable: true
isPreparationRequired: false
errors: 1
java.lang.NullPointerException: CGuildHelperProvider.INSTANCE
at java.util.Objects.requireNonNull(Objects.java:228)
at cc.hicore.hook.ReplyMsgWithImg.initOnce(ReplyMsgWithImg.java:137)
at io.github.qauxv.hook.BaseFunctionHook.initialize(BaseFunctionHook.kt:64)
at io.github.qauxv.core.InjectDelayableHooks.stepForMainBackgroundStartup(InjectDelayableHooks.java:249)
at io.github.qauxv.core.MainHook.performHook(MainHook.java:135)
at io.github.qauxv.startup.StartupRoutine.execPostStartupInit(StartupRoutine.java:67)
at io.github.qauxv.startup.StartupHook.execStartupInit(StartupHook.java:79)
at io.github.qauxv.startup.StartupHook$1.afterHookedMethod(StartupHook.java:197)
at de.robv.android.xposed.XposedBridge$LegacyApiSupport.handleAfter(XposedBridge.java:447)
at org.lsposed.lspd.impl.LSPosedBridge$NativeHooker.callback(LSPosedBridge.java:192)
at LSPHooker_.blockUntilFinish(Unknown Source:8)
at com.tencent.qqnt.startup.NtStartup.c(P:30)
at com.tencent.mobileqq.startup.director.a.A(P:6)
at com.tencent.mobileqq.startup.director.a.z(P:2)
at com.tencent.mobileqq.startup.director.a.q(P:6)
at com.tencent.common.app.BaseApplicationImpl.onCreate(P:8)
at java.lang.reflect.Method.invoke(Native Method)
at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method)
at org.lsposed.lspd.impl.LSPosedBridge$NativeHooker.callback(LSPosedBridge.java:158)
at LSPHooker_.onCreate(Unknown Source:8)
at com.tencent.mobileqq.qfix.QFixApplication.onCreate(P:2)
at mqq.app.AppContentProvider.onCreate(P:1)
at com.tencent.mobileqq.content.FriendListProvider.onCreate(P:1)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2097)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2070)
at android.app.ActivityThread.installProvider(ActivityThread.java:8168)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:7709)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7573)
at android.app.ActivityThread.access$2600(ActivityThread.java:260)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8668)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)

### 补充说明(可选) / Additional information (optional)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with cc.hicore.hook.ReplyMsgWithImg.java at initOnce, line 137, and trace why CGuildHelperProvider.INSTANCE is null under QQ 9.0.0. Reproduce with the listed QQ, Android, Xposed, and module versions, then verify that the reply-with-image feature initializes successfully without the reported NullPointerException.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.