Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCosmetics MythicCosmetics
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 108
    • Issues 108
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCosmeticsMythicCosmetics
  • Issues
  • #105

Closed
Open
Created Nov 11, 2022 by Marcus Gee@Kelath

Bungeecord: An internal error occurred while attempting to perform this command

Okay still an issue...

I got it to work, then I added bungee support and it broke.

Only changes:

server.properties file is set to "online-mode=false" spigot.yml file is set to "bungeecord: true"

Pull the server up using the bungeecord server IP/Port and BAM the following errors start.

When I do /emotes EVIL_LAUGH (Or any of the starter gestures, I get the following error in console)

11.11 16:04:44 [Server] [INFO] KelathTheWise issued server command: /emotes EVIL_LAUGH 11.11 16:04:44 [Server] [ERROR] null 11.11 16:04:44 [Server] [INFO] org.bukkit.command.CommandException: Unhandled exception executing command 'emotes' in plugin MCCosmetics v0.9.0-${CI_COMMIT_SHORT_SHA} 11.11 16:04:44 [Server] [INFO] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] 11.11 16:04:44 [Server] [INFO] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] 11.11 16:04:44 [Server] [INFO] at org.bukkit.craftbukkit.v1_19_R1.CraftServer.dispatchCommand(CraftServer.java:916) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:04:44 [Server] [INFO] at org.bukkit.craftbukkit.v1_19_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:04:44 [Server] [INFO] at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:264) ~[paper-1.19.2.jar:?] 11.11 16:04:44 [Server] [INFO] at net.minecraft.commands.Commands.performCommand(Commands.java:305) ~[?:?] 11.11 16:04:44 [Server] [INFO] at net.minecraft.commands.Commands.performCommand(Commands.java:289) ~[?:?] 11.11 16:04:44 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2294) ~[?:?] 11.11 16:04:44 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$20(ServerGamePacketListenerImpl.java:2248) ~[?:?] 11.11 16:04:44 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?] 11.11 16:04:44 [Server] [INFO] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] 11.11 16:04:44 [Server] [INFO] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:04:44 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?] 11.11 16:04:44 [Server] [INFO] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?] 11.11 16:04:44 [Server] [INFO] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1341) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:04:44 [Server] [INFO] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:185) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:04:44 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] 11.11 16:04:44 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1318) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:04:44 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1311) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:04:44 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] 11.11 16:04:44 [Server] [INFO] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1289) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:04:44 [Server] [INFO] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1177) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:04:44 [Server] [INFO] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:04:44 [Server] [INFO] at java.lang.Thread.run(Thread.java:831) ~[?:?] 11.11 16:04:44 [Server] [INFO] Caused by: java.util.NoSuchElementException 11.11 16:04:44 [Server] [INFO] at com.google.common.collect.LinkedHashMultimap$ValueSet$1.next(LinkedHashMultimap.java:434) ~[guava-31.0.1-jre.jar:?] 11.11 16:04:44 [Server] [INFO] at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:473) ~[guava-31.0.1-jre.jar:?] 11.11 16:04:44 [Server] [INFO] at io.lumine.cosmetics.playeranimator.nms.v1_19_R1_2.NMSHandler_v1_19_R1_2.getTexture(NMSHandler_v1_19_R1_2.java:69) ~[MCCosmetics.jar:?] 11.11 16:04:44 [Server] [INFO] at io.lumine.cosmetics.playeranimator.api.model.player.PlayerModel.(PlayerModel.java:38) ~[MCCosmetics.jar:?] 11.11 16:04:44 [Server] [INFO] at io.lumine.cosmetics.managers.gestures.CustomPlayerModel.(CustomPlayerModel.java:17) ~[MCCosmetics.jar:?] 11.11 16:04:44 [Server] [INFO] at io.lumine.cosmetics.managers.gestures.GestureManager.playGesture(GestureManager.java:88) ~[MCCosmetics.jar:?] 11.11 16:04:44 [Server] [INFO] at io.lumine.cosmetics.commands.EmotesCommand.lambda$onCommand$0(EmotesCommand.java:40) ~[MCCosmetics.jar:?] 11.11 16:04:44 [Server] [INFO] at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] 11.11 16:04:44 [Server] [INFO] at io.lumine.cosmetics.commands.EmotesCommand.lambda$onCommand$1(EmotesCommand.java:36) ~[MCCosmetics.jar:?] 11.11 16:04:44 [Server] [INFO] at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] 11.11 16:04:44 [Server] [INFO] at io.lumine.cosmetics.commands.EmotesCommand.onCommand(EmotesCommand.java:33) ~[MCCosmetics.jar:?] 11.11 16:04:44 [Server] [INFO] at io.lumine.cosmetics.utils.commands.Command.onCommand(Command.java:64) ~[MCCosmetics.jar:?] 11.11 16:04:44 [Server] [INFO] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] 11.11 16:04:44 [Server] [INFO] ... 23 more

When I do /cosmetic equip HAT (Or any of the others, I get the following error in console)

11.11 16:05:22 [Server] [INFO] KelathTheWise issued server command: /cosmetic equip HAT 11.11 16:05:22 [Server] [ERROR] null 11.11 16:05:22 [Server] [INFO] org.bukkit.command.CommandException: Unhandled exception executing command 'cosmetic' in plugin MCCosmetics v0.9.0-${CI_COMMIT_SHORT_SHA} 11.11 16:05:22 [Server] [INFO] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] 11.11 16:05:22 [Server] [INFO] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] 11.11 16:05:22 [Server] [INFO] at org.bukkit.craftbukkit.v1_19_R1.CraftServer.dispatchCommand(CraftServer.java:916) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:05:22 [Server] [INFO] at org.bukkit.craftbukkit.v1_19_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:05:22 [Server] [INFO] at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:264) ~[paper-1.19.2.jar:?] 11.11 16:05:22 [Server] [INFO] at net.minecraft.commands.Commands.performCommand(Commands.java:305) ~[?:?] 11.11 16:05:22 [Server] [INFO] at net.minecraft.commands.Commands.performCommand(Commands.java:289) ~[?:?] 11.11 16:05:22 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2294) ~[?:?] 11.11 16:05:22 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$20(ServerGamePacketListenerImpl.java:2248) ~[?:?] 11.11 16:05:22 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?] 11.11 16:05:22 [Server] [INFO] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] 11.11 16:05:22 [Server] [INFO] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:05:22 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?] 11.11 16:05:22 [Server] [INFO] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?] 11.11 16:05:22 [Server] [INFO] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1341) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:05:22 [Server] [INFO] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:185) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:05:22 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] 11.11 16:05:27 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1318) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:05:27 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1311) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:05:27 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] 11.11 16:05:27 [Server] [INFO] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1289) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:05:27 [Server] [INFO] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1177) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:05:27 [Server] [INFO] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-"3ac1a8d"] 11.11 16:05:27 [Server] [INFO] at java.lang.Thread.run(Thread.java:831) ~[?:?] 11.11 16:05:27 [Server] [INFO] Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 11.11 16:05:27 [Server] [INFO] at io.lumine.cosmetics.commands.EquipCommand.onCommand(EquipCommand.java:36) ~[MCCosmetics.jar:?] 11.11 16:05:27 [Server] [INFO] at io.lumine.cosmetics.utils.commands.Command.onCommand(Command.java:64) ~[MCCosmetics.jar:?] 11.11 16:05:27 [Server] [INFO] at io.lumine.cosmetics.utils.commands.Command.onCommand(Command.java:55) ~[MCCosmetics.jar:?] 11.11 16:05:27 [Server] [INFO] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?] 11.11 16:05:27 [Server] [INFO] ... 23 more

I tried to review the above messages for clues, like I do sometimes with my own plug-ins, but I can't make heads or tails of it. From what I can tell it just isn't working. I don't understand the "[ERROR] null" as everything is setup correctly and considering the options show up in the in-game pull down in chat, I'd assume that the game is setting that things are where they belong until you try and execute the command and then it dies.

Edited Nov 11, 2022 by Marcus Gee
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking