When you right click on a mob spawner with a painting spawn egg in 1.8, the game crashes.
Steps to reproduce:
1. Get a mob spawner (type /give Username minecraft:mob_spawner)
2. Get a painting spawn egg (type /give Username minecraft:spawn_egg 1 9)
3. Place down the mob spawner and right click on it with the spawn egg and the game will crash.
Environment
Mac OSX 10.9.4. Java 7 Update 67 (version number: 1.6.0_65)
Dupe of MC-27485