5HT2 / bot-kt

Easy to use Kotlin Discord bot framework
ISC License
13 stars 4 forks source link

`java.lang.NoClassDefFoundError` after plugin loading is able to kill the bot #383

Closed 5HT2 closed 3 years ago

5HT2 commented 3 years ago
tDispatcher-worker-3/INFO] [Bot-kt]: Unloaded plugin KAMI Blue Plugin
Mar 05 23:17:44 bot-kt-1 start.sh[3784913]: [23:17:44] [DefaultDispatcher-worker-3/INFO] [Bot-kt]: Unloaded all plugins!
Mar 05 23:17:44 bot-kt-1 start.sh[3784913]: [23:17:44] [DefaultDispatcher-worker-3/INFO] [Bot-kt]: SHA-256 checksum for kami-blue-plugin.jar: 31204dbb24d1e36276612d4c4590808db008e6c07604bfd274af4504d6503223
Mar 05 23:17:44 bot-kt-1 start.sh[3784913]: [23:17:44] [DefaultDispatcher-worker-3/INFO] [Bot-kt]: Loaded plugin KAMI Blue Plugin
Mar 05 23:17:44 bot-kt-1 start.sh[3784913]: [23:17:44] [DefaultDispatcher-worker-3/INFO] [Bot-kt]: Loaded 1 plugins!
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]: Exception in thread "DefaultDispatcher-worker-3"
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]: java.lang.NoClassDefFoundError: org/kamiblue/botkt/plugins/main/managers/PluginDownloadManager$1$2
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at org.kamiblue.botkt.plugins.main.managers.PluginDownloadManager$1.invokeSuspend(PluginDownloadManager.kt:49)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:188)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:144)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:90)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:188)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:144)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:90)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:188)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:144)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:90)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:188)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:144)
Mar 05 23:18:43 bot-kt-1 start.sh[3784913]: [23:18:43] [DefaultDispatcher-worker-3/ERROR] [STDERR]:         at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)