Just place a filled cage in a itemframe!
Recipe
If you find a entity that still crashes even with the "?" contact me!