@CarlosDJY 在 B站订阅插件,动态、视频、直播订阅 @全体成员 中说:
您好,最近某一次重启后出现报错2024-03-20 18:24:57 W/bilibili-helper: DynamicTasker with 1703797642 数据加载异常,请汇报给开发者
kotlinx.serialization.json.internal.JsonDecodingException: Expected class kotlinx.serialization.json.JsonObject as the serialized body of xyz.cssxsh.bilibili.data.UserProfile, but had class kotlinx.serialization.json.JsonNull
at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24)
at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure(TreeJsonDecoder.kt:359)
at kotlinx.serialization.json.internal.JsonTreeDecoder.beginStructure(TreeJsonDecoder.kt:259)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.data.UserProfile$$serializer.deserialize(User.kt:86)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.data.UserProfile$$serializer.deserialize(User.kt:86)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:61)
at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:52)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:207)
at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:280)
at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:297)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:280)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicDescribe$$serializer.deserialize(Dynamic.kt:142)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicDescribe$$serializer.deserialize(Dynamic.kt:142)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:61)
at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:52)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:207)
at kotlinx.serialization.internal.TaggedDecoder$decodeNullableSerializableElement$1.invoke(Tagged.kt:289)
at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:297)
at kotlinx.serialization.internal.TaggedDecoder.decodeNullableSerializableElement(Tagged.kt:288)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicDescribe$$serializer.deserialize(Dynamic.kt:142)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicDescribe$$serializer.deserialize(Dynamic.kt:142)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:61)
at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:52)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:207)
at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:280)
at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:297)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:280)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicInfo$$serializer.deserialize(Dynamic.kt:208)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicInfo$$serializer.deserialize(Dynamic.kt:208)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:61)
at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:52)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:207)
at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:280)
at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:297)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:280)
at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:533)
at kotlinx.serialization.internal.CollectionLikeSerializer.readElement(CollectionSerializers.kt:80)
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:61)
at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:52)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:207)
at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:280)
at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:297)
at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:280)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.data.BiliDynamicList$$serializer.deserialize(Dynamic.kt:53)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.data.BiliDynamicList$$serializer.deserialize(Dynamic.kt:53)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:61)
at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:52)
at kotlinx.serialization.json.internal.TreeJsonDecoderKt.readJson(TreeJsonDecoder.kt:25)
at kotlinx.serialization.json.Json.decodeFromJsonElement(Json.kt:117)
at bilibili-helper-1.7.2.mirai2.jar//xyz.cssxsh.bilibili.api.DynamicKt$getSpaceHistory$$inlined$json$1$1.invokeSuspend(Api.kt:163)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at bilibili-helper-1.7.2.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
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:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
但是有时候仍然可以推送订阅,有时候会推送失败。请问是什么问题x
相同问题