(Go: >> BACK << -|- >> HOME <<)

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

The plugin cannot load properly #876

Open
qaz197418i opened this issue Jul 6, 2024 · 4 comments
Open

The plugin cannot load properly #876

qaz197418i opened this issue Jul 6, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@qaz197418i
Copy link
qaz197418i commented Jul 6, 2024

The plugin encountered an issue while loading
I have tried the latest development version, but the problem still exists

paper1.12.2
java17

https://pastebin.com/LcGFf0f2

@qaz197418i qaz197418i added the bug Something isn't working label Jul 6, 2024
@rafi67000
Copy link

add this --add-opens java.base/java.net=ALL-UNNAMED before -jar in your JVM flags

@qaz197418i
Copy link
Author

add this --add-opens java.base/java.net=ALL-UNNAMED before -jar in your JVM flags

still same issues

@booky10
Copy link
Collaborator
booky10 commented Jul 10, 2024

https://github.com/retrooper/packetevents/blob/v2.4.0/spigot/src/main/java/io/github/retrooper/packetevents/util/SpigotReflectionUtil.java#L294
https://github.com/retrooper/packetevents/blob/v2.4.0/spigot/src/main/java/io/github/retrooper/packetevents/util/SpigotReflectionUtil.java#L346

According to your provided stacktrace, packetevents tries to lookup a class which is expected to not exist in 1.12 (net.minecraft.server.v1_12_R1.DynamicOpsNBT) - but somehow finds it


Can you reproduce this error with just packetevents installed?
If I were to guess, some plugin may shade DynamicOpsNBT for whatever reason, but I'm not sure if this is the actual issue

@qaz197418i
Copy link
Author

https://github.com/retrooper/packetevents/blob/v2.4.0/spigot/src/main/java/io/github/retrooper/packetevents/util/SpigotReflectionUtil.java#L294 https://github.com/retrooper/packetevents/blob/v2.4.0/spigot/src/main/java/io/github/retrooper/packetevents/util/SpigotReflectionUtil.java#L346

According to your provided stacktrace, packetevents tries to lookup a class which is expected to not exist in 1.12 (net.minecraft.server.v1_12_R1.DynamicOpsNBT) - but somehow finds it

Can you reproduce this error with just packetevents installed? If I were to guess, some plugin may shade DynamicOpsNBT for whatever reason, but I'm not sure if this is the actual issue

Okay, I'll give it a try when I have time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants