Well... Summary says it all.
I gave myself an enchantment book with enchantment ID 77 in it.
What I expected to happen was...:
Display none in enchantment list like enchanted tools or some sort.
What actually happened was...:
Crash horribly.
(Description: Rendering screen)
Steps to Reproduce:
1. Type the following command:
/give @p enchanted_book 1 0 {StoredEnchantments:[{id:77,lvl:1}]}
2. Crash!
Here is the crash report for you:
---- Minecraft Crash Report ----
// I feel sad now :(
Time: 15. 6. 13 오전 1:17
Description: Rendering screen
java.lang.NullPointerException: Rendering screen
at ayu.a(SourceFile:588)
at ayl.a(SourceFile:170)
at ayw.a(SourceFile:36)
at ayu.a(SourceFile:558)
at bfk.a(SourceFile:1039)
at ave.av(SourceFile:914)
at ave.a(SourceFile:325)
at net.minecraft.client.main.Main.main(SourceFile:124)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at ayu.a(SourceFile:588)
at ayl.a(SourceFile:170)
at ayw.a(SourceFile:36)
at ayu.a(SourceFile:558)
-- Screen render details --
Details:
Screen name: ayu
Mouse location: Scaled: (141, 178). Absolute: (282, 123)
Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [bew['jakadsjakads'/17, l='MpServer', x=257.07, y=52.42, z=-176.35]]
Chunk stats: MultiplayerChunkCache: 225, 225
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: 210.00,4.00,-267.00 - World: (210,4,-267), Chunk: (at 2,0,5 in 13,-17; contains blocks 208,0,-272 to 223,255,-257), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 221693 game time, 6000 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: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 19 total; [wi['Villager'/2, l='MpServer', x=245.16, y=5.00, z=-192.53], wi['Villager'/5, l='MpServer', x=273.22, y=5.00, z=-198.31], wi['Villager'/6, l='MpServer', x=274.06, y=5.00, z=-161.50], wi['Villager'/7, l='MpServer', x=274.34, y=5.00, z=-197.44], wi['Villager'/8, l='MpServer', x=288.38, y=5.00, z=-161.69], wi['Villager'/9, l='MpServer', x=285.66, y=5.00, z=-160.78], wi['Villager'/10, l='MpServer', x=274.22, y=5.00, z=-155.53], wi['Villager'/11, l='MpServer', x=281.28, y=5.00, z=-139.41], wi['Villager'/12, l='MpServer', x=296.25, y=5.00, z=-139.38], wi['Villager'/13, l='MpServer', x=306.78, y=5.00, z=-130.50], wi['Villager'/14, l='MpServer', x=313.91, y=5.00, z=-129.50], bew['jakadsjakads'/17, l='MpServer', x=284.41, y=12.00, z=-182.96], tn['Chicken'/242915, l='MpServer', x=256.50, y=50.00, z=-229.50], tn['Chicken'/242914, l='MpServer', x=259.50, y=50.00, z=-228.50], tn['Chicken'/242913, l='MpServer', x=262.47, y=50.00, z=-225.66], to['Cow'/242912, l='MpServer', x=260.97, y=50.00, z=-233.91], wi['Villager'/868, l='MpServer', x=309.16, y=5.00, z=-114.47], wi['Villager'/869, l='MpServer', x=308.53, y=5.00, z=-119.94], bew['jakadsjakads'/17, l='MpServer', x=257.07, y=52.42, z=-176.35]]
Retry entities: 0 total; []
Server brand: vanilla
Server type: Integrated singleplayer server
Stacktrace:
at bdb.a(SourceFile:309)
at ave.b(SourceFile:2293)
at ave.a(SourceFile:334)
at net.minecraft.client.main.Main.main(SourceFile:124)
-- System Details --
Details:
Minecraft Version: 1.8.7
Operating System: Windows 7 (x86) version 6.1
CPU: 2x Pentium(R) Dual-Core CPU E6500 @ 2.93GHz
Java Version: 1.8.0_31, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 100357328 bytes (95 MB) / 261038080 bytes (248 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.8.7
LWJGL: 2.9.4
OpenGL: GeForce G210/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: No
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs: [OCD pack 1.8.zip]
Current Language: English (US)
Profiler Position: N/A (disabled)
Cannot confirm for 1.8.7
However your command should look like this: