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

In Paper 1.19.2: org.bukkit.command.CommandException: Unhandled exception executing command 'maptool' in plugin ImageOnMap v4.2.2 #280

Open
ddos-ling opened this issue Jan 3, 2023 · 0 comments

Comments

@ddos-ling
Copy link

[05:28:19 INFO]: DDoS_LING issued server command: /maptool update shop-2 http://172.17.0.1/shop.png
[05:28:19 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'maptool' in plugin ImageOnMap v4.2.2
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftServer.dispatchCommand(CraftServer.java:962) ~[purpur-1.19.2.jar:git-Purpur-1858]
at org.bukkit.craftbukkit.v1_19_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[purpur-1.19.2.jar:git-Purpur-1858]
at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:264) ~[purpur-1.19.2.jar:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:313) ~[?:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:297) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2386) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$21(ServerGamePacketListenerImpl.java:2340) ~[?:?]
at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.19.2.jar:git-Purpur-1858]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1368) ~[purpur-1.19.2.jar:git-Purpur-1858]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:185) ~[purpur-1.19.2.jar:git-Purpur-1858]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1345) ~[purpur-1.19.2.jar:git-Purpur-1858]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1338) ~[purpur-1.19.2.jar:git-Purpur-1858]
at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1472) ~[purpur-1.19.2.jar:git-Purpur-1858]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1194) ~[purpur-1.19.2.jar:git-Purpur-1858]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:310) ~[purpur-1.19.2.jar:git-Purpur-1858]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot load from object array because "size" is null
at fr.moribus.imageonmap.commands.maptool.UpdateCommand.lambda$run$0(UpdateCommand.java:184) ~[61-ImageOnMap-4.2.2.jar:?]
at fr.moribus.imageonmap.commands.IoMCommand.retrieveUUID(IoMCommand.java:77) ~[61-ImageOnMap-4.2.2.jar:?]
at fr.moribus.imageonmap.commands.maptool.UpdateCommand.run(UpdateCommand.java:158) ~[61-ImageOnMap-4.2.2.jar:?]
at fr.zcraft.imageonmap.quartzlib.components.commands.Command.execute(Command.java:322) ~[61-ImageOnMap-4.2.2.jar:?]
at fr.zcraft.imageonmap.quartzlib.components.commands.CommandGroup.executeMatchingCommand(CommandGroup.java:175) ~[61-ImageOnMap-4.2.2.jar:?]
at fr.zcraft.imageonmap.quartzlib.components.commands.CommandGroup.executeMatchingCommand(CommandGroup.java:169) ~[61-ImageOnMap-4.2.2.jar:?]
at fr.zcraft.imageonmap.quartzlib.components.commands.CommandGroup.onCommand(CommandGroup.java:190) ~[61-ImageOnMap-4.2.2.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[purpur-api-1.19.2-R0.1-SNAPSHOT.jar:?]
... 23 more

http://172.17.0.1/shop.png Same size as the original image, and the link is accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant