Skip to content

NoSuchMethodError Team.setColor(int) in NewTabOverlayHandler #781

@finnlayq

Description

@finnlayq

Hello,

we are getting the following exception from BungeeTabListPlus on our BungeeCord proxy:

09:37:15 [WARNING] A task raised an exception. Task: codecrafter47.bungeetablistplus.handler.NewTabOverlayHandler$$Lambda/0x000079c2a0d37480@2f057e38
java.lang.NoSuchMethodError: 'void net.md_5.bungee.protocol.packet.Team.setColor(int)'
        at codecrafter47.bungeetablistplus.handler.NewTabOverlayHandler.createPacketTeamCreate(NewTabOverlayHandler.java:1275)
        at codecrafter47.bungeetablistplus.handler.NewTabOverlayHandler$CustomContentTabOverlayHandler.createTeamsIfNecessary(NewTabOverlayHandler.java:701)
        at codecrafter47.bungeetablistplus.handler.NewTabOverlayHandler$CustomContentTabOverlayHandler.onActivated(NewTabOverlayHandler.java:692)
        at codecrafter47.bungeetablistplus.handler.NewTabOverlayHandler.update(NewTabOverlayHandler.java:379)
        at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:148)
        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:141)
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:535)
        at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:201)
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1195)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at java.base/java.lang.Thread.run(Thread.java:1583)

It looks like BungeeTabListPlus is trying to call:

net.md_5.bungee.protocol.packet.Team.setColor(int)

but that method does not seem to exist in the currently used BungeeCord version.

Expected behavior

BungeeTabListPlus should update the tab list without throwing exceptions.

Actual behavior

The proxy logs a NoSuchMethodError when the tab overlay is updated.

Environment
Proxy: BungeeCord
BungeeCord build/version: net.md-5:bungeecord-log-26.1-R0.1-SNAPSHOT.jar
BungeeCord build: #2064
Java: 21
Minecraft version: 1.21.x / 1.21.6 compatibility
BungeeTabListPlus version: 3.6.7

This BungeeCord artifact was introduced around one month ago and was added to our proxy about two days ago, which is also when the problem started appearing.

The issue may therefore be related to compatibility between BungeeTabListPlus 3.6.7 and BungeeCord 26.1-R0.1-SNAPSHOT / build #2064.

Downgrading BungeeCord would be possible for us, but the version still needs to be compatible with the newest version of the Geyser Minecraft plugin, since we rely on Geyser compatibility.

Could you please confirm whether this BungeeCord version is supported by BungeeTabListPlus 3.6.7, whether a newer BungeeTabListPlus development build is required, or whether there is a recommended BungeeCord version that works with both BungeeTabListPlus and the latest Geyser version?

Thank you!

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