java.lang.ClassCastException: class com.destroystokyo.paper.profile.CraftPlayerProfile cannot be cas
[02:53:06 ERROR]: Could not pass event PlayerQuitEvent to Parkour v7.2.0
java.lang.ClassCastException: class com.destroystokyo.paper.profile.CraftPlayerProfile cannot be cast to class org.bukkit.craftbukkit.v1_20_R1.profile.CraftPlayerProfile (com.destroystokyo.paper.profile.CraftPlayerProfile and org.bukkit.craftbukkit.v1_20_R1.profile.CraftPlayerProfile are in unnamed module of loader java.net.URLClassLoader @1ed6993a)
at org.bukkit.craftbukkit.v1_20_R1.ban.CraftProfileBanList.isBanned(CraftProfileBanList.java:79) ~[purpur-1.20.1.jar:git-Purpur-2014]
at org.bukkit.craftbukkit.v1_20_R1.ban.CraftProfileBanList.isBanned(CraftProfileBanList.java:17) ~[purpur-1.20.1.jar:git-Purpur-2014]
at org.bukkit.craftbukkit.v1_20_R1.entity.CraftPlayer.isBanned(CraftPlayer.java:1640) ~[purpur-1.20.1.jar:git-Purpur-2014]
at io.github.a5h73y.parkour.listener.PlayerListener.onPlayerDisconnect(PlayerListener.java:254) ~[Parkour-7.2.0-RELEASE.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1205.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:git-Purpur-2014]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.1.jar:git-Purpur-2014]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.1.jar:git-Purpur-2014]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.players.PlayerList.remove(PlayerList.java:601) ~[purpur-1.20.1.jar:git-Purpur-2014]
at net.minecraft.server.players.PlayerList.remove(PlayerList.java:585) ~[purpur-1.20.1.jar:git-Purpur-2014]
at net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(ServerGamePacketListenerImpl.java:2216) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(ServerGamePacketListenerImpl.java:2195) ~[?:?]
at net.minecraft.network.Connection.handleDisconnection(Connection.java:827) ~[?:?]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:254) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1616) ~[purpur-1.20.1.jar:git-Purpur-2014]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:487) ~[purpur-1.20.1.jar:git-Purpur-2014]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1421) ~[purpur-1.20.1.jar:git-Purpur-2014]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1192) ~[purpur-1.20.1.jar:git-Purpur-2014]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.1.jar:git-Purpur-2014]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[02:53:06 ERROR]: [Plan] Ran into ClassCastException - logged to plugins/Plan/logs/ClassCastException-e81dae982a.txt
[02:53:06 ERROR]: [Plan] (INCLUDE CONTENTS OF THE FILE IN ANY REPORTS)
[02:53:06 ERROR]: [Plan] Error msg: "class com.destroystokyo.paper.profile.CraftPlayerProfile cannot be cast to class org.bukkit.craftbukkit.v1_20_R1.profile.CraftPlayerProfile (com.destroystokyo.paper.profile.CraftPlayerProfile and org.bukkit.craftbukkit.v1_20_R1.profile.CraftPlayerProfile are in unnamed module of loader java.net.URLClassLoader @1ed6993a)"
12 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by itsmerioooo#0
Having this problems when I updated my plugins
that is probably just a plugin that is not working on that version
seems to be NMS incompatibilities
So does the developer need to update it to be compatible with NMS?
most likely yes
Okay thanks1
or are you on an older paper version (say 1.19.X)?
1.20.1 purpur
i suspect it to be the parkour plugin that is just broken rn
It works but it just spams the console when someone leaves
i suspect so, i am just curious as to why parkour checks the
isBanned
methon on leave lolIdk xD