幻影坦克功能没有自动调整大小,导致里图显示不完整
JustinHuangber 发布的帖子
-
RE: RandomAnimals 随机动物图片
报红了,直接打开链接可以看图片
2022-09-07 21:53:03 I/随机动物图插件: 将要下载的图片地址是https://static.jks.life/cat/images/kxUakBB2o.jpg 2022-09-07 21:53:05 E/随机动物图插件: 图片下载失败! 2022-09-07 21:53:05 E/随机动物图插件: java.io.FileNotFoundException: .\data\cn.whitrayhb.randomanimal\cache\cat\kxUakBB2o.jpg (系统找不到指定的路径。) java.io.FileNotFoundException: .\data\cn.whitrayhb.randomanimal\cache\cat\kxUakBB2o.jpg (系统找不到指定的路径。) at java.base/java.io.FileOutputStream.open0(Native Method) at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293) at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235) at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:123) at randomanimal-0.1.3.mirai2.jar//cn.whitrayhb.randomanimal.data.FetchPicture.fetchPicture(FetchPicture.java:34) at randomanimal-0.1.3.mirai2.jar//cn.whitrayhb.randomanimal.command.RandomCat.onCommand(RandomCat.java:36) at net.mamoe.mirai.console.command.java.JRawCommand.onCommand(JRawCommand.kt:121) at net.mamoe.mirai.console.command.java.JRawCommand$overloads$1$invokeSuspend$$inlined$runBIO$1.invoke(CoroutineUtils.kt:194) 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) 2022-09-07 21:53:05 E/随机动物图插件: 图片路径为空,在图片获取过程中出现问题!
-
RE: 基于 graphql 的 宝可梦查询插件
@whiterasbk 文字能正常发出来,但图片报红了
2022-08-17 18:30:37 I/bot.good.QueryPokemon: using jsdelivr for improving static resource access speed 2022-08-17 18:30:38 E/bot.good.QueryPokemon: accessing url: https://cdn.jsdelivr.net/gh/PokeAPI/sprites@2.0.0/sprites/pokemon/1.png 2022-08-17 18:30:38 E/bot.good.QueryPokemon: java.net.UnknownHostException: 请求的名称有效,但是找不到请求的类型的数据。 (raw.githubusercontent.com) java.net.UnknownHostException: 请求的名称有效,但是找不到请求的类型的数据。 (raw.githubusercontent.com) at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:933) at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1519) at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852) at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1509) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1367) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1301) at QueryPokemon-0.0.1.jar//okhttp3.Dns$1.lookup(Dns.java:39) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:173) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.RouteSelector.nextProxy(RouteSelector.java:139) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.RouteSelector.next(RouteSelector.java:81) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:172) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:123) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:93) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:296) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:248) at QueryPokemon-0.0.1.jar//okhttp3.RealCall.getResponse(RealCall.java:243) at QueryPokemon-0.0.1.jar//okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201) at QueryPokemon-0.0.1.jar//okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163) at QueryPokemon-0.0.1.jar//okhttp3.RealCall.execute(RealCall.java:57) at QueryPokemon-0.0.1.jar//bot.good.UtilsKt.openStreamOnClient(utils.kt:252) at QueryPokemon-0.0.1.jar//bot.good.FormatKt.formatMessage(Format.kt:145) at QueryPokemon-0.0.1.jar//bot.good.FormatKt.formatMessage(Format.kt:238) at QueryPokemon-0.0.1.jar//bot.good.QueryCommand.query(cmd.kt:263) at QueryPokemon-0.0.1.jar//bot.good.QueryCommand.access$query(cmd.kt:9) at QueryPokemon-0.0.1.jar//bot.good.QueryCommand$query$1.invokeSuspend(cmd.kt) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
-
RE: 基于 graphql 的 宝可梦查询插件
报红了
2022-08-16 23:57:43 E/bot.good.QueryPokemon: 初始化配置失败 2022-08-16 23:57:43 E/bot.good.QueryPokemon: java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.createBindings()" because "bot.good.QueryExecutable.engine" is null java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.createBindings()" because "bot.good.QueryExecutable.engine" is null at QueryPokemon-0.0.1.jar//bot.good.QueryExecutable.<clinit>(QueryExecutable.kt:91) at QueryPokemon-0.0.1.jar//bot.good.QueryPokemon.onEnable(QueryPokemon.kt:57) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:131) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:278) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:178) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:235) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:464) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:168) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:167) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:52) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.itxtech.mcl.Utility.bootJars(Utility.java:89) at org.itxtech.mcl.Utility.bootJars(Utility.java:79) at org.itxtech.mcl.Utility.bootMirai(Utility.java:101) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:189) at org.itxtech.mcl.Loader.tryCatching(Loader.java:146) at org.itxtech.mcl.Loader.start(Loader.java:189) at org.itxtech.mcl.Loader.main(Loader.java:79)
-
RE: Meme Helper 表情包生成器,游戏王,幻影坦克,支持Termux
机器人说句话就报红
2022-06-26 15:59:17 W/meme-helper: MemeHelper Handle Exception java.lang.reflect.InvocationTargetException at jdk.internal.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:80) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:1) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:110) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:455) 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.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50) at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt) at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50) at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166) at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115) at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: java.lang.IllegalArgumentException: Unsupported MessageEvent: net.mamoe.mirai.event.events.GroupMessageSyncEvent at net.mamoe.mirai.console.command.CommandSender$Companion.from(CommandSender.kt:241) at meme-helper-1.0.3.mirai.jar//xyz.cssxsh.mirai.meme.MemeHelper.handle(MemeHelper.kt:34) ... 34 more
-
RE: HoshinoYumemi - Plugin
报红了
2022-06-22 18:38:50 E/Bot.2351718332: java.lang.IllegalStateException: Exception while broadcasting event 'BotOnlineEvent'
java.lang.IllegalStateException: Exception while broadcasting event 'BotOnlineEvent'
at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast$suspendImpl(EventDispatcher.kt:96)
at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcast$1.invokeSuspend(EventDispatcher.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202)
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:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.lang.IllegalStateException: 未找到异常处理器. 请继承 SimpleListenerHost 中的 handleException 方法, 或在构造 SimpleListenerHost 时提供 CoroutineExceptionHandlerCannot find exception handler from coroutineContext.
Please extend SimpleListenerHost.handleException or provide a CoroutineExceptionHandler to the constructor of SimpleListenerHost
at net.mamoe.mirai.event.SimpleListenerHost.handleException(JvmMethodListeners.kt:192)
at net.mamoe.mirai.event.SimpleListenerHost$special$$inlined$CoroutineExceptionHandler$1.handleException(CoroutineExceptionHandler.kt:111)
at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:52)
at net.mamoe.mirai.internal.event.Handler$onEvent$1.invokeSuspend(InternalEventListeners.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
... 8 more
Caused by: net.mamoe.mirai.event.ExceptionInEventHandlerException: Exception in EventHandler
at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:91)
at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:1)
at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$callFunction$1.invokeSuspend(JvmMethodListenersInternal.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
... 5 more
Caused by: kotlinx.serialization.MissingFieldException: Field 'testSpecialize' is required for type with serial name 'srh.shirakana.hoshinoyumemi.UserWorks.UserWorksData', but it was missing
at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20)
at HoshiniYumemi-0.0.2.mirai.jar//srh.shirakana.hoshinoyumemi.UserWorks$UserWorksData.<init>(Work.kt:15)
at HoshiniYumemi-0.0.2.mirai.jar//srh.shirakana.hoshinoyumemi.UserWorks$UserWorksData$$serializer.deserialize(Work.kt:15)
at HoshiniYumemi-0.0.2.mirai.jar//srh.shirakana.hoshinoyumemi.UserWorks$UserWorksData$$serializer.deserialize(Work.kt:15)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:36)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
at kotlinx.serialization.internal.ListLikeSerializer.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:59)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:36)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
at HoshiniYumemi-0.0.2.mirai.jar//srh.shirakana.hoshinoyumemi.UserWorks$$serializer.deserialize(Work.kt:12)
at HoshiniYumemi-0.0.2.mirai.jar//srh.shirakana.hoshinoyumemi.UserWorks$$serializer.deserialize(Work.kt:12)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:36)
at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100)
at HoshiniYumemi-0.0.2.mirai.jar//srh.shirakana.hoshinoyumemi.ShirakanaEventListener.handle0$HoshiniYumemi(NinnMu.kt:453)
at HoshiniYumemi-0.0.2.mirai.jar//srh.shirakana.hoshinoyumemi.ShirakanaEventListener$handle0$1.invokeSuspend(NinnMu.kt)
... 6 more