Closed austin4195 closed 2 years ago
Hi! Thanks for reporting it, I will take a look at it tomorrow and let you know as soon as it is resolved
Could you try this build? It should fix this error, at least on my testing server, but I want to make sure it does on yours too
No luck
[13:26:32 INFO]: austin4195 issued server command: /dshop import shopGuiPlus decorations wood
[13:26:32 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'dshop' in plugin DailyShop v3.9.1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:906) ~[paper-1.18.2.jar:git-Paper-385]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2307) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2118) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2099) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:46) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundChatPacket.a(ServerboundChatPacket.java:6) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.18.2.jar:git-Paper-385]
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:1400) ~[paper-1.18.2.jar:git-Paper-385]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188) ~[paper-1.18.2.jar:git-Paper-385]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1377) ~[paper-1.18.2.jar:git-Paper-385]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1370) ~[paper-1.18.2.jar:git-Paper-385]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1348) ~[paper-1.18.2.jar:git-Paper-385]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1230) ~[paper-1.18.2.jar:git-Paper-385]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-385]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "net.brcdev.shopgui.shop.Shop.getShopItems()" because the return value of "net.brcdev.shopgui.ShopGuiPlusApi.getShop(String)" is null
at io.github.divios.dailyShop.commands.importShops.lambda$getShopGuiCommand$2(importShops.java:45) ~[DailyShop-3.9.1 (1).jar:?]
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at io.github.divios.dailyShop.commands.importShops.lambda$getShopGuiCommand$3(importShops.java:44) ~[DailyShop-3.9.1 (1).jar:?]
at io.github.divios.jcommands.JCommandListener.onCommand(JCommandListener.java:70) ~[DailyShop-3.9.1 (1).jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
... 21 more
Mmm weird, It is clear that the previous bugs that you send me are fixed but now is yielding a different bug. The error is caused because it cannot find the shopGui shop, are you sure that shop exists?
Closes due to inactivity
Also receiving
An internal error occurred while attempting to perform this command
andAn internal error occurred while attempting to tab-complete this command
when running the conversion command in game