有群投票会触发回复的bug
octju 发布的帖子
-
RE: Petpet - 生成各种奇怪的图片
更新了2.5和mcl2.11,素材确认都放进data/xmmt.dituon.petpet了 还是报错
2022-06-10 14:30:21 I/stdout: Petpet 初始化成功,使用 pet 以生成GIF。
2022-06-10 14:30:21 I/stdout: Petpet 加载完毕 (共 15 素材,已排除 0 )
...
2022-06-10 14:31:26 E/main: Exception in coroutine <unnamed>
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
at java.desktop/sun.awt.AppContext$2.run(Unknown Source)
at java.desktop/sun.awt.AppContext$2.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/sun.awt.AppContext.initMainAppContext(Unknown Source)
at java.desktop/sun.awt.AppContext$3.run(Unknown Source)
at java.desktop/sun.awt.AppContext$3.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/sun.awt.AppContext.getAppContext(Unknown Source)
at java.desktop/javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
at java.desktop/javax.imageio.ImageIO.<clinit>(Unknown Source)
at petpet-2.5.jar//xmmt.dituon.share.ImageSynthesis.getAvatarImage(ImageSynthesis.java:129)
at petpet-2.5.jar//xmmt.dituon.plugin.PluginPetService.sendImage(PluginPetService.java:68)
at petpet-2.5.jar//xmmt.dituon.plugin.PluginPetService.sendImage(PluginPetService.java:52)
at petpet-2.5.jar//xmmt.dituon.plugin.PluginPetService.sendImage(PluginPetService.java:27)
at petpet-2.5.jar//xmmt.dituon.plugin.Petpet.onGroupMessage(Petpet.java:131)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:574)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:574)
at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51)
at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
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)