Open banjomarx opened 10 years ago
my custom gen files http://pastie.org/9620916 http://pastie.org/9620917 http://pastie.org/9620919 http://pastie.org/9620920 http://pastie.org/9620922 http://pastie.org/9620923 http://pastie.org/9620926 http://pastie.org/9620927 http://pastie.org/9620929 http://pastie.org/9620931 http://pastie.org/9620932 http://pastie.org/9620934 http://pastie.org/9620936 http://pastie.org/9620938 http://pastie.org/9620939 http://pastie.org/9620940 http://pastie.org/9620941 http://pastie.org/9620942 http://pastie.org/9620944 wow ok that was alot i also modded the vanilla biomes by removing their resources and then making them all inherit Gloomland
oh also reika said The problem was caused by something screwing with the code. Line 332 is "array.place();", which can never be null in the code as it stands.
Yeah, it's impossible that array is null. This means that the error occured on an older version of ChromatiCraft. I suspect it's this line. Would you know where the tile entity is normally set?
Edit: fixed link.
hmmmm as far a i know the modpack owner also had the same crash after updating yesterday and trying the same thing, ill have him send me the log to make sure its the same but he told me it was
It sets the tile entity in the line above:
world.setBlock(x, y+9, z, ChromaTiles.PYLON.getBlock(), ChromaTiles.PYLON.getBlockMetadata(), 3);
Apparently, Minecraft doesn't set the tile entity sometimes. The method is so complex that it is difficult to determine when this happens.
@ReikaKalseki You can create the tile entity yourself.
TileEntityCrystalPylon te = (TileEntityCrystalPylon)world.getTileEntity(x, y+9, z);
would then be replaced with
TileEntityCrystalPylon te = new TileEntityCrystalPylon();
world.setTileEntity(x, y+9, z, te);
That is a very dangerous way to place TileEntities, especially during worldgen.
My knowledge of tile entities is lacking. I tried to find a source for that claim, but I can't find it. How is it dangerous? The current method returns null sometimes, which also isn't really safe...
Terrain Control doesn't modify the world code at all. It's possible that it is corrupting the world data, but I doubt it.
I found another crash report, this one has Terrain Control installed too and points to the same line in ChromatiCraft, but has a different stack trace.
TileEntities and the world's cache of them do not initialize properly when hard-set like that. Also, it opens up the possibility of a block/tile mismatch, which is absolutely fatal.
so i talked to reika about this and he said that problem is "A variable whose value is explicitly set is somehow null. No idea why." this only happens with ONE of my world gens, even tho i have the same mods in all of them.
---- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward.
Time: 9/30/14 1:33 PM Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop at Reika.ChromatiCraft.World.PylonGenerator.generatePylon(PylonGenerator.java:332) at Reika.ChromatiCraft.World.PylonGenerator.tryForceGenerate(PylonGenerator.java:158) at Reika.ChromatiCraft.World.PylonGenerator.generate(PylonGenerator.java:143) at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:106) at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:280) at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1055) at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190) at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131) at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:101) at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:265) at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:78) at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:92) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_11, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 915650376 bytes (873 MB) / 2229645312 bytes (2126 MB) up to 3133997056 bytes (2988 MB) JVM Flags: 17 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3072m -XX:MaxPermSize=256m -XX:+AggressiveOpts -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=2048m -XX:CompileThreshold=1000 -XX:+TieredCompilation -XX:+UseLargePages -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:+UseBiasedLocking -Xincgc -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=10 -XX:+DisableExplicitGC AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.25.1208 Minecraft Forge 10.13.0.1208 185 mods loaded, 185 mods active mcp{9.05} Minecraft Coder Pack Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available FML{7.10.25.1208} Forge Mod Loader Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available Forge{10.13.0.1208} Minecraft Forge Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available appliedenergistics2-core{rv1-beta-37} AppliedEnergistics2 Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available CodeChickenCore{1.0.2.9} CodeChicken Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available