Closed Er1one closed 3 weeks ago
This one is listed on our wiki: https://geysermc.org/wiki/floodgate/issues#javalangnumberformatexception-for-input-string- Floodgate requires an Xbox account (aka non-cracked Bedrock) to work. Stock Geyser also doesn't allow you to join without a valid Xbox account.
Describe the bug
After updating floodgate on my server, I can still log into the server from Bedrock (PC) v1.21.41, however, I cannot log into the server from the same version using a mobile device
To Reproduce
Expected behaviour
[15:14:16 ERROR]: java.lang.NumberFormatException: For input string: "" [15:14:16 ERROR]: at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) [15:14:16 ERROR]: at java.base/java.lang.Long.parseLong(Long.java:719) [15:14:16 ERROR]: at java.base/java.lang.Long.parseLong(Long.java:832) [15:14:16 ERROR]: at org.geysermc.floodgate.util.Utils.getJavaUuid(Utils.java:95) [15:14:16 ERROR]: at org.geysermc.floodgate.addon.data.HandshakeDataImpl.(HandshakeDataImpl.java:76)
[15:14:16 ERROR]: at org.geysermc.floodgate.player.FloodgateHandshakeHandler.handlePart2(FloodgateHandshakeHandler.java:216)
[15:14:16 ERROR]: at org.geysermc.floodgate.player.FloodgateHandshakeHandler.lambda$handle$1(FloodgateHandshakeHandler.java:184)
[15:14:16 ERROR]: at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
[15:14:16 ERROR]: at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911)
[15:14:16 ERROR]: at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
[15:14:16 ERROR]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
[15:14:16 ERROR]: at java.base/java.lang.Thread.run(Thread.java:1583)
[15:14:16 INFO]: [initial connection] /80.251.237.74:0 has disconnected: An internal error happened while handling Floodgate data. Try logging in again or contact a server administrator if the issue persists.
[15:14:16 INFO] [geyser]: Testbot отключился от сервера Java по причине An internal error happened while handling Floodgate data. Try logging in again or contact a server administrator if the issue persists.
Screenshots / Videos
No response
Server Version and Plugins
Geyser Dump
https://dump.geysermc.org/rOFLGssFlqTOF5zmYHv4lXkNRNwPTvRS
Geyser Version
2.4.4-b696 (git-master-6331cb6) (Java: 1.21, Bedrock: 1.20.80/1.20.81 - 1.21.40/1.21.41)
Minecraft: Bedrock Edition Device/Version
v1.21.41
Additional Context
No response