Game crashing a lot.

Started by Kevaday on Sun, 04/09/2017 - 18:19

Topic category: Bugs and solutions

Last seen on 16:10, 5. May 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Game crashing a lot.
Sun, 04/09/2017 - 18:19

My mod has been crashing a lot lately. This time it crashed and I looked at the report, here it is:

---- Minecraft Crash Report ----
// You're mean.

Time: 4/9/17 2:13 PM
Description: Ticking entity

java.lang.ClassCastException: net.minecraft.entity.item.EntityEnderCrystal cannot be cast to net.minecraft.entity.EntityLivingBase
    at net.minecraft.entity.ai.EntityAINearestAttackableTarget$1.apply(SourceFile:47)
    at net.minecraft.world.chunk.Chunk.func_177430_a(Chunk.java:920)
    at net.minecraft.world.World.func_175647_a(World.java:3028)
    at net.minecraft.entity.ai.EntityAINearestAttackableTarget.func_75250_a(SourceFile:91)
    at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:94)
    at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:766)
    at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2255)
    at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:573)
    at net.minecraft.entity.monster.EntityMob.func_70636_d(SourceFile:41)
    at net.minecraft.entity.monster.EntityZombie.func_70636_d(EntityZombie.java:223)
    at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2085)
    at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:296)
    at net.minecraft.entity.monster.EntityMob.func_70071_h_(SourceFile:46)
    at net.minecraft.world.World.func_72866_a(World.java:1961)
    at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:840)
    at net.minecraft.world.World.func_72870_g(World.java:1931)
    at net.minecraft.world.World.func_72939_s(World.java:1747)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:621)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:720)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
    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 --
Thread: Server thread
Stacktrace:
    at net.minecraft.entity.ai.EntityAINearestAttackableTarget$1.apply(SourceFile:47)
    at net.minecraft.world.chunk.Chunk.func_177430_a(Chunk.java:920)
    at net.minecraft.world.World.func_175647_a(World.java:3028)
    at net.minecraft.entity.ai.EntityAINearestAttackableTarget.func_75250_a(SourceFile:91)
    at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:94)
    at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:766)
    at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2255)
    at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:573)
    at net.minecraft.entity.monster.EntityMob.func_70636_d(SourceFile:41)
    at net.minecraft.entity.monster.EntityZombie.func_70636_d(EntityZombie.java:223)
    at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2085)
    at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:296)
    at net.minecraft.entity.monster.EntityMob.func_70071_h_(SourceFile:46)
    at net.minecraft.world.World.func_72866_a(World.java:1961)
    at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:840)
    at net.minecraft.world.World.func_72870_g(World.java:1931)

-- Entity being ticked --
Details:
    Entity Type: kevsmodmc:warpedhumanwarrior (mod.mcreator.mcreator_warpedHumanWarrior.EntitywarpedHumanWarrior)
    Entity ID: 339873
    Entity Name: Warped Warrior
    Entity's Exact location: -14.71, 60.00, 35.79
    Entity's Block location: World: (-15,60,35), Chunk: (at 1,3,3 in -1,2; contains blocks -16,0,32 to -1,255,47), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Entity's Momentum: -0.01, -0.08, 0.00
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:1747)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:621)

-- Affected level --
Details:
    Level name: Railgun Time!
    All players: 2 total; [EntityPlayerMP['Tomaday'/95603, l='Railgun Time!', x=38.12, y=100.00, z=0.49], EntityPlayerMP['Kevaday'/94392, l='Railgun Time!', x=-4.72, y=62.00, z=1.30]]
    Chunk stats: ServerChunkCache: 1188 Drop: 0
    Level seed: 630238443
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 0 game time, 0 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:720)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
    at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
    Minecraft Version: 1.11.2
    Operating System: Windows 8.1 (amd64) version 6.3
    Java Version: 1.8.0_25, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 494520840 bytes (471 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
    JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
    FML: MCP 9.38 Powered by Forge 13.20.0.2255 6 mods loaded, 6 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAAAAAAA    minecraft{1.11.2} [Minecraft] (minecraft.jar) 
    UCHIJAAAAAAAAA    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJAAAAAAAAA    FML{8.0.99.99} [Forge Mod Loader] (forge-1.11.2-13.20.0.2255.jar) 
    UCHIJAAAAAAAAA    forge{13.20.0.2255} [Minecraft Forge] (forge-1.11.2-13.20.0.2255.jar) 
    UCHIJAAAAAAAAA    mercurius_updater{1.0} [mercurius_updater] (MercuriusUpdater-1.11.2.jar) 
    UCHIJAAAAAAAAA    kevsmodmc{0.7.5} [kevsmodmc] (KevsModMC_0.7.5.jar) 
    Loaded coremods (and transformers): 
    GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    Profiler Position: N/A (disabled)
    Player Count: 2 / 8; [EntityPlayerMP['Tomaday'/95603, l='Railgun Time!', x=38.12, y=100.00, z=0.49], EntityPlayerMP['Kevaday'/94392, l='Railgun Time!', x=-4.72, y=62.00, z=1.30]]
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'

 

So I think I know what the problem is. I think one of the aggressive mobs in my mod tried to attack an ender crystal. The game crashed right when I placed one. It's wierd though because the game didn't crash when the natural ender crystals were on top of the towers... so I'm confused. If anyone can help with this, that would be great. Thanks!