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

Getting an error when leaving the server, which eventually crashed my server. #3132

Closed
danekoenders opened this issue Jul 25, 2023 · 1 comment
Labels
Bug Issues that contain unintended behavior

Comments

@danekoenders
Copy link

danekoenders commented Jul 25, 2023

Describe the issue

Every time a player leaves it gives me the error listed below. After some time, the error will make the server not joinable anymore. So it will stay online, but doesn't let anyone in. Because it will keep loading and loading, but eventually kick your with exception null.

Exceptions & Other Logs

Error from the server:

[ERROR] [Plan] Ran into ClassCastException - logged to plugins/Plan/logs/ClassCastException-f3447d488c.txt
25.07 10:07:36 [Server] [ERROR] [Plan] (INCLUDE CONTENTS OF THE FILE IN ANY REPORTS)
25.07 10:07:36 [Server] [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 @378fd1ac)"
f3447d488c - Last occurred: 2023-07-25 Occurrences: 20
---- Context 5 ----
Plan v5.5 build 2461
Paper git-Paper-"5de0f8a" (MC: 1.20.1)
Server v1.20.1-R0.1-SNAPSHOT


---- Context 4 ----
Plan v5.5 build 2461
Paper git-Paper-"5de0f8a" (MC: 1.20.1)
Server v1.20.1-R0.1-SNAPSHOT


---- Context 3 ----
Plan v5.5 build 2461
Paper git-Paper-"5de0f8a" (MC: 1.20.1)
Server v1.20.1-R0.1-SNAPSHOT


---- Context 2 ----
Plan v5.5 build 2461
Paper git-Paper-"5de0f8a" (MC: 1.20.1)
Server v1.20.1-R0.1-SNAPSHOT


---- Context 1 ----
Plan v5.5 build 2461
Paper git-Paper-"5de0f8a" (MC: 1.20.1)
Server v1.20.1-R0.1-SNAPSHOT


---- Stacktrace ----
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 @378fd1ac)
   org.bukkit.craftbukkit.v1_20_R1.ban.CraftProfileBanList.isBanned(CraftProfileBanList.java:79)
   org.bukkit.craftbukkit.v1_20_R1.ban.CraftProfileBanList.isBanned(CraftProfileBanList.java:17)
   org.bukkit.craftbukkit.v1_20_R1.entity.CraftPlayer.isBanned(CraftPlayer.java:1631)
   Plan-5.5-build-2461.jar//com.djrapitops.plan.gathering.domain.BukkitPlayerData.isBanned(BukkitPlayerData.java:53)
   Plan-5.5-build-2461.jar//com.djrapitops.plan.gathering.events.PlayerLeaveEventConsumer.lambda$storeBanStatus$2(PlayerLeaveEventConsumer.java:103)
   Plan-5.5-build-2461.jar//com.djrapitops.plan.processing.Processing.lambda$submitCritical$2(Processing.java:86)
   java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
   java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   java.base/java.lang.Thread.run(Thread.java:833)

Plugin versions

Plan-5.5-build-2461.jar

Additional information

@danekoenders danekoenders added the Bug Issues that contain unintended behavior label Jul 25, 2023
@AuroraLS3
Copy link
Collaborator

This is a paper issue update paper to 79 or newer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that contain unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants