Open seraphimhere opened 7 months ago
I have the same issue, though im running 1.20.4 Ive had to reform the json's myself which is painful, it seems like it stops the json if a string is too long
same issue on 1.21. Workaround : If you replace the json while the server is running with correct ones, WITHOUT reloading the plugin after, all the shops fix by themselves.
Stack trace
2.04 20:08:23 [Server] [ERROR] [TradeShop] Could not load c;;world;;-28;;6.json file due to malformed Json! 12.04 20:08:23 [Server] [INFO] Please send the .err file with the same name to the TradeShop Devs. 12.04 20:08:23 [Server] [INFO] TradeShop will now disable, please remove/fix any err files before restarting the plugin. 12.04 20:08:23 [Server] [INFO] com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 27 column 194 path $.l::world::-439.0::95.0::103.0.product[0].itemStack.meta.display-name 12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.Streams.parse(Streams.java:61) ~[gson-2.10.jar:?] 12.04 20:08:23 [Server] [INFO] at com.google.gson.JsonParser.parseReader(JsonParser.java:102) ~[gson-2.10.jar:?] 12.04 20:08:23 [Server] [INFO] at com.google.gson.JsonParser.parseReader(JsonParser.java:70) ~[gson-2.10.jar:?] 12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.loadFile(JsonConfiguration.java:115) ~[TradeShop-2.6.1-STABLE.jar:?] 12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.loadFile(JsonShopConfiguration.java:145) ~[TradeShop-2.6.1-STABLE.jar:?] 12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.(JsonConfiguration.java:63) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.(JsonShopConfiguration.java:51) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.getShopConfiguration(DataStorage.java:292) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.getShopConfiguration(DataStorage.java:287) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.loadShopFromSign(DataStorage.java:180) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.shop.listeners.ShopTradeListener.onBlockInteract(ShopTradeListener.java:87) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor137.execute(Unknown Source) ~[?:?]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:591) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:537) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:2015) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:37) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1338) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1315) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1308) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1385) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at java.lang.Thread.run(Thread.java:833) ~[?:?]
12.04 20:08:23 [Server] [INFO] Caused by: com.google.gson.stream.MalformedJsonException: Unterminated string at line 27 column 194 path $.l::world::-439.0::95.0::103.0.product[0].itemStack.meta.display-name
12.04 20:08:23 [Server] [INFO] at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1657) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.stream.JsonReader.nextQuotedValue(JsonReader.java:1042) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.stream.JsonReader.nextString(JsonReader.java:824) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.bind.TypeAdapters$28.readTerminal(TypeAdapters.java:747) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:791) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:725) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.Streams.parse(Streams.java:49) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] ... 36 more
12.04 20:08:23 [Server] [ERROR] [TradeShop] Could not save c;;world;;-28;;6.json file! Writing err to console.
12.04 20:08:23 [Server] [INFO] com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 27 column 194 path $.l::world::-439.0::95.0::103.0.product[0].itemStack.meta.display-name
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.Streams.parse(Streams.java:61) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.JsonParser.parseReader(JsonParser.java:102) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.JsonParser.parseReader(JsonParser.java:70) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.loadFile(JsonConfiguration.java:115) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.loadFile(JsonShopConfiguration.java:145) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.(JsonConfiguration.java:63) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.(JsonShopConfiguration.java:51) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.getShopConfiguration(DataStorage.java:292) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.getShopConfiguration(DataStorage.java:287) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.loadShopFromSign(DataStorage.java:180) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.shop.listeners.ShopTradeListener.onBlockInteract(ShopTradeListener.java:87) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor137.execute(Unknown Source) ~[?:?]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:591) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:537) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:2015) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:37) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1338) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1315) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1308) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1385) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at java.lang.Thread.run(Thread.java:833) ~[?:?]
12.04 20:08:23 [Server] [INFO] Caused by: com.google.gson.stream.MalformedJsonException: Unterminated string at line 27 column 194 path $.l::world::-439.0::95.0::103.0.product[0].itemStack.meta.display-name
12.04 20:08:23 [Server] [INFO] at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1657) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.stream.JsonReader.nextQuotedValue(JsonReader.java:1042) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.stream.JsonReader.nextString(JsonReader.java:824) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.bind.TypeAdapters$28.readTerminal(TypeAdapters.java:747) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:791) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:725) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.Streams.parse(Streams.java:49) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] ... 36 more
12.04 20:08:23 [Server] [ERROR] [TradeShop] com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 27 column 194 path $.l::world::-439.0::95.0::103.0.product[0].itemStack.meta.display-name
12.04 20:08:23 [Server] [INFO] --------------------------------------------------------------------------------------
12.04 20:08:23 [Server] [INFO] {
12.04 20:08:23 [Server] [INFO] "l::world::-439.0::95.0::103.0": {
12.04 20:08:23 [Server] [INFO] "shopLoc": {
12.04 20:08:23 [Server] [INFO] "div": "::",
12.04 20:08:23 [Server] [INFO] "worldName": "world",
12.04 20:08:23 [Server] [INFO] "x": -439.0,
12.04 20:08:23 [Server] [INFO] "y": 95.0,
12.04 20:08:23 [Server] [INFO] "z": 103.0
12.04 20:08:23 [Server] [INFO] },
12.04 20:08:23 [Server] [INFO] "owner": {
12.04 20:08:23 [Server] [INFO] "player": "ee2a935a-8fd0-4f37-b144-2c3601924059",
12.04 20:08:23 [Server] [INFO] "role": "OWNER"
12.04 20:08:23 [Server] [INFO] },
12.04 20:08:23 [Server] [INFO] "managers": [],
12.04 20:08:23 [Server] [INFO] "members": [],
12.04 20:08:23 [Server] [INFO] "shopType": "TRADE",
12.04 20:08:23 [Server] [INFO] "product": [
12.04 20:08:23 [Server] [INFO] {
12.04 20:08:23 [Server] [INFO] "itemStack": {
12.04 20:08:23 [Server] [INFO] "==": "org.bukkit.inventory.ItemStack",
12.04 20:08:23 [Server] [INFO] "v": 3465,
12.04 20:08:23 [Server] [INFO] "type": "COBBLESTONE",
12.04 20:08:23 [Server] [INFO] "amount": 16,
12.04 20:08:23 [Server] [INFO] "meta": {
12.04 20:08:23 [Server] [INFO] "==": "ItemMeta",
12.04 20:08:23 [Server] [INFO] "meta-type": "UNSPECIFIC",
12.04 20:08:23 [Server] [INFO] "display-name": "{\"extra\":[{\"bold\":false,\"italic\":false,\"underlined\":false,\"strikethrough\":false,\"obfuscated\":false,\"color\":\"yellow\",\"text\":\"Standard Cannonball\"
12.04 20:08:23 [Server] [INFO] com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 27 column 194 path $.l::world::-439.0::95.0::103.0.product[0].itemStack.meta.display-name
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.Streams.parse(Streams.java:61) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.JsonParser.parseReader(JsonParser.java:102) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.JsonParser.parseReader(JsonParser.java:70) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.loadFile(JsonConfiguration.java:115) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.loadFile(JsonShopConfiguration.java:145) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.(JsonConfiguration.java:63) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.(JsonShopConfiguration.java:51) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.getShopConfiguration(DataStorage.java:292) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.getShopConfiguration(DataStorage.java:287) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.loadShopFromSign(DataStorage.java:180) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.shop.listeners.ShopTradeListener.onBlockInteract(ShopTradeListener.java:87) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor137.execute(Unknown Source) ~[?:?]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:591) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:537) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:2015) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:37) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1338) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1315) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1308) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1385) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at java.lang.Thread.run(Thread.java:833) ~[?:?]
12.04 20:08:23 [Server] [INFO] Caused by: com.google.gson.stream.MalformedJsonException: Unterminated string at line 27 column 194 path $.l::world::-439.0::95.0::103.0.product[0].itemStack.meta.display-name
12.04 20:08:23 [Server] [INFO] at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1657) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.stream.JsonReader.nextQuotedValue(JsonReader.java:1042) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.stream.JsonReader.nextString(JsonReader.java:824) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.bind.TypeAdapters$28.readTerminal(TypeAdapters.java:747) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:791) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:725) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] at com.google.gson.internal.Streams.parse(Streams.java:49) ~[gson-2.10.jar:?]
12.04 20:08:23 [Server] [INFO] ... 36 more
12.04 20:08:23 [Server] [ERROR] Could not pass event PlayerInteractEvent to TradeShop v2.6.1-STABLE
12.04 20:08:23 [Server] [INFO] java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonObject.entrySet()" because "this.jsonObj" is null
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.loadFile(JsonShopConfiguration.java:147) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.(JsonConfiguration.java:63) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.(JsonShopConfiguration.java:51) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.getShopConfiguration(DataStorage.java:292) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.getShopConfiguration(DataStorage.java:287) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.data.storage.DataStorage.loadShopFromSign(DataStorage.java:180) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at org.shanerx.tradeshop.shop.listeners.ShopTradeListener.onBlockInteract(ShopTradeListener.java:87) ~[TradeShop-2.6.1-STABLE.jar:?]
12.04 20:08:23 [Server] [INFO] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor137.execute(Unknown Source) ~[?:?]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:23 [Server] [INFO] at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:23 [Server] [INFO] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:24 [Server] [INFO] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
12.04 20:08:24 [Server] [INFO] at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:591) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:24 [Server] [INFO] at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:537) ~[?:?]
12.04 20:08:24 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:2015) ~[?:?]
12.04 20:08:24 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:37) ~[?:?]
12.04 20:08:24 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9) ~[?:?]
12.04 20:08:24 [Server] [INFO] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
12.04 20:08:24 [Server] [INFO] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:24 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
12.04 20:08:24 [Server] [INFO] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
12.04 20:08:24 [Server] [INFO] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1338) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:24 [Server] [INFO] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:24 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
12.04 20:08:24 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1315) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:24 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1308) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:24 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
12.04 20:08:24 [Server] [INFO] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1385) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:24 [Server] [INFO] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:26 [Server] [INFO] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
12.04 20:08:26 [Server] [INFO] at java.lang.Thread.run(Thread.java:833) ~[?:?]
Plugin list
Actions to reproduce (if known)
Create tradeshop, restart server, right click on tradeshop with item specified as cost
TradeShop version and Minecraft version (CraftBukkit/Spigot/Paper/...)
This server is running Paper version git-Paper-196 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 773dd72) You are running the latest version Previous version: git-Paper-"b600140" (MC: 1.20.4)
Tradeshop 2.6.1 STABLE
Agreements
Other
No response