Villager Market

Villager Market

3M Downloads

CTD while using villager market

aktanoorde opened this issue ยท 3 comments

commented

Hello!
[This is all occuring in enigmatica 2. I've added a few mods, my modlist is attached.]
So, I'm receiving the same issue as previous that was closed. I am receiving consistent CTDs when using the villager market. It doesn't happen unless I do multiple trades in the window without closing it. Doesn't seem to matter if I use the single or the max trade button. Seems to be connected to trades refreshing as I'm using the market block.

I have a platform next to a 3x3x4 pit full of villagers. The market block is next to me on my platform. There's a 3x3 of cyclic noise cancelers above the villager pit. The variety of villagers I trade with does not seem to matter. They are spawned from a "Soul Shards Respawn" soul cage. I will try to replicate this with spawn egg and/or naturally generated villagers in an actual village if you think it'll make a difference.

I've attached a diagram explaining my setup (it's crappy mspaint, sorry), screenshots of my actual setup, my modlist, and two crashlogs. The cause of the crash is repeatedly "java.util.ConcurrentModificationException".

Let me know if you need me to get you anything else or replicate stuff for you under different conditions. I really love your mod and appreciate the effort you put into it, so I'm happy to help however I can.

crappymspaint enigmatica 2 villager market crash

2019-08-30_11 59 41
2019-08-30_11 59 57
2019-08-30_11 59 31
2019-08-30_11 59 51
2019-08-30_12 00 05
2019-08-30_11 59 37
e2 modlist
crash-2019-08-22_15.04.22-client.txt
crash-2019-08-30_11.41.38-client.txt

commented

I believe I'm having this same issue.

  • Minecraft version: 1.12.2
  • Forge version: forge-1.12.2-14.23.5.2838-universal
  • Modpack version (links to current modlist): 1.7.4
  • Mod versions: villager-market-1.12.2-1.0.1

Crash log: https://paste.dimdev.org/avipevayok.mccrash

And here's an image of the screen after the crash occurred. VanillaFix tried to prevent a full CTD but it created this bizarre flickering mess:
crash

At this point I had not done any trades whatsoever with the present villagers. I suspect that the issue was either due to there being too many villagers to render, or because one of the modded villagers in my pack was somehow incompatible?

Please let me know if I can provide any other information :) Thanks for your time!

commented

I'm experiencing the same issue. I can't find the logs anymore, but it was a ConcurrentModificationException crashing Minecraft when I opened the villager market UI. I had used it succesfully before with the exact same group of villagers, but when I opened it this time, I got an empty list for a few seconds (like katubug's screenshot), then a crash.

commented

This is what I got or part of it any way

`// But it works on my machine.

Time: 1/31/20 12:57 AM
Description: Rendering screen

java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.util.ArrayList$Itr.next(Unknown Source)
at net.ndrei.villagermarket.VillagerMarketContainer.getRecipes(VillagerMarketContainer.java:118)
at net.ndrei.villagermarket.VillagerMarketScreen.getRecipes(VillagerMarketScreen.java:295)
at net.ndrei.villagermarket.VillagerMarketScreen.access$400(VillagerMarketScreen.java:24)
at net.ndrei.villagermarket.VillagerMarketScreen$2.getSize(VillagerMarketScreen.java:153)
at net.minecraftforge.fml.client.GuiScrollingList.drawScreen(GuiScrollingList.java:211)
at net.ndrei.villagermarket.VillagerMarketScreen.func_146976_a(VillagerMarketScreen.java:315)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:75)
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396)
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1124)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Client thread
Stacktrace:
at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.util.ArrayList$Itr.next(Unknown Source)
at net.ndrei.villagermarket.VillagerMarketContainer.getRecipes(VillagerMarketContainer.java:118)
at net.ndrei.villagermarket.VillagerMarketScreen.getRecipes(VillagerMarketScreen.java:295)
at net.ndrei.villagermarket.VillagerMarketScreen.access$400(VillagerMarketScreen.java:24)
at net.ndrei.villagermarket.VillagerMarketScreen$2.getSize(VillagerMarketScreen.java:153)
at net.minecraftforge.fml.client.GuiScrollingList.drawScreen(GuiScrollingList.java:211)
at net.ndrei.villagermarket.VillagerMarketScreen.func_146976_a(VillagerMarketScreen.java:315)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:75)
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396)
`