Bobby

Bobby

4M Downloads

IllegalArgumentException: Multiple entries with same key

TheChroniclerDelta opened this issue ยท 6 comments

commented

While playing on a server I play on a lot. The game crashed upon stepping on a single block, that being x:-3153, z:9. Generally, the surrounding blocks do not crash the game, although others still do. I can only assume, since this crash doesn't happen when Bobby is disabled, that bobby's region files were improperly created and ended up putting two blocks in the same place, which Minecraft couldn't handle when stood upon.
The first file is the crash report Minecraft gave when the game crashed. The second file is actually a Java crash file, as when the error happened, Java itself crashed with an EXCEPTION_ACCESS_VIOLATION. Both of these files were created at the same time one after the other, so I can only assume the two are related.

Minecraft Crash Report:
crash-2022-07-11_08.34.40-client.txt
Java Crash Log:
hs_err_pid23484.log

commented

You do not load block enteties in fake chunks. Which is great for chests, barrels and other such shenaniganry...
Not great on a server that has lots of shulkers that get moved around a lot, and a massive 6k+ map.... ;)
Not had a crash since I turned "Disable block entities" off.

I just hit this same crash using 1.20.4 (connecting to a paperspigot 1.19.x server) and went in and investigated the coordinates and it really, really didn't seem plausible that there was ever a shulker box placed at the coordinates specified.

Then while I was testing I noticed this list of shulker boxes I could IMAGINE being related pop up in the logs (without crashing), and so I went and investigated THOSE and a couple very much also did not seem like they could ever have been shulker boxes. Random off-the-beaten-path otherwise unaltered caves with netherrack in their current locations. At this point I'm definitely leaning towards an artifact of some other server plugin, like, tapping in to shulker box code to do something for some reason, but we're running entirely too many things for me to feel like checking:

Plugins (83): AdminHunt, ArtsNCrafts, BeastMaster, BlockStore, Citizens, CleanroomGenerator, ClickableLinks, CommandBlock, CommandHelper, Doppelganger, DragonFight, dynmap, EasyRider, EasySigns, EntityControl, EntityMeta, FreedomChat, GoneBatty, HeadDatabase, HelpHelp, HolographicDisplays, HyperCarts, ImageOnMap, InventoryRollback-Continued, ItemLocker, ItsATrap, KeepBabyMobs, KitchenSink, LastSeen, LibsDisguises, LimitSpawnEggs, LogBlock, LolNeigh, LolNo, LuckPerms, LWC, MaskOfFutures, MobLimiter, ModMode, ModReq, Multiverse-Core, NBTAPI, NerdAFK, NerdAlert, NerdBoard, NerdClanChat, NerdFlags, NerdList, NerdMessage, NerdOre, NerdPlot, NerdPoints, NerdSpawn, NerdUsage, NerdVisit, NoCheatPlus, OpenInv, ProtocolLib, PvPToggle, RecipeManager, RedstoneClockDetector, RFChairs, SafeBuckets, SafeCrystals, spark, StandMaster9000, TPControl, Trampoline, TrancePing, VanishNoPacket, Vault, VehicleControl, ViaBackwards, ViaVersion, ViewDistanceTweaks, VillagerUtils, WanderingTrades, WingCommander, WorldBorder, WorldEdit, WorldEditSelectionVisualizer, WorldGuard, WorldGuardExtraFlags

@Jorrdann12341 I do see this is a two year old reply but I have to ask, do you still have access to the server you mention? and does it have an equivalent of a (for example) /plugins that would let you check against this giant list (if willing)?

commented

Just in case, here are Pastebin versions of both reports:
Minecraft: https://pastebin.com/9iavZTK1
Java: https://pastebin.com/mqLdafMQ

commented

If you create a replay of you stepping on that block while bobby is disabled, and then enable bobby and view the replay, does that trigger the crash as well? If so, could you attach the replay so I can hopefully reproduce it?

commented

Hi Johni, I can confirm I am on the same server and have the exact same issue.

If you create a replay of you stepping on that block while bobby is disabled, and then enable bobby and view the replay, does that trigger the crash as well? If so, could you attach the replay so I can hopefully reproduce it?

I can confirm I have the same bug and it is NOT when you walk over the block, but seemingly when it renders.

Furthermore Class_2627 seems to be a shulker box and there are 2 instances of it? But when I go to any location (and there are many) that this occurs on the server, there is no such shulker (or any signs there ever was) a shulker there.

commented

I can confirm I am on the same server and have the exact same issue.

But I'm not. That's why I asked for a replay so I can hopefully reproduce the issue using that. In case you don't know what I mean by replay, it's this mod which allows you to record and replay multiplayer (and singleplayer) sessions (I know OP knows because they have it installed).

Furthermore Class_2627 seems to be a shulker box and there are 2 instances of it? But when I go to any location (and there are many) that this occurs on the server, there is no such shulker (or any signs there ever was) a shulker there.

That's about as much as I could gather from the log as well. My guess is that it's either some kind of anti-cheat artifact or an artifact of some other server feature. If that's indeed the case (and it's not just some sort of really weird client-side issue), then it should show up on replays as well.

commented

That's about as much as I could gather from the log as well. My guess is that it's either some kind of anti-cheat artifact or an artifact of some other server feature. If that's indeed the case (and it's not just some sort of really weird client-side issue), then it should show up on replays as well.

Nope. I figured it out through trial and error.

You do not load block enteties in fake chunks. Which is great for chests, barrels and other such shenaniganry...

Not great on a server that has lots of shulkers that get moved around a lot, and a massive 6k+ map.... ;)

Not had a crash since I turned "Disable block entities" off.

Dunno if there's a work around or not on ur end. But I'd be my final dollar that's what's caused it.

Either way my crashes have stopped and I can enjoy your amazing mod.

Enjoy the bug fixing <3