@YuukiTriple 作者已经很久没有更新了
bowen99 发布的帖子
-
RE: [壶言2]HuYanSession2——壶言会话2
2024-01-18 12:28:00 E/HuYanSession: 出错啦~
net.mamoe.mirai.event.ExceptionInEventHandlerException: Exception in EventHandler
at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:155)
at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.access$registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:26)
at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$callMethod$2.invokeSuspend(JvmMethodListenersInternal.kt:162)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.registerEventHandler$callMethod$invokeWithErrorReport(JvmMethodListenersInternal.kt:148)
... 10 more
Caused by: java.lang.NullPointerException: Cannot invoke "cn.chahuyun.session.entity.GroupList.getGroups()" because "groupList" is null
at HuYanSession-2.4.3.mirai2.jar//cn.chahuyun.session.utils.ShareUtils.mateScope(ShareUtils.java:176)
at HuYanSession-2.4.3.mirai2.jar//cn.chahuyun.session.utils.ShareUtils.mateScope(ShareUtils.java:158)
at HuYanSession-2.4.3.mirai2.jar//cn.chahuyun.session.manage.GroupManager.isProhibited(GroupManager.java:665)
at HuYanSession-2.4.3.mirai2.jar//cn.chahuyun.session.event.MessageEventListener.onMessage(MessageEventListener.java:98)
... 14 more