cssxsh / bilibili-helper

Mirai Console 插件开发计划
https://github.com/users/cssxsh/projects/4
GNU Affero General Public License v3.0
144 stars 18 forks source link

1.8.0版本依旧无法正常推送B站监听 #117

Closed SkylaughSL closed 7 months ago

SkylaughSL commented 7 months ago

系统环境:server2016 mirai版本:Mirai console 2.15.0

2024-04-03 01:37:23 W/bilibili-helper: DynamicTasker with 3546575051688471 fail. java.lang.IllegalArgumentException: card: 915826463627804691 at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.mirai.bilibili.BiliDynamicLoader.match(BiliTasker.kt:540) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.mirai.bilibili.BiliDynamicLoader.check(BiliTasker.kt:401) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.mirai.bilibili.BiliDynamicLoader.check(BiliTasker.kt:380) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.mirai.bilibili.Loader.listen$suspendImpl(BiliTasker.kt:279) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.mirai.bilibili.Loader$listen$1.invokeSuspend(BiliTasker.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) 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:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: kotlinx.serialization.MissingFieldException: Fields [category, is_fav, title] are required for type with serial name 'xyz.cssxsh.bilibili.data.DynamicPictureDetail', but they were missing at path: $.item at path: $.item at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:90) at kotlinx.serialization.json.Json.decodeFromString(Json.kt:97) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.mirai.bilibili.BiliDynamicLoader.match(BiliTasker.kt:538) ... 13 more Caused by: kotlinx.serialization.MissingFieldException: Fields [category, is_fav, title] are required for type with serial name 'xyz.cssxsh.bilibili.data.DynamicPictureDetail', but they were missing at path: $.item at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:90) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43) at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableElement(StreamingJsonDecoder.kt:162) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicPicture$$serializer.deserialize(Dynamic.kt:462) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicPicture$$serializer.deserialize(Dynamic.kt:462) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70) ... 15 more Caused by: kotlinx.serialization.MissingFieldException: Fields [category, is_fav, title] are required for type with serial name 'xyz.cssxsh.bilibili.data.DynamicPictureDetail', but they were missing at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicPictureDetail.(Dynamic.kt:474) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicPictureDetail$$serializer.deserialize(Dynamic.kt:474) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicPictureDetail$$serializer.deserialize(Dynamic.kt:474) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70) ... 21 more

2024-04-03 01:36:41 W/bilibili-helper: DynamicTasker with 1225570818 数据加载异常,请汇报给开发者 kotlinx.serialization.MissingFieldException: Field 'mtime' is required for type with serial name 'xyz.cssxsh.bilibili.data.EmojiDetail', but it was missing at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.EmojiDetail.(Emote.kt:35) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.EmojiDetail$$serializer.deserialize(Emote.kt:35) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.EmojiDetail$$serializer.deserialize(Emote.kt:35) 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.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.EmojiInfo$$serializer.deserialize(Dynamic.kt:188) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.EmojiInfo$$serializer.deserialize(Dynamic.kt:188) 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.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicDisplay$$serializer.deserialize(Dynamic.kt:202) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicDisplay$$serializer.deserialize(Dynamic.kt:202) 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.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicInfo$$serializer.deserialize(Dynamic.kt:213) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.DynamicInfo$$serializer.deserialize(Dynamic.kt:213) 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.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.BiliDynamicList$$serializer.deserialize(Dynamic.kt:58) at bilibili-helper-1.8.0.mirai2.jar//xyz.cssxsh.bilibili.data.BiliDynamicList$$serializer.deserialize(Dynamic.kt:58) 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.8.0.mirai2.jar//xyz.cssxsh.bilibili.api.DynamicKt$getSpaceHistory$$inlined$json$1$1.invokeSuspend(Api.kt:141) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 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)

cssxsh commented 7 months ago

API 大改动,可能要重写动态相关内容了