Posted February 8, 201411 yr ---- Minecraft Crash Report ---- // Don't be sad. I'll do better next time, I promise! Time: 2/7/14 11:58 PM Description: Exception in server tick loop java.lang.NullPointerException at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:94) at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:259) at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1253) at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:153) at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:294) at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90) at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:107) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:583) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.6.4 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_45, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 399737936 bytes (381 MB) / 519438336 bytes (495 MB) up to 1056309248 bytes (1007 MB) JVM Flags: 4 total; -Xincgc -Xmx1024M -Xms512M -XX:+HeapDumpOnOutOfMemoryError AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 2, tcache: 0, allocated: 1, tallocated: 63 FML: MCP v8.11 FML v6.99.19.964 Minecraft Forge 9.11.1.964 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available FML{6.99.19.964} [Forge Mod Loader] (forge-1.6.4-9.11.1.964-mcp.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available Forge{9.11.1.964} [Minecraft Forge] (forge-1.6.4-9.11.1.964-mcp.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available LotsofCoals{1.0.0} [Lots of Coals] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 0 / 8; [] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge'
February 8, 201411 yr No code, no help. if (user.hasKnowledgeOfJava) { if (user.question.hasCode) { return interpetHelpfulResponse(user.getQuestion()); } else { return "Could you post your code please?"; } } else { return "Learn some freaking Java!"; }
February 8, 201411 yr Author Here's the code. https://github.com/chasingfirehpps/Anthracite-ore-code/tree/master
February 8, 201411 yr GameRegistry.registerWorldGenerator(eventmanager()); } private IWorldGenerator eventmanager() { // TODO Auto-generated method stub return null; } null isn't a valid answer. Try again.
February 8, 201411 yr Hi Odd error, haven't see that one before. Try adding a breakpoint here and then seeing why world is null, that is very unusual. Do you know how to use the debugger? If not there's a good introduction here... http://www.vogella.com/tutorials/EclipseDebugging/article.html It appears that something is wrong with the ChunkProviderServer, it's worldObj hasn't been initialised properly? public static void generateWorld(int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { long worldSeed = world.getSeed(); // breakpoint here Random fmlRandom = new Random(worldSeed); I'd be willing to bet it is something to do with your IWorldGenerator I can't say much more than that because I've never tried world generation, but I'd suggest going over the tutorial(s) again because I think you've missed something. -TGG
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.