mojira.dev
MC-63981

Computer crashes when right-clicking a spawner with an invalid mob egg

Steps to reproduce

  • Place down/find a monster spawner

  • Type /give <your name> spawn_egg 1 71 <---this number can be anything between 71 and 89 inclusive, as long as the numerical ID does not correspond to any mob then it the bug will work

WARNING! doing this will freeze your game, just restart your computer if that happens.

(please inform me if it crashes, because I restarted my computer after a minute but it may eventually crash if anyone has the patience to wait for it to do so)

Linked issues

Comments 3

Here ya go:

[16:51:24 INFO]: Client> [16:51:24] [Client thread/INFO]: [CHAT] There is no such item with name minecraft:monster_spawner
[16:51:30 INFO]: Client> [16:51:30] [Server thread/INFO]: [Kumasasa: Given [Monster Spawner] * 1 to Kumasasa]
[16:51:30 INFO]: Client> [16:51:30] [Client thread/INFO]: [CHAT] Given [Monster Spawner] * 1 to Kumasasa
[16:51:39 INFO]: Client> [16:51:39] [Server thread/INFO]: [Kumasasa: Given [Spawn] * 1 to Kumasasa]
[16:51:39 INFO]: Client> [16:51:39] [Client thread/INFO]: [CHAT] Given [Spawn] * 1 to Kumasasa
[16:52:00 INFO]: Client> [16:52:00] [Server thread/ERROR]: Encountered an unexpected exception
[16:52:00 INFO]: Client> u: Exception ticking world
[16:52:00 INFO]: Client> 	at net.minecraft.server.MinecraftServer.y(SourceFile:601) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at net.minecraft.server.MinecraftServer.x(SourceFile:529) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at cwp.x(SourceFile:144) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at net.minecraft.server.MinecraftServer.run(SourceFile:445) [14w30c.jar:?]
[16:52:00 INFO]: Client> 	at java.lang.Thread.run(Unknown Source) [?:1.8.0_11]
[16:52:00 INFO]: Client> Caused by: java.lang.NullPointerException
[16:52:00 INFO]: Client> 	at app.f(SourceFile:40) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at app.b(SourceFile:226) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at bcc.b(SourceFile:50) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at bcc.w_(SourceFile:61) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at qj.a(SourceFile:168) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at qj.b(SourceFile:131) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at qi.b(SourceFile:208) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at ql.c(SourceFile:205) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	at net.minecraft.server.MinecraftServer.y(SourceFile:597) ~[14w30c.jar:?]
[16:52:00 INFO]: Client> 	... 4 more
[16:52:00 INFO]: Client> [16:52:00] [Server thread/ERROR]: This crash report has been saved to: C:\Users\user\AppData\Roaming\.minecraft\crash-reports\crash-2014-07-27_16.52.00-server.txt
[16:52:00 INFO]: Client> [16:52:00] [Server thread/INFO]: Stopping server
[16:52:00 INFO]: Client> [16:52:00] [Server thread/INFO]: Saving players
[16:52:00 INFO]: Client> ---- Minecraft Crash Report ----
[16:52:00 INFO]: Client> // Don't be sad. I'll do better next time, I promise!
[16:52:00 INFO]: Client> 
[16:52:00 INFO]: Client> Time: 27.07.14 16:52
[16:52:00 INFO]: Client> Description: Exception ticking world
[16:52:00 INFO]: Client> 
[16:52:00 INFO]: Client> java.lang.NullPointerException: Exception ticking world
[16:52:00 INFO]: Client> 	at app.f(SourceFile:40)
[16:52:00 INFO]: Client> 	at app.b(SourceFile:226)
[16:52:00 INFO]: Client> 	at bcc.b(SourceFile:50)
[16:52:00 INFO]: Client> 	at bcc.w_(SourceFile:61)
[16:52:00 INFO]: Client> 	at qj.a(SourceFile:168)
[16:52:00 INFO]: Client> 	at qj.b(SourceFile:131)
[16:52:00 INFO]: Client> 	at qi.b(SourceFile:208)
[16:52:00 INFO]: Client> 	at ql.c(SourceFile:205)
[16:52:00 INFO]: Client> 	at net.minecraft.server.MinecraftServer.y(SourceFile:597)
[16:52:00 INFO]: Client> 	at net.minecraft.server.MinecraftServer.x(SourceFile:529)
[16:52:00 INFO]: Client> 	at cwp.x(SourceFile:144)
[16:52:00 INFO]: Client> 	at net.minecraft.server.MinecraftServer.run(SourceFile:445)
[16:52:00 INFO]: Client> 	at java.lang.Thread.run(Unknown Source)
[16:52:00 INFO]: Client> 
[16:52:00 INFO]: Client> 
[16:52:00 INFO]: Client> A detailed walkthrough of the error, its code path and all known details is as follows:
[16:52:00 INFO]: Client> ---------------------------------------------------------------------------------------
[16:52:00 INFO]: Client> 
[16:52:00 INFO]: Client> -- Head --
[16:52:00 INFO]: Client> Stacktrace:
[16:52:00 INFO]: Client> 	at app.f(SourceFile:40)
[16:52:00 INFO]: Client> 	at app.b(SourceFile:226)
[16:52:00 INFO]: Client> 	at bcc.b(SourceFile:50)
[16:52:00 INFO]: Client> 	at bcc.w_(SourceFile:61)
[16:52:00 INFO]: Client> 	at qj.a(SourceFile:168)
[16:52:00 INFO]: Client> 	at qj.b(SourceFile:131)
[16:52:00 INFO]: Client> 	at qi.b(SourceFile:208)
[16:52:00 INFO]: Client> 	at ql.c(SourceFile:205)
[16:52:00 INFO]: Client> 
[16:52:00 INFO]: Client> -- Affected level --
[16:52:00 INFO]: Client> Details:
[16:52:00 INFO]: Client> 	Level name: Flatworld6
[16:52:00 INFO]: Client> 	All players: 1 total; [qo['Kumasasa'/132, l='Flatworld6', x=16,84, y=56,00, z=41,73]]
[16:52:00 INFO]: Client> 	Chunk stats: ServerChunkCache: 1101 Drop: 0
[16:52:00 INFO]: Client> 	Level seed: -1647892874704077833
[16:52:00 INFO]: Client> 	Level generator: ID 01 - flat, ver 0. Features enabled: true
[16:52:00 INFO]: Client> 	Level generator options: 3;minecraft:bedrock,3*minecraft:stone,52*minecraft:sandstone;2;
[16:52:00 INFO]: Client> 	Level spawn location: 0,00,56,00,0,00 - World: (0,56,0), Chunk: (at 0,3,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)
[16:52:00 INFO]: Client> 	Level time: 205611 game time, 5856 day time
[16:52:00 INFO]: Client> 	Level dimension: 0
[16:52:00 INFO]: Client> 	Level storage version: 0x04ABD - Anvil
[16:52:00 INFO]: Client> 	Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false)
[16:52:00 INFO]: Client> 	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
[16:52:00 INFO]: Client> Stacktrace:
[16:52:00 INFO]: Client> 	at net.minecraft.server.MinecraftServer.y(SourceFile:597)
[16:52:00 INFO]: Client> 	at net.minecraft.server.MinecraftServer.x(SourceFile:529)
[16:52:00 INFO]: Client> 	at cwp.x(SourceFile:144)
[16:52:00 INFO]: Client> 	at net.minecraft.server.MinecraftServer.run(SourceFile:445)
[16:52:00 INFO]: Client> 	at java.lang.Thread.run(Unknown Source)
[16:52:00 INFO]: Client> 
[16:52:00 INFO]: Client> -- System Details --
[16:52:00 INFO]: Client> Details:
[16:52:00 INFO]: Client> 	Minecraft Version: 14w30c
[16:52:00 INFO]: Client> 	Operating System: Windows 7 (amd64) version 6.1
[16:52:00 INFO]: Client> 	Java Version: 1.8.0_11, Oracle Corporation
[16:52:00 INFO]: Client> 	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
[16:52:00 INFO]: Client> 	Memory: 137570208 bytes (131 MB) / 515903488 bytes (492 MB) up to 1060372480 bytes (1011 MB)
[16:52:00 INFO]: Client> 	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
[16:52:00 INFO]: Client> 	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
[16:52:00 INFO]: Client> 	Profiler Position: N/A (disabled)
[16:52:00 INFO]: Client> 	Player Count: 1 / 8; [qo['Kumasasa'/132, l='Flatworld6', x=16,84, y=56,00, z=41,73]]
[16:52:00 INFO]: Client> 	Type: Integrated Server (map_client.txt)
[16:52:00 INFO]: Client> 	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
[16:52:00 INFO]: Client> #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\user\AppData\Roaming\.minecraft\crash-reports\crash-2014-07-27_16.52.00-server.txt
[16:52:00 INFO]: Client> [16:52:00] [Client Shutdown Thread/INFO]: Stopping server
[16:52:00 INFO]: Client> [16:52:00] [Client Shutdown Thread/INFO]: Saving players
[16:52:01 INFO]: Client> java.lang.NullPointerException
[16:52:01 INFO]: Client> 	at app.f(SourceFile:40)
[16:52:01 INFO]: Client> 	at app.b(SourceFile:226)
[16:52:01 INFO]: Client> 	at bcc.b(SourceFile:50)
[16:52:01 INFO]: Client> 	at bet.a(SourceFile:253)
[16:52:01 INFO]: Client> 	at bet.a(SourceFile:113)
[16:52:01 INFO]: Client> 	at qk.b(SourceFile:164)
[16:52:01 INFO]: Client> 	at qk.a(SourceFile:207)
[16:52:01 INFO]: Client> 	at ql.a(SourceFile:757)
[16:52:01 INFO]: Client> 	at net.minecraft.server.MinecraftServer.a(SourceFile:358)
[16:52:01 INFO]: Client> 	at net.minecraft.server.MinecraftServer.q(SourceFile:381)
[16:52:01 INFO]: Client> 	at cwp.q(SourceFile:292)
[16:52:01 INFO]: Client> 	at net.minecraft.server.MinecraftServer.run(SourceFile:477)
[16:52:01 INFO]: Client> 	at java.lang.Thread.run(Unknown Source)

should i change the description to computer crashes then?

not needed, this is a duplicate of another report who does say: crash

Atom clark

(Unassigned)

Unconfirmed

Minecraft 14w30b, Minecraft 14w30c

Retrieved