Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

class java.lang.String cannot be cast to class java.util.Map #10

Open
MnkyArts opened this issue Nov 13, 2023 · 0 comments
Open

class java.lang.String cannot be cast to class java.util.Map #10

MnkyArts opened this issue Nov 13, 2023 · 0 comments

Comments

@MnkyArts
Copy link

MnkyArts commented Nov 13, 2023

Used Version

[SyncInv] Enabling SyncInv v0.6.2-SNAPSHOT (build 99)

Config

Its the default config, didn't change anything except for redis connection and the server settings.

Environment description

Running paper using pterodactyl through docker container.

Full Log

[17:07:24 WARN]: [SyncInv] Error while trying to access PersistentDataContainer data ({}). Disabling persistent data syncing!
java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.Map (java.lang.String and java.util.Map are in module java.base of loader 'bootstrap')
        at de.minebench.syncinv.SyncInv.getData(SyncInv.java:958) ~[SyncInv.jar:?]
        at de.minebench.syncinv.listeners.PlayerQuitListener.onPlayerQuit(PlayerQuitListener.java:60) ~[SyncInv.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor6.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:git-Purpur-2090]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.2-R0.1-SNAPSHOT.jar:?]
        at net.minecraft.server.players.PlayerList.remove(PlayerList.java:617) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.players.PlayerList.remove(PlayerList.java:601) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.removePlayerFromWorld(ServerGamePacketListenerImpl.java:2137) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(ServerGamePacketListenerImpl.java:2117) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(ServerGamePacketListenerImpl.java:2104) ~[?:?]
        at net.minecraft.network.Connection.handleDisconnection(Connection.java:846) ~[?:?]
        at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:260) ~[?:?]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1607) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:486) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1406) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1177) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[purpur-1.20.2.jar:git-Purpur-2090]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

What other programs/plugins are you running?

OpenInv

What is happening?

The Error occurs sometimes when i switch between server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant