Skip to content

Multiverse 5: bukkit bridge throws NoClassDefFoundError, world alias empty (PR attached) #783

Description

@minoneer

Versions: BungeeTabListPlus 3.6.7 (bukkit bridge), Paper 26.2, Multiverse-Core 5.8.0

On a server running Multiverse-Core 5.x, the bukkit bridge throws on every data update - roughly every 2.5 seconds, a few hundred stack traces an hour:

[ERROR]: [BungeeTabListPlus] Unexpected exception
java.lang.NoClassDefFoundError: com/onarandombox/MultiverseCore/api/MVPlugin
    at de.codecrafter47.data.bukkit.multiverse.MultiverseWorldAliasProvider.apply(MultiverseWorldAliasProvider.java:30)
    at de.codecrafter47.data.api.AbstractDataAccess.get(AbstractDataAccess.java:44)
    at de.codecrafter47.bungeetablistplus.bridge.AbstractBridge.updatePlayerData(AbstractBridge.java:374)
    at codecrafter47.bungeetablistplus.bukkitbridge.BukkitBridge.lambda$onEnable$3(BukkitBridge.java:133)
Caused by: java.lang.ClassNotFoundException: com.onarandombox.MultiverseCore.api.MVPlugin

${viewer multiverse_world_alias} renders empty as a result.

Cause: Multiverse 5 renamed its packages from com.onarandombox.MultiverseCore to org.mvplugins.multiverse.core.

Fix: the provider lives in minecraft-data-api, so I've opened CodeCrafter47/minecraft-data-api#12 there. It adds a bukkit:multiverse5 module following the existing factionsuuid/factionsuuid05 pattern. Multiverse 4 support is untouched.

Filing it here as well because this is where the symptom shows up, and because BungeeTabListPlus needs a dataApiVersion bump to actually ship the fix once that PR lands.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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