-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
运行时报错:
2022-09-09 00:20:12 W/Bot.(群号): An exception occurred when processing event. Subscriber scope: '<unnamed>'. Broadcaster scope: 'Bot(群号).EventDispatcher'
org.mozilla.javascript.EvaluatorException: Can't find method org.itxtech.miraijs.libs.KotlinCoroutineLib$DeferredJsImpl.await(). (importOkHttpLib#63)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:79)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.Context.reportRuntimeError(Context.java:972)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.Context.reportRuntimeError(Context.java:1025)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.Context.reportRuntimeError1(Context.java:988)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:145)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at script(importOkHttpLib:63)
at script(importOkHttpLib:19)
at script(sfapu.library#main:48)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.Context.call(Context.java:554)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105)
at mirai-js-2.0-RC-dev2.mirai.jar//org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126)
at jdk.proxy1/jdk.proxy1.$Proxy25.accept(Unknown Source)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:631)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:631)
at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51)
at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43)
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:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
请大佬赐教orz
Metadata
Metadata
Assignees
Labels
No labels
