Skip to content

Strange issue causing massive lag for 10-20 seconds before spamming console with errors, then lag is completely gone #3567

@TerdyTheTerd

Description

@TerdyTheTerd

This issue is not solved in a development build

I don't what is causing this, it's very possible its another plugin causing the issue and its just protocol lib that is logging the errors. Sometimes when joining/teleporting around the server gets immense lag followed by console error spam relating to protocol lib, sometimes there is no lag and just the spam. I'm guessing this isn't actually an issue with protocol lib, but I figured you would be the most knowledgeable in know what I can do best to track down the real culprit. This is the error I see spammed several dozen times:
java.lang.ClassCastException: class java.lang.Object cannot be cast to class net.minecraft.network.protocol.game.ClientboundSetPlayerTeamPacket$Parameters (java.lang.Object is in module java.base of loader 'bootstrap'; net.minecraft.network.protocol.game.ClientboundSetPlayerTeamPacket$Parameters is in unnamed module of loader java.net.URLClassLoader @433c675d)

Stacktrace per error: https://mclo.gs/20UWKHd

I'm guessing the plugins it mentions are just any plugin that modified or added custom packets. Does this look like an issue with a plugin, server version or maybe an issue with the Velocity proxy/proxy plugins? Running Paper 1.21.4-232 and velocity-3.4.0-SNAPSHOT-539. This issue did not occur with the previous version of protocol lib 5.4.0-SNAPSHOT-739, but I had to update versions for a plugin. It seems to happen with all versions since then, including the latest build from github actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions