ChestShop-authors / ChestShop-3

ChestShop - the chest & sign shop plugin for Minecraft Servers running Bukkit/Spigot/Paper
https://dev.bukkit.org/projects/chestshop
GNU Lesser General Public License v2.1
275 stars 176 forks source link

Huge error when /ChestShop:ItemInfo on Brewery Drink #456

Closed Strahilchu closed 3 years ago

Strahilchu commented 3 years ago

Plugin Version

3.12 (build 307)

Plugin Config

Default

Server Version

Airplane version git-Airplane-"4144b28" (MC: 1.16.5)

Server Log

Log ``` [[13:58:04] [Server thread/INFO]: RCCrafters issued server command: /chestshop:iteminfo [13:58:04] [Server thread/ERROR]: Could not pass event ItemInfoEvent to ChestShop v3.12 (build 307) java.lang.StackOverflowError: null at java.lang.String.indexOf(String.java:1621) ~[?:?] at java.lang.String.indexOf(String.java:1578) ~[?:?] at com.Acrobot.ChestShop.Libs.Kyori.adventure.text.serializer.legacy.LegacyComponentSerializerImpl.determineFormatType(LegacyComponentSerializerImpl.java:131) ~[?:?] at com.Acrobot.ChestShop.Libs.Kyori.adventure.text.serializer.legacy.LegacyComponentSerializerImpl.decodeTextFormat(LegacyComponentSerializerImpl.java:153) ~[?:?] at com.Acrobot.ChestShop.Libs.Kyori.adventure.text.serializer.legacy.LegacyComponentSerializerImpl.deserialize(LegacyComponentSerializerImpl.java:223) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:207) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:255) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:255) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:255) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:255) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:255) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:255) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:255) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:255) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:255) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:255) ~[?:?] at com.Acrobot.ChestShop.Libs.MineDown.Replacer.replaceIn(Replacer.java:187) ~[?:?]] ```

What other plugins are you running?

AntiXrayHeuristics, AutomatedCrafting, BetterTeams, BettingGames, BottledExp, Brewery, ChestShop, Chunky, ChunkyBorder, CMI, CMIEInjector, CMILib, CrazyAuctions, CryptoMarket, CustomWings, DualWield, Elevator, GCoreLegacy, GSit, HeadDatabase, ImageMaps, InventorySaver, Jobs, LuckPerms, MarriageMaster, mcMMO, Minepacks, MiniBoardGames, MobFarmManager, Pl3xMap, ProtocolLib, SpecializedCrates, Spleef, Stocks, SurvivalInvisiframes, TempFly, TogglePVP, TradeMe, TryMe, Vault, ViaVersion, Vulcan, WorldEdit, WorldGuard, WorldGuardExtraFlags

What is happening?

Brewery adds Alcohol to the game, when holding a brew and doing /ChestShop:ItemInfo it throws a near endless error (I only posted 5% of it because its all the same after a few lines) This error did not happen on previous ChestShop version! It still displays the iteminfo in chat, the only problem is the huge console spam.

What did you expect to happen?

No console error

Phoenix616 commented 3 years ago

Can you please provide the NBT data of one such item for me to test it with?

Phoenix616 commented 3 years ago

Duplicate of #454