最近机器人监听群消息会一直弹YAML编码器出现异常
-
2022-08-16 14:26:00 I/stdout: 2022-08-16 14:26:00 W/MultiFilePluginDataStorageImpl: Could not save message in YAML format due to exception in YAML encoder. Please report this exception and relevant configurations to https://github.com/mamoe/mirai/issues/new/choose
2022-08-16 14:26:00 I/stdout: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for '1' in 'kotlin.collections.LinkedHashMap'
2022-08-16 14:26:00 I/stdout: - 把你杀了@
2022-08-16 14:26:00 I/stdout: ^ at line 56760, column 14
2022-08-16 14:26:00 I/stdout:
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:111)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:84)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.YamlNullableDynamicSerializer.deserialize(YamlNullableDynamicSerializer.kt:86)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.Yaml.decodeFromString(Yaml.kt:162)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.Yaml.decodeAnyFromString(Yaml.kt:229)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.store(MultiFilePluginDataStorageImpl.kt:73)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData.doSave(AutoSavePluginData.kt:117)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData.save(AutoSavePluginData.kt:109)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData.access$save(AutoSavePluginData.kt:34)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData$onInit$5.invokeSuspend(AutoSavePluginData.kt:78)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData$onInit$5.invoke(AutoSavePluginData.kt)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData$onInit$5.invoke(AutoSavePluginData.kt)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.util.TimedTask$job$1.invokeSuspend(CoroutineScopeUtils.kt:87)
2022-08-16 14:26:00 I/stdout: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2022-08-16 14:26:00 I/stdout: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2022-08-16 14:26:00 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2022-08-16 14:26:00 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
2022-08-16 14:26:00 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2022-08-16 14:26:00 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2022-08-16 14:26:00 I/stdout: Caused by: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for '13' in 'kotlin.collections.LinkedHashMap'
2022-08-16 14:26:00 I/stdout: - '[图片]'
2022-08-16 14:26:00 I/stdout: ^ at line 56759, column 15
2022-08-16 14:26:00 I/stdout:
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:111)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:84)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.YamlNullableDynamicSerializer.deserialize(YamlNullableDynamicSerializer.kt:86)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179)
2022-08-16 14:26:00 I/stdout: ... 23 more
2022-08-16 14:26:00 I/stdout: Caused by: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for '5' in 'kotlin.collections.LinkedHashMap'
2022-08-16 14:26:00 I/stdout: - 打架去@
2022-08-16 14:26:00 I/stdout: ^ at line 56758, column 13
2022-08-16 14:26:00 I/stdout:
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:111)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:84)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.YamlNullableDynamicSerializer.deserialize(YamlNullableDynamicSerializer.kt:86)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179)
2022-08-16 14:26:00 I/stdout: ... 31 more
2022-08-16 14:26:00 I/stdout: Caused by: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for '204' in 'kotlin.collections.ArrayList'
2022-08-16 14:26:00 I/stdout: - ,,Ծ‸Ծ,,
2022-08-16 14:26:00 I/stdout: ^ at line 56757, column 16
2022-08-16 14:26:00 I/stdout:
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.ListLikeSerializer.readElement(CollectionSerializers.kt:80)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.YamlNullableDynamicSerializer.deserialize(YamlNullableDynamicSerializer.kt:94)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179)
2022-08-16 14:26:00 I/stdout: ... 39 more
2022-08-16 14:26:00 I/stdout: Caused by: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: illegal beginning token COMMA on decoding contextual
2022-08-16 14:26:00 I/stdout: - ,,Ծ‸Ծ,,
2022-08-16 14:26:00 I/stdout: ^ at line 56757, column 10
2022-08-16 14:26:00 I/stdout:
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder.beginStructureImpl$yamlkt(YamlDecoder.kt:899)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.beginStructure(YamlDecoder.kt:152)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.YamlNullableDynamicSerializer.deserialize(YamlNullableDynamicSerializer.kt:79)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179)
2022-08-16 14:26:00 I/stdout: ... 46 more
2022-08-16 14:26:00 I/stdout: