CaaMoe / MultiLogin

外置共存
GNU General Public License v3.0
361 stars 56 forks source link

[错误报告] class java.lang.String cannot be cast to class com.mojang.authlib.GameProfile #115

Closed justghostof closed 1 year ago

justghostof commented 1 year ago

BUG描述

[23:04:16 INFO]: Disconnecting MWX_darkrain (/xxx.xxx.xxx.xxx:xxx): Failed to verify username! [23:04:16 WARN]: Exception verifying MWX_darkrain java.lang.ClassCastException: class java.lang.String cannot be cast to class com.mojang.authlib.GameProfile (java.lang.String is in module java.base of loader 'bootstrap'; com.mojang.authlib.GameProfile is in unnamed module of loader java.net.URLClassLoader @1ed6993a) at moe.caa.multilogin.bukkit.injector.proxy.YggdrasilMinecraftSessionServiceInvocationHandler.invoke(YggdrasilMinecraftSessionServiceInvocationHandler.kt:23) ~[?:?] at jdk.proxy2.$Proxy115.hasJoinedServer(Unknown Source) ~[?:?] at net.minecraft.server.network.ServerLoginPacketListenerImpl$2.run(ServerLoginPacketListenerImpl.java:286) ~[?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:833) ~[?:?] [23:04:16 INFO]: MWX_darkrain (/xxx.xxx.xxx.xxx:xxx) lost connection: Failed to verify username!

MultiLogin版本

v0.6.6

系统架构

linux/amd64

服务器核心

purpur 1.20.2

配置文件

-

日志

No response

复现步骤

1.Java登录必现 ...

确认一遍

CaaMoe commented 1 year ago

已在 此次 提交中修复这个问题,感谢反馈