ProxioDev / ValioBungee

Synchronize players data between BungeeCord / Velocity proxies
Eclipse Public License 1.0
191 stars 50 forks source link

Keep getting this error. Anyone know why? #95

Closed ArcheryAce closed 3 months ago

ArcheryAce commented 3 months ago

What is your question?

Hey, I keep getting this error in my Supposed Proxy network server. Could someone tell me what It means and what I can do to fix the issue? There are no issues regarding players on the server. just getting that error sent every time a player joins. image

ham1255 commented 3 months ago

Weird... issue templates didnt get applied anyways.

I need more information like RedisBungee version and whats velocity version please provide full logs as text not a picture

ham1255 commented 3 months ago

https://github.com/ProxioDev/RedisBungee/blob/dd4cc2a5bb35b8b5651168257d0d2d773b96f64a/RedisBungee-Velocity/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeVelocityPlugin.java#L132

ArcheryAce commented 3 months ago

Here is the Velocity version adn RedisBungee version. For my own players security, I will not be sending a full log. image

[14:33:41 INFO]: Velocity 3.3.0-SNAPSHOT (git-74c932e5-b363) [14:33:41 INFO]: Copyright 2018-2021 Velocity Contributors. Velocity is licensed under the terms of the GNU General Public License v3.

And here is the log once again. In text [14:35:11 ERROR] [redisbungee]: Unable to fix up stored player data [14:35:11 ERROR]: java.lang.ClassCastException: class java.util.concurrent.ConcurrentHashMap$ValuesView cannot be cast to class com.velocitypowered.api.proxy.Player (java.util.concurrent.ConcurrentHashMap$ValuesView is in module java.base of loader 'bootstrap'; com.velocitypowered.api.proxy.Player is in unnamed module of loader 'app') [14:35:11 ERROR]: at com.imaginarycode.minecraft.redisbungee.RedisBungeeVelocityPlugin.getLocalPlayersAsUuidStrings(RedisBungeeVelocityPlugin.java:132) [14:35:11 ERROR]: at com.imaginarycode.minecraft.redisbungee.api.tasks.IntegrityCheckTask.unifiedJedisTask(IntegrityCheckTask.java:35) [14:35:11 ERROR]: at com.imaginarycode.minecraft.redisbungee.api.tasks.IntegrityCheckTask.unifiedJedisTask(IntegrityCheckTask.java:22) [14:35:11 ERROR]: at com.imaginarycode.minecraft.redisbungee.api.tasks.RedisTask.execute(RedisTask.java:60) [14:35:11 ERROR]: at com.velocitypowered.proxy.scheduler.VelocityScheduler$VelocityTask.lambda$run$0(VelocityScheduler.java:285) [14:35:11 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [14:35:11 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [14:35:11 ERROR]: at java.base/java.lang.Thread.run(Thread.java:840)

ham1255 commented 3 months ago

This error is super weird I am not sure how Player is being casted into a hashmap ValuesView

ArcheryAce commented 3 months ago

This error is super weird I am not sure how Player is being casted into a hashmap ValuesView

I am not sure either. that is why I came here to ask you since It just started showing up recently. Do you know what a fix would be?

ham1255 commented 3 months ago

can you try updating velocity version that you are using? its from Feb 24

ArcheryAce commented 3 months ago

can you try updating velocity version that you are using? its from Feb 24

I can ask my server owner if we can do that.

ham1255 commented 3 months ago

any issues yet? in-case you updated.

Released 0.11.4 https://github.com/ProxioDev/RedisBungee/releases/tag/0.11.4