@cssxsh 哦可,谢谢
GALIAIS 发布的最新帖子
-
RE: Mirai Content Censor 群内容审核插件
我是不管发什么表情都会撤回,把插件移出plugins以后依然撤回,删了mirai Administrator以后好了
-
RE: Mirai Content Censor 群内容审核插件
噫,这是什么问题
2022-07-17 10:11:06 E/file-sync: java.lang.ExceptionInInitializerError java.lang.ExceptionInInitializerError at netdisk-filesync-plugin-1.3.4.mirai2.jar//io.github.gnuf0rce.mirai.netdisk.NetDiskFileSyncPlugin.onEnable(NetDiskFileSyncPlugin.kt:32) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:131) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:278) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:178) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:235) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:464) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:168) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:167) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:52) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.itxtech.mcl.Utility.bootJars(Utility.java:89) at org.itxtech.mcl.Utility.bootJars(Utility.java:79) at org.itxtech.mcl.Utility.bootMirai(Utility.java:101) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:189) at org.itxtech.mcl.Loader.tryCatching(Loader.java:146) at org.itxtech.mcl.Loader.start(Loader.java:189) at org.itxtech.mcl.Loader.main(Loader.java:79) Caused by: java.lang.IllegalStateException: Cannot create instance or find a initial value for java.time.OffsetDateTime at net.mamoe.mirai.console.internal.data.ValueFromKTypeImplKt.createInstanceSmart(valueFromKTypeImpl.kt:166) at net.mamoe.mirai.console.data.PluginDataKt.valueImpl(PluginData.kt:315) at netdisk-filesync-plugin-1.3.4.mirai2.jar//io.github.gnuf0rce.mirai.netdisk.data.NetdiskUserData.<clinit>(NetdiskUserData.kt:33) ... 26 more```
-
RE: Mirai Administrator 机器人管理插件,好友/群管理,黑名单,宵禁
请问这应该怎么解决
2022-07-16 22:05:45 W/mirai-administrator: MiraiAdministrator with GroupMessageEvent(group=93XXXX7, senderName=XXX, sender=31XXXXXXXX, permission=MEMBER, message=[mirai:source:ids=[2609], internalIds=[93XXXX921], from group 31XXXXXX118 to 934XXXX97 at 16XXXXX0340][mirai:image:{8C407C77-086B-B8B4-5229-4E1FC5523B5C}.jpg, width=600, height=600, size=80289, type=JPG, isEmoji=false]) java.lang.reflect.InvocationTargetException at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:80) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:1) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:110) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:511) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58) at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:125) at net.mamoe.mirai.internal.event.EventListeners.callListeners$mirai_core(EventListeners.kt:73) at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: java.lang.ExceptionInInitializerError at mirai-content-censor-1.3.2.mirai2.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorUtilsKt.censor(MiraiContentCensorUtils.kt:40) at mirai-content-censor-1.3.2.mirai2.jar//io.github.gnuf0rce.mirai.censor.MiraiContentCensorUtilsKt.censor$default(MiraiContentCensorUtils.kt:31) at mirai-content-censor-1.3.2.mirai2.jar//io.github.gnuf0rce.mirai.censor.spi.MiraiContentCensorService.handle(MiraiContentCensorService.kt:12) at mirai-administrator-1.2.4.mirai2.jar//xyz.cssxsh.mirai.admin.MiraiAdministrator.mark$mirai_administrator(MiraiAdministrator.kt:334) ... 34 more Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method io.ktor.client.plugins.HttpCallValidator$Config.handleResponseExceptionWithRequest, parameter block at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator$Config.handleResponseExceptionWithRequest(HttpCallValidator.kt) at mirai-content-censor-1.3.2.mirai2.jar[private]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient$client$1$6.invoke(AbstractBaiduApiClient.kt:47) at mirai-content-censor-1.3.2.mirai2.jar[private]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient$client$1$6.invoke(AbstractBaiduApiClient.kt:46) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$2.invoke(HttpClientConfig.kt:68) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$2.invoke(HttpClientConfig.kt:64) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$2.invoke(HttpClientConfig.kt:65) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$2.invoke(HttpClientConfig.kt:64) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator$Companion.prepare(HttpCallValidator.kt:111) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator$Companion.prepare(HttpCallValidator.kt:107) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$3.invoke(HttpClientConfig.kt:76) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig$install$3.invoke(HttpClientConfig.kt:73) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientConfig.install(HttpClientConfig.kt:96) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClient.<init>(HttpClient.kt:168) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClient.<init>(HttpClient.kt:80) at mirai-content-censor-1.3.2.mirai2.jar[private]//io.ktor.client.HttpClientKt.HttpClient(HttpClient.kt:42) at mirai-content-censor-1.3.2.mirai2.jar[private]//xyz.cssxsh.baidu.api.AbstractBaiduApiClient.<init>(AbstractBaiduApiClient.kt:25) at mirai-content-censor-1.3.2.mirai2.jar[private]//xyz.cssxsh.baidu.oauth.AbstractBaiduAuthClient.<init>(AbstractBaiduAuthClient.kt:10) at mirai-content-c```