这是什么报错是网络问题吗
-
这是什么报错是网络问题吗
2023-10-21 13:43:16 E/blhx-wiki: Exception in coroutine Plugin org.iris.wiki of blhx-wiki java.lang.NoClassDefFoundError: Could not initialize class org.iris.wiki.paint.PaintUtils at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.paint.component.TextComponent.<init>(TextComponent.kt:31) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.paint.component.TextComponent.<init>(TextComponent.kt:20) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.paint.component.SkillComponent.init(SkillComponent.kt:27) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.paint.component.ShipAttrComponent.init(ShipAttrComponent.kt:35) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.data.ShipAttrData.toMessage(ShipAttrData.kt:283) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.utils.MessageBuildUtils.build(MessageBuildUtils.kt:29) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.Listener.wiki(Listener.kt:137) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.Listener.wiki$default(Listener.kt:120) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.Listener$subscribe$1.invokeSuspend(Listener.kt:58) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.Listener$subscribe$1.invoke(Listener.kt) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.Listener$subscribe$1.invoke(Listener.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:484) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58) at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:120) at net.mamoe.mirai.internal.event.EventListeners.callListeners$mirai_core(EventListeners.kt:68) at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:233) 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: java.lang.ExceptionInInitializerError: Exception java.io.IOException: Can't read F:\bot2\data\org.iris.wiki\思源黑体.ttf [in thread "DefaultDispatcher-worker-23"] at java.desktop/java.awt.Font.checkFontFile(Unknown Source) at java.desktop/java.awt.Font.createFont(Unknown Source) at blhx-wiki-plugin-0.4.2.mirai2.jar//org.iris.wiki.paint.PaintUtils.<clinit>(PaintUtils.kt:13) ... 33 more
-
Can't read F:\bot2\data\org.iris.wiki\思源黑体.ttf
字体文件有问题 或者 没有权限读文件