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] 发送消息自动 Pangu 无法使用 #1181

Closed
4 of 5 tasks
EatHatsuneShallots opened this issue Sep 12, 2024 · 0 comments
Closed
4 of 5 tasks

[Bug] 发送消息自动 Pangu 无法使用 #1181

EatHatsuneShallots opened this issue Sep 12, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@EatHatsuneShallots
Copy link

复现步骤 / Steps to reproduce

在输入框输入内容,然后点击发送

预期行为 / Expected behaviour

功能生效

实际行为 / Actual behaviour

功能不生效

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

ONPatch 0.0.7

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

10 (HarmoryOS 2.0)

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

9.0.60

模块版本 / Module Version

1.5.2.r2420.bf76891(2420)

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

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

日志 / Logs

1.5.2.r2420.bf76891
QQ9.0.60(6478)
PID: 31884, UID: 10225
cc.microblock.hook.SendPangu
isInitialized: true
isInitializationSuccessful: true
isEnabled: true
isAvailable: true
isPreparationRequired: false
errors: 4
java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String
	at cc.microblock.hook.SendPangu.initOnce$lambda$0(Pangu.kt:180)
	at cc.microblock.hook.SendPangu.$r8$lambda$puu_RlsErQixmL-FX2wbOrQ_by8(Pangu.kt:0)
	at cc.microblock.hook.SendPangu$$ExternalSyntheticLambda0.invoke(R8$$SyntheticClass:0)
	at xyz.nextalone.util.HookUtilsKt$hookBefore$1.beforeMethod(HookUtils.kt:223)
	at xyz.nextalone.bridge.NAMethodHook.beforeHookedMethod(NAMethodHook.kt:37)
	at io.github.qauxv.util.xpcompat.WrappedCallbacks$WrappedHookCallback.beforeHookedMember(WrappedCallbacks.java:69)
	at io.github.qauxv.loader.sbl.xp51.Xp51HookWrapper$Xp51HookCallback.beforeHookedMethod(Xp51HookWrapper.java:129)
	at de.robv.android.xposed.XposedBridge$LegacyApiSupport.handleBefore(XposedBridge.java:421)
	at org.lsposed.lspd.impl.LSPosedBridge$NativeHooker.callback(LSPosedBridge.java:152)
	at LSPHooker_.s(Unknown Source:11)
	at com.tencent.mobileqq.aio.utils.n.c(P:34)
	at com.tencent.mobileqq.aio.utils.n.b(P:2)
	at com.tencent.mobileqq.aio.msg.a.b.j(P:10)
	at com.tencent.mobileqq.aio.utils.DraftUtil.d(P:3)
	at com.tencent.mobileqq.aio.input.draft.InputDraftVMDelegate.w(P:12)
	at com.tencent.mobileqq.aio.input.draft.InputDraftVMDelegate.l(P:1)
	at com.tencent.mobileqq.aio.input.draft.InputDraftVMDelegate$$special$$inlined$Runnable$2.run(P:1)
	at android.os.Handler.handleCallback(Handler.java:900)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	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)

java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String
	at cc.microblock.hook.SendPangu.initOnce$lambda$0(Pangu.kt:180)
	at cc.microblock.hook.SendPangu.$r8$lambda$puu_RlsErQixmL-FX2wbOrQ_by8(Pangu.kt:0)
	at cc.microblock.hook.SendPangu$$ExternalSyntheticLambda0.invoke(R8$$SyntheticClass:0)
	at xyz.nextalone.util.HookUtilsKt$hookBefore$1.beforeMethod(HookUtils.kt:223)
	at xyz.nextalone.bridge.NAMethodHook.beforeHookedMethod(NAMethodHook.kt:37)
	at io.github.qauxv.util.xpcompat.WrappedCallbacks$WrappedHookCallback.beforeHookedMember(WrappedCallbacks.java:69)
	at io.github.qauxv.loader.sbl.xp51.Xp51HookWrapper$Xp51HookCallback.beforeHookedMethod(Xp51HookWrapper.java:129)
	at de.robv.android.xposed.XposedBridge$LegacyApiSupport.handleBefore(XposedBridge.java:421)
	at org.lsposed.lspd.impl.LSPosedBridge$NativeHooker.callback(LSPosedBridge.java:152)
	at LSPHooker_.s(Unknown Source:11)
	at com.tencent.mobileqq.aio.utils.n.c(P:34)
	at com.tencent.mobileqq.aio.utils.n.b(P:2)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.G(P:27)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.h0(P:4)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.A(P:11)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.R(P:6)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.N(P:2)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.d(P:1)
	at com.tencent.input.base.mvicompat.e$a.a(P:1)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.f(P:1)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.accept(P:1)
	at com.tencent.input.base.mvicompat.DelegateMediator.e(P:7)
	at com.tencent.mobileqq.aio.input.e.b.handleIntent(P:2)
	at com.tencent.mobileqq.aio.input.e.b.handleIntent(P:1)
	at com.tencent.mvi.mvvm.BaseVB.sendIntent(P:1)
	at com.tencent.mobileqq.aio.input.e.a$c.a(P:1)
	at com.tencent.mobileqq.aio.input.e.a$c.accept(P:1)
	at com.tencent.input.base.mvicompat.c$a.f(P:1)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVBDelegate.p(P:1)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVBDelegate.q(P:1)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVBDelegate$c.onClick(P:1)
	at com.tencent.biz.qui.quibutton.QUIButton.l(P:2)
	at com.tencent.biz.qui.quibutton.QUIButton.m(Unknown Source:0)
	at com.tencent.biz.qui.quibutton.a.onClick(Unknown Source:4)
	at android.view.View.performClick(View.java:7317)
	at android.view.View.performClickInternal(View.java:7291)
	at android.view.View.access$3600(View.java:838)
	at android.view.View$PerformClick.run(View.java:28247)
	at android.os.Handler.handleCallback(Handler.java:900)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	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)

java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String
	at cc.microblock.hook.SendPangu.initOnce$lambda$0(Pangu.kt:180)
	at cc.microblock.hook.SendPangu.$r8$lambda$puu_RlsErQixmL-FX2wbOrQ_by8(Pangu.kt:0)
	at cc.microblock.hook.SendPangu$$ExternalSyntheticLambda0.invoke(R8$$SyntheticClass:0)
	at xyz.nextalone.util.HookUtilsKt$hookBefore$1.beforeMethod(HookUtils.kt:223)
	at xyz.nextalone.bridge.NAMethodHook.beforeHookedMethod(NAMethodHook.kt:37)
	at io.github.qauxv.util.xpcompat.WrappedCallbacks$WrappedHookCallback.beforeHookedMember(WrappedCallbacks.java:69)
	at io.github.qauxv.loader.sbl.xp51.Xp51HookWrapper$Xp51HookCallback.beforeHookedMethod(Xp51HookWrapper.java:129)
	at de.robv.android.xposed.XposedBridge$LegacyApiSupport.handleBefore(XposedBridge.java:421)
	at org.lsposed.lspd.impl.LSPosedBridge$NativeHooker.callback(LSPosedBridge.java:152)
	at LSPHooker_.s(Unknown Source:11)
	at com.tencent.mobileqq.aio.utils.n.c(P:34)
	at com.tencent.mobileqq.aio.utils.n.b(P:2)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.F(P:4)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.h0(P:14)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.A(P:11)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.R(P:6)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.N(P:2)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.d(P:1)
	at com.tencent.input.base.mvicompat.e$a.a(P:1)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.f(P:1)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVMDelegate.accept(P:1)
	at com.tencent.input.base.mvicompat.DelegateMediator.e(P:7)
	at com.tencent.mobileqq.aio.input.e.b.handleIntent(P:2)
	at com.tencent.mobileqq.aio.input.e.b.handleIntent(P:1)
	at com.tencent.mvi.mvvm.BaseVB.sendIntent(P:1)
	at com.tencent.mobileqq.aio.input.e.a$c.a(P:1)
	at com.tencent.mobileqq.aio.input.e.a$c.accept(P:1)
	at com.tencent.input.base.mvicompat.c$a.f(P:1)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVBDelegate.p(P:1)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVBDelegate.q(P:1)
	at com.tencent.mobileqq.aio.input.sendmsg.AIOSendMsgVBDelegate$c.onClick(P:1)
	at com.tencent.biz.qui.quibutton.QUIButton.l(P:2)
	at com.tencent.biz.qui.quibutton.QUIButton.m(Unknown Source:0)
	at com.tencent.biz.qui.quibutton.a.onClick(Unknown Source:4)
	at android.view.View.performClick(View.java:7317)
	at android.view.View.performClickInternal(View.java:7291)
	at android.view.View.access$3600(View.java:838)
	at android.view.View$PerformClick.run(View.java:28247)
	at android.os.Handler.handleCallback(Handler.java:900)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	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)

java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String
	at cc.microblock.hook.SendPangu.initOnce$lambda$0(Pangu.kt:180)
	at cc.microblock.hook.SendPangu.$r8$lambda$puu_RlsErQixmL-FX2wbOrQ_by8(Pangu.kt:0)
	at cc.microblock.hook.SendPangu$$ExternalSyntheticLambda0.invoke(R8$$SyntheticClass:0)
	at xyz.nextalone.util.HookUtilsKt$hookBefore$1.beforeMethod(HookUtils.kt:223)
	at xyz.nextalone.bridge.NAMethodHook.beforeHookedMethod(NAMethodHook.kt:37)
	at io.github.qauxv.util.xpcompat.WrappedCallbacks$WrappedHookCallback.beforeHookedMember(WrappedCallbacks.java:69)
	at io.github.qauxv.loader.sbl.xp51.Xp51HookWrapper$Xp51HookCallback.beforeHookedMethod(Xp51HookWrapper.java:129)
	at de.robv.android.xposed.XposedBridge$LegacyApiSupport.handleBefore(XposedBridge.java:421)
	at org.lsposed.lspd.impl.LSPosedBridge$NativeHooker.callback(LSPosedBridge.java:152)
	at LSPHooker_.s(Unknown Source:11)
	at com.tencent.mobileqq.aio.utils.n.c(P:34)
	at com.tencent.mobileqq.aio.utils.n.b(P:2)
	at com.tencent.mobileqq.aio.msg.a.b.j(P:10)
	at com.tencent.mobileqq.aio.utils.DraftUtil.d(P:3)
	at com.tencent.mobileqq.aio.input.draft.InputDraftVMDelegate.w(P:12)
	at com.tencent.mobileqq.aio.input.draft.InputDraftVMDelegate.onStop(P:1)
	at java.lang.reflect.Method.invoke(Native Method)
	at androidx.lifecycle.ClassesInfoCache$MethodReference.invokeCallback(P:4)
	at androidx.lifecycle.ClassesInfoCache$CallbackInfo.invokeMethodsForEvent(P:2)
	at androidx.lifecycle.ClassesInfoCache$CallbackInfo.invokeCallbacks(P:1)
	at androidx.lifecycle.ReflectiveGenericLifecycleObserver.onStateChanged(P:1)
	at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(P:3)
	at androidx.lifecycle.LifecycleRegistry.backwardPass(P:10)
	at androidx.lifecycle.LifecycleRegistry.sync(P:5)
	at androidx.lifecycle.LifecycleRegistry.moveToState(P:5)
	at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(P:2)
	at com.tencent.aio.base.chat.ChatPie.b(P:2)
	at com.tencent.aio.base.chat.b.d(P:2)
	at com.tencent.aio.base.chat.b.p(P:2)
	at com.tencent.aio.main.fragment.ChatFragment.onStop(P:3)
	at androidx.fragment.app.Fragment.performStop(P:7)
	at androidx.fragment.app.FragmentStateManager.stop(P:3)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(P:25)
	at androidx.fragment.app.FragmentStore.moveToExpectedState(P:3)
	at androidx.fragment.app.FragmentManager.moveToState(P:57)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(P:3)
	at androidx.fragment.app.FragmentManager.dispatchStop(P:3)
	at androidx.fragment.app.Fragment.performStop(P:1)
	at androidx.fragment.app.FragmentStateManager.stop(P:3)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(P:25)
	at androidx.fragment.app.FragmentStore.moveToExpectedState(P:3)
	at androidx.fragment.app.FragmentManager.moveToState(P:57)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(P:3)
	at androidx.fragment.app.FragmentManager.dispatchStop(P:3)
	at androidx.fragment.app.FragmentController.dispatchStop(P:1)
	at androidx.fragment.app.FragmentActivity.onStop(P:4)
	at mqq.app.AppActivity.onStop(P:4)
	at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1494)
	at Hz.callActivityOnStop(Unknown Source:2)
	at io.github.qauxv.lifecycle.Parasitics$ProxyInstrumentation.callActivityOnStop(Parasitics.java:806)
	at v4.f.callActivityOnStop(P:3)
	at android.app.Activity.performStop(Activity.java:8447)
	at android.app.ActivityThread.callActivityOnStop(ActivityThread.java:5538)
	at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:5516)
	at android.app.ActivityThread.handleStopActivity(ActivityThread.java:5591)
	at android.app.servertransaction.StopActivityItem.execute(StopActivityItem.java:41)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:190)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:105)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2613)
	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

@EatHatsuneShallots EatHatsuneShallots added the Bug Something isn't working label Sep 12, 2024
@cinit cinit closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants