Muska-Ami / CatSero

一个基于MiraiMC的QQ群功能&MC功能插件
https://blog.ovome.icu
GNU Affero General Public License v3.0
29 stars 3 forks source link

开启聊天转发后发言出现错误 但是依然能用 #113

Closed 848244210 closed 1 year ago

848244210 commented 1 year ago

问题描述

e

复现方法

服务端版本

This server is running Arclight version arclight-1.19.2-1.0.1-0550c6cd (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) [00:52:07 INFO] [Console]: Checking version, please wait...

CatSero 版本

CatSero by XiaMoHuaHuo_CN, version: 2.3.3-beta

服务端日志

[GroupMessage/2970742887] [⚓️洋葱村杂交培育基地(376261005)] 花田汐汐 xlive2233(848244210) -> y
[00:49:21 WARN] [CatSero]: [Catch] 捕获到一个错误
[00:49:21 WARN] [CatSero]: [Catch] 错误类型: java.lang.NullPointerException
[00:49:21 WARN] [CatSero]: [Catch] 捕获消息: Cannot invoke "java.lang.CharSequence.toString()" because "replacement" is null
[00:49:21 WARN] [CatSero]: [Catch] 详细信息: [java.base/java.lang.String.replace(String.java:2967), moe.xmcn.catsero.listeners.chatforward.OnGroupMessageToMC.run(OnGroupMessageToMC.java:113), moe.xmcn.catsero.listeners.chatforward.OnGroupMessageToMC.onGroupMessage(OnGroupMessageToMC.java:76), TRANSFORMER/arclight@1.19.2-1.0.1-0550c6cd/org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70), TRANSFORMER/arclight@1.19.2-1.0.1-0550c6cd/org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589), TRANSFORMER/arclight@1.19.2-1.0.1-0550c6cd/org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576), me.dreamvoid.miraimc.bukkit.MiraiEvent.lambda$startListenEvent$8(MiraiEvent.java:121), net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:600), net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:600), kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51), kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1), kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43), kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33), kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106), kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42), kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95), kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570), kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750), kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677), kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)]
[00:49:21 WARN] [CatSero]: [Catch] 如您认为这不是配置错误、网络原因导致的问题,请前往此处报告:
[00:49:21 WARN] [CatSero]: [Catch] https://github.com/XiaMoHuaHuo-CN/CatSero/issues

额外说明

e

Muska-Ami commented 1 year ago

已了解

Muska-Ami commented 1 year ago

是不是没配置对... 测试没啥问题啊(