TradeShop
TradeShop copied to clipboard
The store stopped working :(
Stack trace
[14:56:27] [Server thread/ERROR]: [TradeShop Debug - DATA_ERROR] FLATFILE Malformed Files Found: 0
[14:56:27] [Server thread/ERROR]: [TradeShop Debug - DATA_ERROR] # of empty player files that couldn't be deleted: 0
[14:56:28] [Craft Scheduler Thread - 6 - TradeShop/ERROR]: [TradeShop] Could not load c;;world;;-6;;3.json file due to malformed Json!
Please send the .err file with the same name to the TradeShop Devs.
TradeShop will now disable, please remove/fix any err files before restarting the plugin.
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 832 column 191 path $.l::world::-94.0::72.0::53.0.product[0].itemStack.meta.display-name
at com.google.gson.internal.Streams.parse(Streams.java:61) ~[gson-2.10.1.jar:?]
at com.google.gson.JsonParser.parseReader(JsonParser.java:102) ~[gson-2.10.1.jar:?]
at com.google.gson.JsonParser.parseReader(JsonParser.java:70) ~[gson-2.10.1.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.loadFile(JsonConfiguration.java:115) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.loadFile(JsonShopConfiguration.java:145) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.<init>(JsonConfiguration.java:63) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.<init>(JsonShopConfiguration.java:51) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.DataStorage.lambda$getShopCountInWorld$10(DataStorage.java:237) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.4.jar:git-Paper-484]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.4.jar:git-Paper-484]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.4.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated string at line 832 column 191 path $.l::world::-94.0::72.0::53.0.product[0].itemStack.meta.display-name
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1659) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.nextQuotedValue(JsonReader.java:1044) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.nextString(JsonReader.java:826) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.TypeAdapters$28.readTerminal(TypeAdapters.java:747) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:791) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:725) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.Streams.parse(Streams.java:49) ~[gson-2.10.1.jar:?]
... 13 more
[14:56:28] [Craft Scheduler Thread - 6 - TradeShop/ERROR]: [TradeShop] Could not save c;;world;;-6;;3.json file! Writing err to console.
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 832 column 191 path $.l::world::-94.0::72.0::53.0.product[0].itemStack.meta.display-name
at com.google.gson.internal.Streams.parse(Streams.java:61) ~[gson-2.10.1.jar:?]
at com.google.gson.JsonParser.parseReader(JsonParser.java:102) ~[gson-2.10.1.jar:?]
at com.google.gson.JsonParser.parseReader(JsonParser.java:70) ~[gson-2.10.1.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.loadFile(JsonConfiguration.java:115) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.loadFile(JsonShopConfiguration.java:145) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.<init>(JsonConfiguration.java:63) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.<init>(JsonShopConfiguration.java:51) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.DataStorage.lambda$getShopCountInWorld$10(DataStorage.java:237) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.4.jar:git-Paper-484]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.4.jar:git-Paper-484]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.4.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated string at line 832 column 191 path $.l::world::-94.0::72.0::53.0.product[0].itemStack.meta.display-name
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1659) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.nextQuotedValue(JsonReader.java:1044) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.nextString(JsonReader.java:826) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.TypeAdapters$28.readTerminal(TypeAdapters.java:747) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:791) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:725) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.Streams.parse(Streams.java:49) ~[gson-2.10.1.jar:?]
... 13 more
[14:56:28] [Craft Scheduler Thread - 6 - TradeShop/ERROR]: [TradeShop] com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 832 column 191 path $.l::world::-94.0::72.0::53.0.product[0].itemStack.meta.display-name
--------------------------------------------------------------------------------------
{
"l::world::-93.0::72.0::57.0": {
"shopLoc": {
"div": "::",
"worldName": "world",
"x": -93.0,
"y": 72.0,
"z": 57.0
},
"owner": {
"player": "2c2b6016-5f83-39fc-8d91-93fb0b3fd89d",
"role": "OWNER"
},
"managers": [],
"members": [],
"shopType": "TRADE",
"product": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "SPRUCE_LOG",
"amount": 32
},
"itemStackB64": null,
"itemSettings": {
"COMPARE_BOOK_PAGES": {
"value": true
},
"COMPARE_BOOK_AUTHOR": {
"value": true
},
"COMPARE_BUNDLE_INVENTORY": {
"value": true
},
"COMPARE_SHULKER_INVENTORY": {
"value": true
},
"COMPARE_ATTRIBUTE_MODIFIER": {
"value": true
},
"COMPARE_FIREWORK_DURATION": {
"value": true
},
"COMPARE_CUSTOM_MODEL_DATA": {
"value": true
},
"COMPARE_FIREWORK_EFFECTS": {
"value": true
},
"COMPARE_ENCHANTMENTS": {
"value": true
},
"COMPARE_DURABILITY": {
"value": 1.0
},
"COMPARE_LORE": {
"value": true
},
"COMPARE_ITEM_FLAGS": {
"value": true
},
"COMPARE_NAME": {
"value": true
},
"COMPARE_UNBREAKABLE": {
"value": true
}
}
}
],
"cost": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "IRON_INGOT",
"amount": 15
},
"itemStackB64": null,
"itemSettings": {
"COMPARE_BOOK_PAGES": {
"value": true
},
"COMPARE_BOOK_AUTHOR": {
"value": true
},
"COMPARE_BUNDLE_INVENTORY": {
"value": true
},
"COMPARE_SHULKER_INVENTORY": {
"value": true
},
"COMPARE_ATTRIBUTE_MODIFIER": {
"value": true
},
"COMPARE_FIREWORK_DURATION": {
"value": true
},
"COMPARE_CUSTOM_MODEL_DATA": {
"value": true
},
"COMPARE_FIREWORK_EFFECTS": {
"value": true
},
"COMPARE_ENCHANTMENTS": {
"value": true
},
"COMPARE_DURABILITY": {
"value": 1.0
},
"COMPARE_LORE": {
"value": true
},
"COMPARE_ITEM_FLAGS": {
"value": true
},
"COMPARE_NAME": {
"value": true
},
"COMPARE_UNBREAKABLE": {
"value": true
}
}
}
],
"chestLoc": {
"div": "::",
"worldName": "world",
"x": -93.0,
"y": 72.0,
"z": 58.0
},
"status": "OPEN",
"shopSettings": {
"NO_COST": {
"value": false
},
"HOPPER_EXPORT": {
"value": false
},
"HOPPER_IMPORT": {
"value": false
}
},
"availableTrades": 8
},
"l::world::-93.0::73.0::57.0": {
"shopLoc": {
"div": "::",
"worldName": "world",
"x": -93.0,
"y": 73.0,
"z": 57.0
},
"owner": {
"player": "2c2b6016-5f83-39fc-8d91-93fb0b3fd89d",
"role": "OWNER"
},
"managers": [],
"members": [],
"shopType": "TRADE",
"product": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "WHEAT_SEEDS",
"amount": 32
},
"itemStackB64": null,
"itemSettings": {
"COMPARE_BOOK_PAGES": {
"value": true
},
"COMPARE_BOOK_AUTHOR": {
"value": true
},
"COMPARE_BUNDLE_INVENTORY": {
"value": true
},
"COMPARE_SHULKER_INVENTORY": {
"value": true
},
"COMPARE_ATTRIBUTE_MODIFIER": {
"value": true
},
"COMPARE_FIREWORK_DURATION": {
"value": true
},
"COMPARE_CUSTOM_MODEL_DATA": {
"value": true
},
"COMPARE_FIREWORK_EFFECTS": {
"value": true
},
"COMPARE_ENCHANTMENTS": {
"value": true
},
"COMPARE_DURABILITY": {
"value": 1.0
},
"COMPARE_LORE": {
"value": true
},
"COMPARE_ITEM_FLAGS": {
"value": true
},
"COMPARE_NAME": {
"value": true
},
"COMPARE_UNBREAKABLE": {
"value": true
}
}
}
],
"cost": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "IRON_INGOT",
"amount": 3
},
"itemStackB64": null,
"itemSettings": {
"COMPARE_BOOK_PAGES": {
"value": true
},
"COMPARE_BOOK_AUTHOR": {
"value": true
},
"COMPARE_BUNDLE_INVENTORY": {
"value": true
},
"COMPARE_SHULKER_INVENTORY": {
"value": true
},
"COMPARE_ATTRIBUTE_MODIFIER": {
"value": true
},
"COMPARE_FIREWORK_DURATION": {
"value": true
},
"COMPARE_CUSTOM_MODEL_DATA": {
"value": true
},
"COMPARE_FIREWORK_EFFECTS": {
"value": true
},
"COMPARE_ENCHANTMENTS": {
"value": true
},
"COMPARE_DURABILITY": {
"value": 1.0
},
"COMPARE_LORE": {
"value": true
},
"COMPARE_ITEM_FLAGS": {
"value": true
},
"COMPARE_NAME": {
"value": true
},
"COMPARE_UNBREAKABLE": {
"value": true
}
}
}
],
"chestLoc": {
"div": "::",
"worldName": "world",
"x": -93.0,
"y": 73.0,
"z": 58.0
},
"status": "OPEN",
"shopSettings": {
"NO_COST": {
"value": false
},
"HOPPER_EXPORT": {
"value": false
},
"HOPPER_IMPORT": {
"value": false
}
},
"availableTrades": 9
},
"l::world::-96.0::72.0::57.0": {
"shopLoc": {
"div": "::",
"worldName": "world",
"x": -96.0,
"y": 72.0,
"z": 57.0
},
"owner": {
"player": "2c2b6016-5f83-39fc-8d91-93fb0b3fd89d",
"role": "OWNER"
},
"managers": [],
"members": [],
"shopType": "TRADE",
"product": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "WHEAT",
"amount": 32
},
"itemStackB64": null,
"itemSettings": {
"COMPARE_BOOK_PAGES": {
"value": true
},
"COMPARE_BOOK_AUTHOR": {
"value": true
},
"COMPARE_BUNDLE_INVENTORY": {
"value": true
},
"COMPARE_SHULKER_INVENTORY": {
"value": true
},
"COMPARE_ATTRIBUTE_MODIFIER": {
"value": true
},
"COMPARE_FIREWORK_DURATION": {
"value": true
},
"COMPARE_CUSTOM_MODEL_DATA": {
"value": true
},
"COMPARE_FIREWORK_EFFECTS": {
"value": true
},
"COMPARE_ENCHANTMENTS": {
"value": true
},
"COMPARE_DURABILITY": {
"value": 1
},
"COMPARE_LORE": {
"value": true
},
"COMPARE_ITEM_FLAGS": {
"value": true
},
"COMPARE_NAME": {
"value": true
},
"COMPARE_UNBREAKABLE": {
"value": true
}
}
}
],
"cost": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "IRON_INGOT",
"amount": 10
},
"itemStackB64": null,
"itemSettings": {
"COMPARE_BOOK_PAGES": {
"value": true
},
"COMPARE_BOOK_AUTHOR": {
"value": true
},
"COMPARE_BUNDLE_INVENTORY": {
"value": true
},
"COMPARE_SHULKER_INVENTORY": {
"value": true
},
"COMPARE_ATTRIBUTE_MODIFIER": {
"value": true
},
"COMPARE_FIREWORK_DURATION": {
"value": true
},
"COMPARE_CUSTOM_MODEL_DATA": {
"value": true
},
"COMPARE_FIREWORK_EFFECTS": {
"value": true
},
"COMPARE_ENCHANTMENTS": {
"value": true
},
"COMPARE_DURABILITY": {
"value": 1
},
"COMPARE_LORE": {
"value": true
},
"COMPARE_ITEM_FLAGS": {
"value": true
},
"COMPARE_NAME": {
"value": true
},
"COMPARE_UNBREAKABLE": {
"value": true
}
}
}
],
"chestLoc": {
"div": "::",
"worldName": "world",
"x": -96.0,
"y": 72.0,
"z": 58.0
},
"status": "OUT_OF_STOCK",
"shopSettings": {
"NO_COST": {
"value": false
},
"HOPPER_EXPORT": {
"value": false
},
"HOPPER_IMPORT": {
"value": false
}
},
"availableTrades": 2
},
"l::world::-96.0::73.0::57.0": {
"shopLoc": {
"div": "::",
"worldName": "world",
"x": -96.0,
"y": 73.0,
"z": 57.0
},
"owner": {
"player": "2c2b6016-5f83-39fc-8d91-93fb0b3fd89d",
"role": "OWNER"
},
"managers": [],
"members": [],
"shopType": "TRADE",
"product": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "COBBLESTONE",
"amount": 64
},
"itemStackB64": null,
"itemSettings": {
"COMPARE_FIREWORK_DURATION": {
"value": true
},
"COMPARE_NAME": {
"value": true
},
"COMPARE_CUSTOM_MODEL_DATA": {
"value": true
},
"COMPARE_LORE": {
"value": true
},
"COMPARE_FIREWORK_EFFECTS": {
"value": true
},
"COMPARE_SHULKER_INVENTORY": {
"value": true
},
"COMPARE_UNBREAKABLE": {
"value": true
},
"COMPARE_ATTRIBUTE_MODIFIER": {
"value": true
},
"COMPARE_ENCHANTMENTS": {
"value": true
},
"COMPARE_BOOK_AUTHOR": {
"value": true
},
"COMPARE_BOOK_PAGES": {
"value": true
},
"COMPARE_BUNDLE_INVENTORY": {
"value": true
},
"COMPARE_ITEM_FLAGS": {
"value": true
},
"COMPARE_DURABILITY": {
"value": 1
}
}
}
],
"cost": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "OAK_PLANKS",
"amount": 32
},
"itemStackB64": null,
"itemSettings": {
"COMPARE_FIREWORK_DURATION": {
"value": true
},
"COMPARE_NAME": {
"value": true
},
"COMPARE_CUSTOM_MODEL_DATA": {
"value": true
},
"COMPARE_LORE": {
"value": true
},
"COMPARE_FIREWORK_EFFECTS": {
"value": true
},
"COMPARE_SHULKER_INVENTORY": {
"value": true
},
"COMPARE_UNBREAKABLE": {
"value": true
},
"COMPARE_ATTRIBUTE_MODIFIER": {
"value": true
},
"COMPARE_ENCHANTMENTS": {
"value": true
},
"COMPARE_BOOK_AUTHOR": {
"value": true
},
"COMPARE_BOOK_PAGES": {
"value": true
},
"COMPARE_BUNDLE_INVENTORY": {
"value": true
},
"COMPARE_ITEM_FLAGS": {
"value": true
},
"COMPARE_DURABILITY": {
"value": 1
}
}
}
],
"chestLoc": {
"div": "::",
"worldName": "world",
"x": -96.0,
"y": 73.0,
"z": 58.0
},
"status": "INCOMPLETE",
"shopSettings": {
"HOPPER_IMPORT": {
"value": false
},
"HOPPER_EXPORT": {
"value": false
},
"NO_COST": {
"value": false
}
},
"availableTrades": 14
},
"l::world::-94.0::73.0::61.0": {
"shopLoc": {
"div": "::",
"worldName": "world",
"x": -94.0,
"y": 73.0,
"z": 61.0
},
"owner": {
"player": "dcc76e09-744e-340a-bd01-3754ef2390aa",
"role": "OWNER"
},
"managers": [],
"members": [],
"shopType": "TRADE",
"product": [],
"cost": [],
"chestLoc": {
"div": "::",
"worldName": "world",
"x": -94.0,
"y": 73.0,
"z": 60.0
},
"status": "INCOMPLETE",
"shopSettings": {
"HOPPER_IMPORT": {
"value": false
},
"HOPPER_EXPORT": {
"value": false
},
"NO_COST": {
"value": false
}
},
"availableTrades": 0
},
"l::world::-95.0::73.0::61.0": {
"shopLoc": {
"div": "::",
"worldName": "world",
"x": -95.0,
"y": 73.0,
"z": 61.0
},
"owner": {
"player": "dcc76e09-744e-340a-bd01-3754ef2390aa",
"role": "OWNER"
},
"managers": [],
"members": [],
"shopType": "TRADE",
"product": [],
"cost": [],
"chestLoc": {
"div": "::",
"worldName": "world",
"x": -95.0,
"y": 73.0,
"z": 60.0
},
"status": "INCOMPLETE",
"shopSettings": {
"HOPPER_IMPORT": {
"value": false
},
"HOPPER_EXPORT": {
"value": false
},
"NO_COST": {
"value": false
}
},
"availableTrades": 0
},
"l::world::-96.0::73.0::61.0": {
"shopLoc": {
"div": "::",
"worldName": "world",
"x": -96.0,
"y": 73.0,
"z": 61.0
},
"owner": {
"player": "dcc76e09-744e-340a-bd01-3754ef2390aa",
"role": "OWNER"
},
"managers": [],
"members": [],
"shopType": "TRADE",
"product": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "SANDSTONE",
"amount": 32
},
"itemStackB64": null,
"itemSettings": {
"COMPARE_CUSTOM_MODEL_DATA": {
"value": true
},
"COMPARE_NAME": {
"value": true
},
"COMPARE_BOOK_PAGES": {
"value": true
},
"COMPARE_SHULKER_INVENTORY": {
"value": true
},
"COMPARE_LORE": {
"value": true
},
"COMPARE_UNBREAKABLE": {
"value": true
},
"COMPARE_FIREWORK_DURATION": {
"value": true
},
"COMPARE_ENCHANTMENTS": {
"value": true
},
"COMPARE_BUNDLE_INVENTORY": {
"value": true
},
"COMPARE_ITEM_FLAGS": {
"value": true
},
"COMPARE_BOOK_AUTHOR": {
"value": true
},
"COMPARE_DURABILITY": {
"value": 1
},
"COMPARE_ATTRIBUTE_MODIFIER": {
"value": true
},
"COMPARE_FIREWORK_EFFECTS": {
"value": true
}
}
}
],
"cost": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "IRON_INGOT",
"amount": 8
},
"itemStackB64": null,
"itemSettings": {
"COMPARE_CUSTOM_MODEL_DATA": {
"value": true
},
"COMPARE_NAME": {
"value": true
},
"COMPARE_BOOK_PAGES": {
"value": true
},
"COMPARE_SHULKER_INVENTORY": {
"value": true
},
"COMPARE_LORE": {
"value": true
},
"COMPARE_UNBREAKABLE": {
"value": true
},
"COMPARE_FIREWORK_DURATION": {
"value": true
},
"COMPARE_ENCHANTMENTS": {
"value": true
},
"COMPARE_BUNDLE_INVENTORY": {
"value": true
},
"COMPARE_ITEM_FLAGS": {
"value": true
},
"COMPARE_BOOK_AUTHOR": {
"value": true
},
"COMPARE_DURABILITY": {
"value": 1
},
"COMPARE_ATTRIBUTE_MODIFIER": {
"value": true
},
"COMPARE_FIREWORK_EFFECTS": {
"value": true
}
}
}
],
"chestLoc": {
"div": "::",
"worldName": "world",
"x": -96.0,
"y": 73.0,
"z": 60.0
},
"status": "OPEN",
"shopSettings": {
"HOPPER_IMPORT": {
"value": false
},
"HOPPER_EXPORT": {
"value": false
},
"NO_COST": {
"value": false
}
},
"availableTrades": 13
},
"l::world::-94.0::72.0::53.0": {
"shopLoc": {
"div": "::",
"worldName": "world",
"x": -94.0,
"y": 72.0,
"z": 53.0
},
"owner": {
"player": "2c2b6016-5f83-39fc-8d91-93fb0b3fd89d",
"role": "OWNER"
},
"managers": [],
"members": [],
"shopType": "TRADE",
"product": [
{
"itemStack": {
"==": "org.bukkit.inventory.ItemStack",
"v": 3700,
"type": "DIAMOND_ORE",
"meta": {
"==": "ItemMeta",
"meta-type": "UNSPECIFIC",
"display-name": "{\"text\":\"\",\"extra\":[{\"text\":\"<---\",\"obfuscated\":false,\"italic\":false,\"underlined\":false,\"strikethrough\":true,\"color\":\"green\",\"bold\":false
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 832 column 191 path $.l::world::-94.0::72.0::53.0.product[0].itemStack.meta.display-name
at com.google.gson.internal.Streams.parse(Streams.java:61) ~[gson-2.10.1.jar:?]
at com.google.gson.JsonParser.parseReader(JsonParser.java:102) ~[gson-2.10.1.jar:?]
at com.google.gson.JsonParser.parseReader(JsonParser.java:70) ~[gson-2.10.1.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.loadFile(JsonConfiguration.java:115) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.loadFile(JsonShopConfiguration.java:145) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.<init>(JsonConfiguration.java:63) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.<init>(JsonShopConfiguration.java:51) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.DataStorage.lambda$getShopCountInWorld$10(DataStorage.java:237) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.4.jar:git-Paper-484]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.4.jar:git-Paper-484]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.4.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated string at line 832 column 191 path $.l::world::-94.0::72.0::53.0.product[0].itemStack.meta.display-name
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1659) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.nextQuotedValue(JsonReader.java:1044) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.nextString(JsonReader.java:826) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.TypeAdapters$28.readTerminal(TypeAdapters.java:747) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:791) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:725) ~[gson-2.10.1.jar:?]
at com.google.gson.internal.Streams.parse(Streams.java:49) ~[gson-2.10.1.jar:?]
... 13 more
[14:56:28] [Craft Scheduler Thread - 6 - TradeShop/WARN]: [TradeShop] Plugin TradeShop v2.6.1-STABLE generated an exception while executing task 31
java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonObject.entrySet()" because "this.jsonObj" is null
at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.loadFile(JsonShopConfiguration.java:147) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonConfiguration.<init>(JsonConfiguration.java:63) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.Json.JsonShopConfiguration.<init>(JsonShopConfiguration.java:51) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.shanerx.tradeshop.data.storage.DataStorage.lambda$getShopCountInWorld$10(DataStorage.java:237) ~[TradeShop-2.6.1-STABLE.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.4.jar:git-Paper-484]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.4.jar:git-Paper-484]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.4.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Plugin list
[15:09:38] [Server thread/INFO]: Bukkit Plugins: [15:09:38] [Server thread/INFO]: - BlockLocker, Chunky, ChunkyBorder, ClearLag, CommandPanels, CoreProtect, DeathChest, DiscordSRV, Essentials, EssentialsSpawn [15:09:38] [Server thread/INFO]: GUIAdminTools, LuckPerms, NeoPerformance, Passky, PlaceholderAPI, ProtectionStones, ProtocolLib, SkinsRestorer, spark, TabList [15:09:38] [Server thread/INFO]: TradeShop, WorldEdit, WorldGuard, YamipaPlugin
Actions to reproduce (if known)
TradeShop version and Minecraft version (CraftBukkit/Spigot/Paper/...)
1.20.4 git-Paper-484
Agreements
- [X] I have searched for and ensured there isn't already an open issue regarding this.
- [X] My version of Minecraft and TradeShop are supported by the TradeShop Dev Team (when in doubt, first ask on the Discord).
Other
No response