1.5.0: Crashes Generating new Chunks

  • This section is closed. Please do bug reports over at the FTB GitHub repos.
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

mellamokb

New Member
Jul 29, 2019
25
0
0
Version:
1.5.0

What is the bug:
I am getting crashes generating new chunks in a biomes o'plenty world. I have made the following changes to a default modpack install:

- Added FastLeafDecay - 1.7.10-1.1
- Added Iguana's Tinker Tweaks 1.7.10-2.1.5
- Added OptiFine 1.7.10 HD Ultra C1
- Added powersuits addons 1.7.10-905
- Added ShadersModCore v2.3.28-mc1.7.10-f
- Added Wawla - 1.1.1_1.7.10
- Using matmos sound pack and 32x32 FaithfulPack texture pack

I don't think any of those mods would cause the error, but I am listing them just in case. I have received all 5 of these errors in a single day in about 4-5 hours of playtime. All of these resulted in a crash of MC, and all of them while I was wandering around generating new chunks in my (SP/LAN) world. If I just restart MC and open the world, everything is fine again.
  1. java.lang.NullPointerException: Exception generating new chunk
  2. java.lang.NullPointerException: Invalid Biome id
  3. java.lang.ArrayIndexOutOfBoundsException: 199286
  4. java.lang.ArrayIndexOutOfBoundsException: 159224
  5. java.lang.ArrayIndexOutOfBoundsException: 73426

Mod & Version:
Biomes O'Plenty 2.1.0.1067

Paste.feed-the-beast.com log:


Can it be repeated:
I have not been able to determine a common cause. It seems to happen randomly, and I can generate many new chunks without a problem prior to the crash.

Known Fix:
 

mellamokb

New Member
Jul 29, 2019
25
0
0
Sure.

OS - Windows 10, 64-bit, build 10240
PC - i5-2500, 16GB DDR3, GeForce GTX 970, 240 GB SSD
MC - Java 8u45 (64-bit), 4GB max allocated - that should show in the pasted logs.
 

Trisscar

New Member
Jul 29, 2019
974
0
0
M'k, that should all be okay, though I rage at Win10 out of sheer principle.
Someone mentioned something recently about having less issues loading chunks if they were in peaceful mode, because it stopped mob spawns which apparently took up a large amount of processing compared to everything else, so that might be something to try.
I'd also suggest removing Optifine if you can, and trying fastcraft if you really need it to be able to run the game. Optifine has a tendency to cause issues if the pack it's put into wasn't built around it being there in the first place.
Fastleafdecay might be messing with some of the bigger trees when they gen, so that should likely be disabled while testing.
I doubt the rest of the mods added are causing issues.
The second crash report specifies which chunk is the issue;
x: 16
z: 1808
w: 16
h: 16
Go see what biome that is please?
 

mellamokb

New Member
Jul 29, 2019
25
0
0
At x=16, z=1808 it is a Bamboo Forest, along with a area surrounding it which I had already explored. Not sure why it would trigger on that specific chunk. Also, the error is pretty random. I can usually generate hundreds of chunks without a problem before triggering the error.

I can try removing Optifine and Fastleafdecay and play for awhile and see if I am able to trigger the issue.

Edit: OK, I was able to reproduce the error even with Optifine and Fastleafdecay both disabled. Attached copy of the log. It was an ArrayIndexOutOfBoundsException again.

Time: 9/21/15 10:40 PM
Description: Exception preparing structure feature

java.lang.ArrayIndexOutOfBoundsException: 122511
at biomesoplenty.common.world.layer.GenLayerSubBiome.func_75904_a(GenLayerSubBiome.java:44)
at net.minecraft.world.gen.layer.GenLayerRareBiome.func_75904_a(SourceFile:13)
at net.minecraft.world.gen.layer.GenLayerZoom.func_75904_a(SourceFile:20)
at net.minecraft.world.gen.layer.GenLayerAddIsland.func_75904_a(SourceFile:16)
at net.minecraft.world.gen.layer.GenLayerZoom.func_75904_a(SourceFile:20)
at biomesoplenty.common.world.layer.GenLayerShoreBOP.func_75904_a(GenLayerShoreBOP.java:22)
at net.minecraft.world.gen.layer.GenLayerZoom.func_75904_a(SourceFile:20)
at net.minecraft.world.gen.layer.GenLayerZoom.func_75904_a(SourceFile:20)
at net.minecraft.world.gen.layer.GenLayerSmooth.func_75904_a(SourceFile:15)
at biomesoplenty.common.world.layer.GenLayerRiverMixBOP.func_75904_a(GenLayerRiverMixBOP.java:34)
at buildcraft.energy.worldgen.GenLayerBiomeReplacer.func_75904_a(GenLayerBiomeReplacer.java:51)
at buildcraft.energy.worldgen.GenLayerBiomeReplacer.func_75904_a(GenLayerBiomeReplacer.java:51)
at net.minecraft.world.biome.WorldChunkManager.func_76940_a(WorldChunkManager.java:183)
at net.minecraft.world.gen.structure.MapGenVillage.func_75047_a(SourceFile:61)
at net.minecraft.world.gen.structure.MapGenStructure.func_151538_a(MapGenStructure.java:38)
at net.minecraft.world.gen.MapGenBase.func_151539_a(SourceFile:30)
at net.minecraft.world.gen.ChunkProviderGenerate.func_73154_d(ChunkProviderGenerate.java:221)
at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:172)
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131)
at net.minecraft.server.management.PlayerManager$PlayerInstance.<init>(PlayerManager.java:370)
at net.minecraft.server.management.PlayerManager.func_72690_a(PlayerManager.java:97)
at net.minecraft.server.management.PlayerManager.func_72691_b(PlayerManager.java:174)
at net.minecraft.server.management.PlayerManager.func_72685_d(PlayerManager.java:267)
at net.minecraft.server.management.ServerConfigurationManager.func_72358_d(ServerConfigurationManager.java:313)
at net.minecraft.network.NetHandlerPlayServer.func_147347_a(NetHandlerPlayServer.java:404)
at net.minecraft.network.play.client.C03PacketPlayer.func_148833_a(SourceFile:137)
at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.func_148833_a(SourceFile:20)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
 

Attachments

  • fml-client-latest-20150921.2242.txt
    2.7 MB · Views: 190
Last edited:

Trisscar

New Member
Jul 29, 2019
974
0
0
Mk, internet searching the rare biome/genlayersubbiome thing said that someone got it from Tolkiencraft JVM arguments while they were playing another pack altogether. Have you changed any arguments on your end recently?
 

mellamokb

New Member
Jul 29, 2019
25
0
0
I did not modify JVM arguments beyond the defaults generated by Curse. This is the first modpack I've played where I've seen this specific error. I am noticing in the F3 screen that 90% of memory is used, so I am going to try allocating 6GB to MC instead of the default of 4GB -- I am using a custom 32x32 texture pack (FaithfulPack) and the Matmos sound engine so both of those would consume a fair amount of memory. Could be a simple case of memory pressure leading to corrupted memory.
 

Trisscar

New Member
Jul 29, 2019
974
0
0
Kk, remember that you have to change the memory in the curse settings, rather than adding them to the string in the profile for the pack in the launcher, for them to stick around for more than one session.