Minecraft test client crashes when mob spawns

4 posts / 0 new
Last post
Offline
Last seen: 2 years 1 month ago
Joined: 08/22/2015 - 00:54
Gems: 0
Minecraft test client crashes when mob spawns

Hi all,

I've made a mob, but whenever I start my test world (on the test client) and it spawns, the game crashes. This is what the crash report gave me:

Spoiler: Highlight to view
---- Minecraft Crash Report ----
// Don't do that.

Time: 8/22/15 1:08 PM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
    at net.minecraft.item.ItemStack.getAttributeModifiers(ItemStack.java:1020)
    at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814)
    at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:273)
    at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:62)
    at net.minecraft.entity.monster.EntityZombie.onUpdate(EntityZombie.java:330)
    at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2024)
    at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:758)
    at net.minecraft.world.World.updateEntity(World.java:1990)
    at net.minecraft.world.World.updateEntities(World.java:1816)
    at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:587)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:774)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540)
    at java.lang.Thread.run(Thread.java:745)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
    at net.minecraft.item.ItemStack.getAttributeModifiers(ItemStack.java:1020)
    at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814)
    at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:273)
    at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:62)
    at net.minecraft.entity.monster.EntityZombie.onUpdate(EntityZombie.java:330)
    at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2024)
    at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:758)
    at net.minecraft.world.World.updateEntity(World.java:1990)

-- Entity being ticked --
Details:
    Entity Type: herobrine (mod.mcreator.mcreator_herobrine.Entityherobrine)
    Entity ID: 28088
    Entity Name: Herobrine
    Entity's Exact location: -267.50, 4.00, 705.50
    Entity's Block location: -268.00,4.00,705.00 - World: (-268,4,705), Chunk: (at 4,0,1 in -17,44; contains blocks -272,0,704 to -257,255,719), Region: (-1,1; contains chunks -32,32 to -1,63, blocks -512,0,512 to -1,255,1023)
    Entity's Momentum: 0.00, 0.00, 0.00
    Entity's Rider: ~~ERROR~~ NullPointerException: null
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.updateEntities(World.java:1816)
    at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:587)

-- Affected level --
Details:
    Level name: Test World
    All players: 1 total; [EntityPlayerMP['Player840'/326, l='Test World', x=-234.36, y=15.90, z=692.85]]
    Chunk stats: ServerChunkCache: 940 Drop: 0
    Level seed: 6024624768721154966
    Level generator: ID 01 - flat, ver 0. Features enabled: true
    Level generator options: 
    Level spawn location: 45.00,4.00,692.00 - World: (45,4,692), Chunk: (at 13,0,4 in 2,43; contains blocks 32,0,688 to 47,255,703), Region: (0,1; contains chunks 0,32 to 31,63, blocks 0,0,512 to 511,255,1023)
    Level time: 34848 game time, 14122 day time
    Level dimension: 0
    Level storage version: 0x04ABD - Anvil
    Level weather: Rain time: 45817 (now: false), thunder time: 90038 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:774)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540)
    at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
    Minecraft Version: 1.8
    Operating System: Windows 7 (x86) version 6.1
    Java Version: 1.7.0_60, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 118122200 bytes (112 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB)
    JVM Flags: 0 total; 
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.10 FML v8.0.37.1334 Minecraft Forge 11.14.1.1334 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.37.1334} [Forge Mod Loader] (forgeSrc-1.8-11.14.1.1334.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{11.14.1.1334} [Minecraft Forge] (forgeSrc-1.8-11.14.1.1334.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Loaded coremods (and transformers): 
    Profiler Position: N/A (disabled)
    Player Count: 1 / 8; [EntityPlayerMP['Player840'/326, l='Test World', x=-234.36, y=15.90, z=692.85]]
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'

Here's another crash report that I got after updating MCreator and testing it again:

Spoiler: Highlight to view
---- Minecraft Crash Report ----
// Ouch. That hurt :(
Time: 8/25/15 5:21 PM
Description: Ticking entity
java.lang.NullPointerException: Ticking entity
    at net.minecraft.item.ItemStack.getAttributeModifiers(ItemStack.java:1020)
    at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1815)
    at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:273)
    at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:62)
    at net.minecraft.entity.monster.EntityZombie.onUpdate(EntityZombie.java:330)
    at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2031)
    at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:758)
    at net.minecraft.world.World.updateEntity(World.java:1997)
    at net.minecraft.world.World.updateEntities(World.java:1823)
    at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:587)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:775)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540)
    at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
    at net.minecraft.item.ItemStack.getAttributeModifiers(ItemStack.java:1020)
    at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1815)
    at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:273)
    at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:62)
    at net.minecraft.entity.monster.EntityZombie.onUpdate(EntityZombie.java:330)
    at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2031)
    at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:758)
    at net.minecraft.world.World.updateEntity(World.java:1997)
-- Entity being ticked --
Details:
    Entity Type: herobrine (mod.mcreator.mcreator_herobrine.Entityherobrine)
    Entity ID: 47387
    Entity Name: Herobrine
    Entity's Exact location: 107.50, 31.00, -287.50
    Entity's Block location: 107.00,31.00,-288.00 - World: (107,31,-288), Chunk: (at 11,1,0 in 6,-18; contains blocks 96,0,-288 to 111,255,-273), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    Entity's Momentum: 0.00, 0.00, 0.00
    Entity's Rider: ~~ERROR~~ NullPointerException: null
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.updateEntities(World.java:1823)
    at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:587)
-- Affected level --
Details:
    Level name: tast warld
    All players: 1 total; [EntityPlayerMP['Player610'/34028, l='tast warld', x=-11.90, y=70.12, z=-358.33]]
    Chunk stats: ServerChunkCache: 776 Drop: 0
    Level seed: 107799608
    Level generator: ID 01 - flat, ver 0. Features enabled: true
    Level generator options: 3;minecraft:bedrock,59*minecraft:stone,3*minecraft:dirt,minecraft:grass;1;stronghold,biome_1,village,decoration,dungeon,lake,mineshaft,lava_lake
    Level spawn location: -1.00,4.00,-175.00 - World: (-1,4,-175), Chunk: (at 15,0,1 in -1,-11; contains blocks -16,0,-176 to -1,255,-161), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
    Level time: 853 game time, 853 day time
    Level dimension: 0
    Level storage version: 0x04ABD - Anvil
    Level weather: Rain time: 105514 (now: false), thunder time: 79308 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:775)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540)
    at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
    Minecraft Version: 1.8
    Operating System: Windows 7 (x86) version 6.1
    Java Version: 1.7.0_60, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 58363840 bytes (55 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB)
    JVM Flags: 0 total; 
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1450 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAAAAAAA    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJAAAAAAAAA    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1450.jar) 
    UCHIJAAAAAAAAA    Forge{11.14.3.1450} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1450.jar) 
    UCHIJAAAAAAAAA    TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar) 
    Loaded coremods (and transformers): 
    GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    Profiler Position: N/A (disabled)
    Player Count: 1 / 8; [EntityPlayerMP['Player610'/34028, l='tast warld', x=-11.90, y=70.12, z=-358.33]]
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'
Edited by: c4539 on 08/27/2015 - 22:54


Offline
Last seen: 2 years 1 month ago
Joined: 08/22/2015 - 00:54
Gems: 0
Bump.

Bump.

Offline
Last seen: 2 years 1 month ago
Joined: 08/22/2015 - 00:54
Gems: 0
Bump

Bump

Offline
Last seen: 2 years 1 month ago
Joined: 08/22/2015 - 00:54
Gems: 0
Bump..? Don't know why no one

Bump..? Don't know why no one's answering.. really want to get my mod working.