Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

---- 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'

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!";

}

GameRegistry.registerWorldGenerator(eventmanager());
}


private IWorldGenerator eventmanager() {
// TODO Auto-generated method stub
return null;
}

null isn't a valid answer. Try again.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.