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

e #19

Open
4goten opened this issue Jul 9, 2022 · 0 comments
Open

e #19

4goten opened this issue Jul 9, 2022 · 0 comments

Comments

@4goten
Copy link

4goten commented Jul 9, 2022

E/english-helper: Exception in coroutine Plugin xyz.salieri.mirai.plugin.english-helper of english-helper
kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 11: Expected start of the object '{', but had ':' instead
JSON input: {"wordRank":1,"headWord":"revolt","conten.....
at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24)
at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32)
at kotlinx.serialization.json.internal.AbstractJsonLexer.fail(AbstractJsonLexer.kt:524)
at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$kotlinx_serialization_json(AbstractJsonLexer.kt:221)
at kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken(AbstractJsonLexer.kt:204)
at kotlinx.serialization.json.internal.StringJsonLexer.consumeNextToken(StringJsonLexer.kt:74)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.beginStructure(StreamingJsonDecoder.kt:41)
at mirai-test-1.1.0.mirai.jar//xyz.salieri.english.type.Word$$serializer.deserialize(Word.kt)
at mirai-test-1.1.0.mirai.jar//xyz.salieri.english.type.Word$$serializer.deserialize(Word.kt:7)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:36)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:111)
at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:84)
at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:36)
at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100)
at mirai-test-1.1.0.mirai.jar//xyz.salieri.mirai.plugin.EnglishToolsKt.randomword(EnglishTools.kt:41)
at mirai-test-1.1.0.mirai.jar//xyz.salieri.english.type.Comp.set(Comp.kt:70)
at mirai-test-1.1.0.mirai.jar//xyz.salieri.english.type.Comps.mainlogic(Comps.kt:38)
at mirai-test-1.1.0.mirai.jar//xyz.salieri.mirai.plugin.EnglishHelperPlugin$onEnable$2.invokeSuspend(EnglishHelperPlugin.kt:37)
at mirai-test-1.1.0.mirai.jar//xyz.salieri.mirai.plugin.EnglishHelperPlugin$onEnable$2.invoke(EnglishHelperPlugin.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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant