把腾讯官方的表情包和小程序(b站分享小程序等)会导致bug
hejinding 发布的帖子
-
RE: ApexLookUp - Apex英雄查询插件
@Shennoter 有影响的,插件直接查不到了,好像是因为Apex api要过Google,国内访问Google懂的都懂,可能要想想办法了
-
RE: ApexLookUp - Apex英雄查询插件
2022-08-04 13:24:58 W/ApexLookUp: Linked class okhttp3.OkHttpClient$Builder in mirai-skia-plugin-1.1.4.mirai.jar but plugin not depend on it.
2022-08-04 13:24:58 W/ApexLookUp: Class loading logic may change in feature.
2022-08-04 13:25:00 W/ApexLookUp: Exception in executing command[mirai:source:ids=[742], internalIds=[-1194176845], from group 450752262 to 761882387 at 1659590699]/apexid aipiao
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Static.call(CallerImpl.kt:106)
at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:173)
at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:74)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invokeSuspend(CommandReflector.kt:337)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt)
at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call$suspendImpl(CommandSignature.kt:88)
at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call(CommandSignature.kt)
at net.mamoe.mirai.console.internal.command.CommandManagerImplKt.executeCommandImpl(CommandManagerImpl.kt:168)
at net.mamoe.mirai.console.command.CommandManager.executeCommand$suspendImpl(CommandManager.kt:130)
at net.mamoe.mirai.console.command.CommandManager.executeCommand(CommandManager.kt)
at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeCommand(CommandManager.kt)
at net.mamoe.mirai.console.command.CommandManager.executeCommand$default(CommandManager.kt:125)
at chat-command-0.5.1.jar//net.mamoe.mirai.console.plugins.chat.command.PluginMain.handleCommand(PluginMain.kt:86)
at chat-command-0.5.1.jar//net.mamoe.mirai.console.plugins.chat.command.PluginMain$onEnable$2$1.invokeSuspend(PluginMain.kt:69)
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)
Caused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:225)
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.Gson.fromJson(Gson.java:991)
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.Gson.fromJson(Gson.java:956)
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.Gson.fromJson(Gson.java:905)
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.Gson.fromJson(Gson.java:876)
at ApexLookUp-1.6.0.mirai.jar//PlayerStatKt.playerStat(PlayerStat.kt:32)
at ApexLookUp-1.6.0.mirai.jar//Player.apexPlayerInfo(Commands.kt:19)
at ApexLookUp-1.6.0.mirai.jar//Player.apexPlayerInfo$default(Commands.kt:17)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 23 more
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:214)
... 31 more
怎么解