Posted December 9, 201410 yr hello guys, I have just updated my mod to 1.8, and of course I got some problems. I have solved most myself, but is a problem I don't know how to solve. The problem is: On random moments, (The most in my own dimension, but not always), minecraft just crashes. It seems to be something with entity rendering. Here is a crash report: ---- Minecraft Crash Report ---- // Don't do that. Time: 9-12-14 7:49 Description: Unexpected error java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) at java.util.HashMap$KeyIterator.next(HashMap.java:1453) at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:486) at net.minecraft.util.ClassInheritanceMultiMap$2.computeNext(ClassInheritanceMultiMap.java:125) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:615) at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1294) at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1207) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1032) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1048) at net.minecraft.client.Minecraft.run(Minecraft.java:345) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) at java.util.HashMap$KeyIterator.next(HashMap.java:1453) at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:486) at net.minecraft.util.ClassInheritanceMultiMap$2.computeNext(ClassInheritanceMultiMap.java:125) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:615) at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1294) at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1207) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityPlayerSP['Player369'/192, l='MpServer', x=1241,09, y=4,00, z=220,63]] Chunk stats: MultiplayerChunkCache: 625, 625 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: 1155,00,4,00,150,00 - World: (1155,4,150), Chunk: (at 3,0,6 in 72,9; contains blocks 1152,0,144 to 1167,255,159), Region: (2,0; contains chunks 64,0 to 95,31, blocks 1024,0,0 to 1535,255,511) Level time: 23328 game time, 23328 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Forced entities: 70 total; [EntityItem['item.tile.dirt.default'/122888, l='MpServer', x=1177,00, y=2,00, z=161,91], EntityXPOrb['Experience Orb'/105482, l='MpServer', x=1361,06, y=4,00, z=157,91], EntityXPOrb['Experience Orb'/105486, l='MpServer', x=1362,06, y=4,00, z=156,75], EntityXPOrb['Experience Orb'/105488, l='MpServer', x=1364,34, y=4,00, z=156,16], EntitySlime['Slime'/195629, l='MpServer', x=1240,50, y=4,00, z=148,88], EntityItem['item.tile.dirt.default'/122938, l='MpServer', x=1175,81, y=2,00, z=160,13], EntityZombie['Zombie'/92, l='MpServer', x=1178,38, y=4,00, z=183,44], EntitySpider['Spider'/96, l='MpServer', x=1165,41, y=4,00, z=208,06], EntityZombie['Zombie'/104, l='MpServer', x=1175,75, y=4,00, z=155,75], EntityZombie['Zombie'/105, l='MpServer', x=1173,53, y=4,00, z=144,78], EntityZombie['Zombie'/106, l='MpServer', x=1174,66, y=4,00, z=152,94], EntityZombie['Zombie'/107, l='MpServer', x=1175,88, y=4,00, z=156,78], EntityZombie['Zombie'/108, l='MpServer', x=1174,84, y=4,00, z=154,91], EntityLifeEye['Life Eye'/109, l='MpServer', x=1236,85, y=4,00, z=218,39], EntitySlime['Slime'/156271, l='MpServer', x=1208,34, y=4,02, z=280,47], EntityZombie['Zombie'/111, l='MpServer', x=1176,91, y=4,00, z=157,59], EntityZombie['Zombie'/112, l='MpServer', x=1176,59, y=4,00, z=154,41], EntityLifeEye['Life Eye'/113, l='MpServer', x=1237,99, y=4,00, z=218,96], EntityLifeEye['Life Eye'/114, l='MpServer', x=1179,16, y=3,91, z=157,09], EntityCreeper['Creeper'/116, l='MpServer', x=1169,41, y=4,00, z=166,88], EntityCreeper['Creeper'/117, l='MpServer', x=1184,66, y=4,00, z=172,47], EntitySpider['Spider'/118, l='MpServer', x=1221,75, y=4,00, z=207,84], EntityCreeper['Creeper'/119, l='MpServer', x=1182,81, y=4,00, z=213,61], EntitySpider['Spider'/121, l='MpServer', x=1189,13, y=4,00, z=217,41], EntitySpider['Spider'/122, l='MpServer', x=1193,97, y=4,00, z=221,32], EntitySpider['Spider'/123, l='MpServer', x=1193,66, y=4,00, z=224,00], EntitySkeleton['Skeleton'/137, l='MpServer', x=1201,88, y=4,00, z=154,66], EntitySpider['Spider'/138, l='MpServer', x=1229,49, y=4,00, z=217,27], EntitySpider['Spider'/146, l='MpServer', x=1233,86, y=4,00, z=211,94], EntityVillager['Villager'/154, l='MpServer', x=1268,00, y=5,00, z=199,09], EntityVillager['Villager'/155, l='MpServer', x=1279,47, y=6,00, z=195,50], EntityVillager['Villager'/156, l='MpServer', x=1266,91, y=5,00, z=200,06], EntityVillager['Villager'/158, l='MpServer', x=1292,50, y=5,00, z=177,69], EntityVillager['Villager'/159, l='MpServer', x=1291,66, y=5,00, z=176,66], EntityVillager['Villager'/160, l='MpServer', x=1280,06, y=5,00, z=189,50], EntityVillager['Villager'/161, l='MpServer', x=1293,00, y=5,00, z=176,09], EntityVillager['Villager'/162, l='MpServer', x=1292,38, y=5,00, z=175,19], EntityVillager['Villager'/165, l='MpServer', x=1307,47, y=7,00, z=189,69], EntityVillager['Villager'/166, l='MpServer', x=1307,47, y=6,00, z=188,56], EntityVillager['Villager'/169, l='MpServer', x=1301,28, y=5,00, z=204,25], EntityVillager['Villager'/170, l='MpServer', x=1302,38, y=5,00, z=204,09], EntityVillager['Villager'/171, l='MpServer', x=1301,28, y=5,00, z=205,19], EntityVillager['Villager'/173, l='MpServer', x=1315,81, y=5,00, z=190,66], EntityVillager['Villager'/176, l='MpServer', x=1316,69, y=5,00, z=191,91], EntityVillager['Villager'/178, l='MpServer', x=1315,44, y=5,00, z=192,09], EntityBlood['entity.Blood.name'/205019, l='MpServer', x=1240,00, y=5,25, z=218,75], EntityBlood['entity.Blood.name'/205018, l='MpServer', x=1239,44, y=4,00, z=221,00], EntityBlood['entity.Blood.name'/205016, l='MpServer', x=1240,19, y=4,97, z=219,81], EntityBlood['entity.Blood.name'/205023, l='MpServer', x=1241,47, y=4,00, z=218,63], EntityBlood['entity.Blood.name'/205021, l='MpServer', x=1239,06, y=4,00, z=219,44], EntityItem['item.tile.dirt.default'/122616, l='MpServer', x=1176,25, y=1,00, z=161,88], EntityCreeper['Creeper'/30981, l='MpServer', x=1217,78, y=4,00, z=185,44], EntityCreeper['Creeper'/30985, l='MpServer', x=1224,50, y=4,00, z=168,50], EntityCreeper['Creeper'/30986, l='MpServer', x=1222,63, y=4,00, z=160,97], EntityZombie['Zombie'/30990, l='MpServer', x=1232,33, y=4,00, z=214,19], EntityItem['item.tile.dirt.default'/122655, l='MpServer', x=1175,06, y=3,00, z=162,88], EntitySlime['Slime'/190241, l='MpServer', x=1251,83, y=4,07, z=242,83], EntitySkeleton['Skeleton'/31014, l='MpServer', x=1191,41, y=4,00, z=173,16], EntityCreeper['Creeper'/31058, l='MpServer', x=1193,50, y=4,00, z=215,50], EntitySkeleton['Skeleton'/31059, l='MpServer', x=1183,00, y=4,00, z=218,06], EntitySpider['Spider'/31088, l='MpServer', x=1181,72, y=4,00, z=164,78], EntityItem['item.tile.dirt.default'/122249, l='MpServer', x=1176,78, y=2,00, z=163,13], EntityZombie['Zombie'/31113, l='MpServer', x=1234,29, y=4,00, z=216,69], EntitySlime['Slime'/158091, l='MpServer', x=1265,22, y=4,00, z=252,28], EntityItem['item.tile.dirt.default'/122773, l='MpServer', x=1178,88, y=2,00, z=160,50], EntityItem['item.tile.dirt.default'/122260, l='MpServer', x=1178,88, y=2,00, z=163,28], EntitySlime['Slime'/126386, l='MpServer', x=1159,57, y=4,28, z=188,74], EntityPlayerSP['Player369'/192, l='MpServer', x=1171,28, y=4,00, z=143,76], EntityPlayerSP['Player369'/192, l='MpServer', x=1241,09, y=4,00, z=220,63], EntityItem['item.tile.dirt.default'/122356, l='MpServer', x=1177,66, y=2,00, z=163,22]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:350) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2488) at net.minecraft.client.Minecraft.run(Minecraft.java:374) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) -- System Details -- Details: Minecraft Version: 1.8 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_05, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 733499976 bytes (699 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.10 FML v8.0.12.1260 Minecraft Forge 11.14.0.1260 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{8.0.12.1260} [Forge Mod Loader] (forgeSrc-1.8-11.14.0.1260-1.8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{11.14.0.1260} [Minecraft Forge] (forgeSrc-1.8-11.14.0.1260-1.8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available knokkorpg{0.0.0} [Knokko RPG] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.8 LWJGL: 2.9.1 OpenGL: Intel® HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.3621, Intel GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: No Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Does anybody understand what goes wrong? I can hardly play and update my mod on this way.
December 9, 201410 yr Author The ChunkPrimer wasn't as difficult as I thought. It is actually easier than the previous way in 1.7. But WorldData doesn't save anything and my game still crashes on random moments with almost the same report as I posted. It is probably something with particles, but I don't want to remove everything that spawns particles.
December 10, 201410 yr Author I think I know the problem: I am saving data in a tag saved as the players UUID. In 1.7.10 I always played with ForgeDevName, but now I am playing with many different players while testing in eclipse. So I always join with another UUID. And about my other problem: It is really difficult to solve because I can't edit the base codes. Does anybody know how I could solve the random crashes?
December 10, 201410 yr Do you mean you can't "view" the base codes? Because you certainly should not be editing them, it is deliberate that you cannot. If you can't view the code, it might be a workspace issue; you might try carefully stepping through the setup process again. As far as your random crashes, ConcurrentModificationExceptions are typically caused by modifying an iterable collection while still traversing it. Is there any place where you're editing some form of Collection at the same time as you (or some other vanilla code) is iterating through it?
December 10, 201410 yr Author I can view the base codes easily, but I can't edit them. Otherwise I would put it in a try statement and I should be done. I am not doing anything with iterators, I am only spawning large numbers of particles, and minecraft sometimes fails to render them and the game crashes than.
December 12, 201410 yr Author Sometimes, minecraft forge edits the base codes of minecraft. Would they solve this problem for me if I just ask? I have never wanted to do something with the base codes, but I see no better solution for this problem. Shall I ask it to the authors of minecraft forge?
December 12, 201410 yr Author But why is the crash on the client? And why was nothing wrong in 1.7.10? And the crash is after spawning the particles, and not directly. That's why it is so difficult to solve.
December 12, 201410 yr Author Isn't it very easy for minecraftforge to solve this? Wouldn't a simple try/catch solve this? The chance of crashing seems to be very small, so it doesn't always fail.
December 12, 201410 yr Author I thought the render should fail the current tick, and it would go better the tick after it. In that case, ignoring would be better than crashing. But if the problem is not going to solve itself... Than this will be a big problem.
December 12, 201410 yr Author I have allready readed what it is. But I didn't understand it completely, I think it means that an important collection is modified. But anyway: I believe I will have to wait until minecraft forge solve this problem and just do something else until than. I don't think I can do anything.
December 12, 201410 yr Author This helps understanding it. So I can't help it really and I just have to wait for minecraft forge to solve this?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.