Wenn man einen Screenshot macht und auf Upload klickt kommt ein Error und das Game Freezst.
Where is this happening?
Client
What platform are you seeing the problem on? (for launcher bugs)
Windows
Version (for launcher bugs)
No response
Relevant log output
Uncaught exception in thread "Render thread"
kotlinx.serialization.MissingFieldException: Field 'link' is required for type with serial name 'gg.norisk.screenshot.utils.ImgurData', but it was missing at path: $.data
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:95)
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:168)
at gg.norisk.screenshot.utils.ImgurResponse$$serializer.deserialize(ImageHoster.kt:54)
at gg.norisk.screenshot.utils.ImgurResponse$$serializer.deserialize(ImageHoster.kt:54)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:69)
at kotlinx.serialization.json.Json.decodeFromString(Json.kt:107)
at gg.norisk.screenshot.utils.ImageHoster$1.invoke(ImageHoster.kt:64)
at gg.norisk.screenshot.utils.ImageHoster$1.invoke(ImageHoster.kt:30)
at gg.norisk.screenshot.ui.ScreenshotModule.uploadScreenshot(ScreenshotModule.kt:124)
at gg.norisk.screenshot.ui.ScreenshotModule.access$uploadScreenshot(ScreenshotModule.kt:30)
at gg.norisk.screenshot.ui.ScreenshotModule$handleScreenshotChatClick$$inlined$mcCoroutineTask-ML416i8$default$1.invokeSuspend(CoroutineTask.kt:147)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at net.minecraft.class_1255.execute(class_1255.java:102)
at kotlinx.coroutines.ExecutorCoroutineDispatcherImpl.dispatch(Executors.kt:135)
at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:322)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:30)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default(Cancellable.kt:25)
at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:110)
at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
at gg.norisk.screenshot.ui.ScreenshotModule.handleScreenshotChatClick(ScreenshotModule.kt:219)
at gg.norisk.screenshot.ui.ScreenshotModule.access$handleScreenshotChatClick(ScreenshotModule.kt:30)
at gg.norisk.screenshot.ui.ScreenshotModule$2.invoke(ScreenshotModule.kt:53)
at gg.norisk.screenshot.ui.ScreenshotModule$2.invoke(ScreenshotModule.kt:52)
at gg.norisk.ui.api.module.Module$subscribe$1.invoke(Module.kt:63)
at gg.norisk.ui.api.module.Module$subscribe$1.invoke(Module.kt:61)
at net.silkmc.silk.core.event.Event.invoke(Event.kt:83)
at net.minecraft.class_437.handler$cad000$noriskclient-fabric-utils$handleTextClickInjection(class_437.java:2669)
at net.minecraft.class_437.method_25430(class_437.java:275)
at net.minecraft.class_408.method_25402(class_408.java:144)
at net.minecraft.class_312.method_1611(class_312.java:99)
at net.minecraft.class_437.method_25412(class_437.java:414)
at net.minecraft.class_312.method_1601(class_312.java:99)
at net.minecraft.class_312.method_22686(class_312.java:180)
at net.minecraft.class_1255.execute(class_1255.java:102)
at net.minecraft.class_312.method_22684(class_312.java:180)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:202)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:220)
at net.minecraft.class_1041.method_15998(class_1041.java:287)
at net.minecraft.class_310.redirect$bmc000$mcreal$maybeSwapBuffers(class_310.java:9259)
at net.minecraft.class_310.method_1523(class_310.java:1349)
at net.minecraft.class_310.method_1514(class_310.java:888)
at net.minecraft.client.main.Main.main(Main.java:265)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@13882584, net.minecraft.class_310@9486dd9]
Caused by: kotlinx.serialization.MissingFieldException: Field 'link' is required for type with serial name 'gg.norisk.screenshot.utils.ImgurData', but it was missing
at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20)
at gg.norisk.screenshot.utils.ImgurData.<init>(ImageHoster.kt:59)
at gg.norisk.screenshot.utils.ImgurData$$serializer.deserialize(ImageHoster.kt:59)
at gg.norisk.screenshot.utils.ImgurData$$serializer.deserialize(ImageHoster.kt:59)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:69)
... 54 more
What happened?
Wenn man einen Screenshot macht und auf Upload klickt kommt ein Error und das Game Freezst.
Where is this happening?
Client
What platform are you seeing the problem on? (for launcher bugs)
Windows
Version (for launcher bugs)
No response
Relevant log output