cinit / cinit/QAuxiliary

[Bug]: 无法使用“翻译文本消息”

Open
#528 3 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/复现步骤

1. 辅助功能 > 聊天和消息 > 消息 中打开翻译文本消息功能
2. 随便找一个英文的文本消息长按翻译

### Expected behaviour/预期行为

翻译正常

### Actual behaviour/实际行为

没有任何反应

### XPosed Framework you used/你使用的XP框架

LSPosed

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

QQ 8.8.68(2538)

### Module Version/模块版本

1.4.2.r1659.fd171b1

### Version requirement/版本要求

- [X] I am using latest debug CI version of QAuxiliary and enable verbose log/我正在使用最新 CI 调试版本且启用详细日志

### Logs/日志

```
1.4.2.r1659.fd171b1
QQ8.8.68(2538)
PID: 14488, UID: 10477
me.qcuncle.hook.TranslateTextMsg
isInitialized: true
isInitializationSuccessful: true
isEnabled: true
isAvailable: true
isPreparationRequired: false
errors: 1
java.lang.NullPointerException
at me.qcuncle.hook.TranslateTextMsg$menuItemClickCallback$1.invoke(SourceFile:11)
at me.qcuncle.hook.TranslateTextMsg$menuItemClickCallback$1.invoke(SourceFile:1)
at cc.ioctl.util.HookUtilsKt$afterHookIfEnabled$1.afterHookedMethod(SourceFile:15)
at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:147)
at LSPHooker_.a(Unknown Source:21)
at com.tencent.mobileqq.activity.aio.ChatAdapter1$BubbleOnlongClickListener.onClick(P:951)
at com.tencent.mobileqq.utils.dialogutils.QQCustomMenuNoIconLayout$3.onClick(P:426)
at android.view.View.performClick(View.java:7506)
at android.view.View.performClickInternal(View.java:7483)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:29335)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.