What I expected to happen was...:
it placed a wood block
What actually happened was...:
it crashed the game
Steps to Reproduce:
1. Get a log2 or leaves2 with setblock, fill or give with one of the following data values: 2/3/6/7/10/11/14/15
2. place the block
3. crash
14w46a
Description: Unexpected error
java.lang.IllegalArgumentException: Cannot set property arg{name=variant, clazz=class ana$a, values=[acacia, dark_oak]} to oak on block minecraft:log2, it is not an allowed value
at aqu$a.a(SourceFile:177)
at ams.a(SourceFile:54)
at amh.a(SourceFile:51)
at abv.a(SourceFile:49)
at adk.a(SourceFile:134)
at bke.a(SourceFile:345)
at bby.au(SourceFile:1426)
at bby.ax(SourceFile:1931)
at bby.aw(SourceFile:1749)
at bby.s(SourceFile:1593)
at bby.as(SourceFile:941)
at bby.a(SourceFile:385)
at net.minecraft.client.main.Main.main(SourceFile:122)
The issue is that leaves2/log2 only have 2 set values(acacia and dark oak), and 2 invalid ones for the variant block state. By setting/getting these data values, the variant state is returned as invalid value, and the game doesn't like that.
Related issues
is duplicated by
relates to
Attachments
Comments


Can confirm, seems to be a regression of MC-56893
---- Minecraft Crash Report ----
// Oh - I know what I did wrong!
Time: 12/29/14 11:37 PM
Description: Unexpected error
java.lang.IllegalArgumentException: Cannot set property beu{name=variant, clazz=class ayv, values=[acacia, dark_oak]} to oak on block minecraft:log2, it is not an allowed value
at bef.a(SourceFile:124)
at ayg.a(SourceFile:54)
at atp.a(SourceFile:686)
at axl.a(SourceFile:51)
at ajs.a(SourceFile:54)
at amh.a(SourceFile:127)
at cem.a(SourceFile:315)
at bst.av(SourceFile:1366)
at bst.r(SourceFile:1803)
at bst.at(SourceFile:884)
at bst.a(SourceFile:321)
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 bef.a(SourceFile:124)
at ayg.a(SourceFile:54)
at atp.a(SourceFile:686)
at axl.a(SourceFile:51)
at ajs.a(SourceFile:54)
at amh.a(SourceFile:127)
at cem.a(SourceFile:315)
at bst.av(SourceFile:1366)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [cio['Mustek'/1384, l='MpServer', x=3.98, y=64.00, z=68.17]]
Chunk stats: MultiplayerChunkCache: 1521, 1521
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: 188.00,64.00,252.00 - World: (188,64,252), Chunk: (at 12,4,12 in 11,15; contains blocks 176,0,240 to 191,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 140583 game time, 19142 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 105 total; [aer['Creeper'/1541, l='MpServer', x=-57.50, y=71.00, z=-10.50], agi['Zombie'/1542, l='MpServer', x=-54.50, y=71.00, z=0.50], agi['Zombie'/1543, l='MpServer', x=-57.97, y=63.00, z=36.53], abw['Cow'/1544, l='MpServer', x=-61.47, y=86.00, z=38.25], abw['Cow'/1545, l='MpServer', x=-60.56, y=67.00, z=62.78], abw['Cow'/1546, l='MpServer', x=-57.66, y=83.00, z=48.59], abs['Bat'/1547, l='MpServer', x=-52.41, y=25.88, z=76.56], abw['Cow'/1548, l='MpServer', x=-63.88, y=103.00, z=91.00], abw['Cow'/1549, l='MpServer', x=-55.38, y=101.00, z=134.69], abw['Cow'/1550, l='MpServer', x=-60.56, y=100.00, z=128.63], abs['Bat'/1560, l='MpServer', x=-35.88, y=42.28, z=0.03], abs['Bat'/1561, l='MpServer', x=-41.28, y=36.78, z=20.56], acq['Squid'/1562, l='MpServer', x=-38.72, y=61.38, z=52.94], acq['Squid'/1563, l='MpServer', x=-44.50, y=60.13, z=73.47], acq['Squid'/1564, l='MpServer', x=-46.50, y=61.31, z=74.13], agd['Spider'/1565, l='MpServer', x=-41.03, y=85.00, z=126.00], agi['Zombie'/1566, l='MpServer', x=-33.31, y=105.00, z=140.47], agi['Zombie'/1567, l='MpServer', x=-35.53, y=104.00, z=136.00], afw['Skeleton'/1575, l='MpServer', x=-19.59, y=70.00, z=49.03], afw['Skeleton'/1576, l='MpServer', x=-21.53, y=72.00, z=62.78], abs['Bat'/1577, l='MpServer', x=-17.47, y=43.22, z=63.34], aer['Creeper'/1578, l='MpServer', x=-23.75, y=63.00, z=77.03], agi['Zombie'/1579, l='MpServer', x=-21.69, y=70.00, z=69.94], acn['Sheep'/1580, l='MpServer', x=-27.56, y=78.00, z=111.22], acn['Sheep'/1581, l='MpServer', x=-18.50, y=98.00, z=128.50], acn['Sheep'/1582, l='MpServer', x=-28.78, y=98.00, z=128.50], abw['Cow'/1595, l='MpServer', x=-10.59, y=89.00, z=35.69], abw['Cow'/1596, l='MpServer', x=-7.59, y=89.00, z=22.16], abw['Cow'/1597, l='MpServer', x=-4.53, y=96.00, z=39.84], agh['Witch'/1609, l='MpServer', x=3.50, y=80.00, z=-3.50], agh['Witch'/1610, l='MpServer', x=1.50, y=80.00, z=-3.50], abw['Cow'/1611, l='MpServer', x=2.94, y=101.00, z=25.84], abs['Bat'/1612, l='MpServer', x=12.75, y=22.06, z=47.69], abw['Cow'/1617, l='MpServer', x=24.94, y=88.00, z=-6.19], abw['Cow'/1622, l='MpServer', x=26.97, y=80.00, z=14.94], abw['Cow'/1630, l='MpServer', x=44.84, y=81.00, z=17.00], cio['Mustek'/1384, l='MpServer', x=3.98, y=64.00, z=68.17], afw['Skeleton'/1646, l='MpServer', x=52.50, y=14.00, z=-9.50], afw['Skeleton'/1647, l='MpServer', x=48.75, y=13.00, z=-3.84], agi['Zombie'/1648, l='MpServer', x=49.50, y=14.00, z=-8.50], agi['Zombie'/1649, l='MpServer', x=49.50, y=13.00, z=-5.50], aer['Creeper'/1651, l='MpServer', x=50.50, y=84.00, z=-9.50], afw['Skeleton'/1652, l='MpServer', x=56.50, y=71.00, z=33.50], agi['Zombie'/1655, l='MpServer', x=77.16, y=76.00, z=31.25], aer['Creeper'/1656, l='MpServer', x=79.50, y=76.00, z=28.50], afw['Skeleton'/1662, l='MpServer', x=82.50, y=76.00, z=31.50], afw['Skeleton'/1158, l='MpServer', x=-2.50, y=22.00, z=52.50], agd['Spider'/1159, l='MpServer', x=-0.50, y=22.00, z=55.50], afw['Skeleton'/1160, l='MpServer', x=-15.06, y=16.00, z=54.41], afw['Skeleton'/1161, l='MpServer', x=-2.50, y=22.00, z=49.50], aer['Creeper'/1162, l='MpServer', x=-13.71, y=68.00, z=56.79], abs['Bat'/1163, l='MpServer', x=-8.47, y=28.10, z=87.25], abs['Bat'/1164, l='MpServer', x=-2.91, y=48.10, z=94.25], aer['Creeper'/1165, l='MpServer', x=-6.81, y=69.00, z=85.69], afw['Skeleton'/1166, l='MpServer', x=-12.50, y=63.00, z=121.50], acn['Sheep'/1167, l='MpServer', x=-14.72, y=70.00, z=126.19], acn['Sheep'/1168, l='MpServer', x=-11.63, y=76.00, z=126.19], acn['Sheep'/1169, l='MpServer', x=-6.84, y=78.00, z=132.66], acn['Sheep'/1170, l='MpServer', x=-14.50, y=78.00, z=140.50], acn['Sheep'/1171, l='MpServer', x=-8.56, y=77.00, z=138.47], aer['Creeper'/1182, l='MpServer', x=4.03, y=37.00, z=54.34], agi['Zombie'/1183, l='MpServer', x=6.03, y=41.00, z=48.69], agi['Zombie'/1184, l='MpServer', x=5.16, y=41.00, z=48.06], aer['Creeper'/1185, l='MpServer', x=12.56, y=53.00, z=53.97], abs['Bat'/1186, l='MpServer', x=5.53, y=34.10, z=68.75], agd['Spider'/1187, l='MpServer', x=8.13, y=32.00, z=68.69], aer['Creeper'/1198, l='MpServer', x=31.50, y=21.00, z=51.50], acq['Squid'/1199, l='MpServer', x=17.68, y=62.03, z=69.20], acq['Squid'/1200, l='MpServer', x=13.52, y=62.16, z=60.20], acq['Squid'/1201, l='MpServer', x=21.34, y=61.05, z=56.50], aer['Creeper'/1202, l='MpServer', x=25.41, y=43.00, z=66.86], aer['Creeper'/1203, l='MpServer', x=24.94, y=50.00, z=72.44], abs['Bat'/1204, l='MpServer', x=28.41, y=15.10, z=91.25], abs['Bat'/1205, l='MpServer', x=25.25, y=38.10, z=84.75], abs['Bat'/1206, l='MpServer', x=16.88, y=40.10, z=84.25], abs['Bat'/1207, l='MpServer', x=18.97, y=40.10, z=82.75], abs['Bat'/1208, l='MpServer', x=17.59, y=40.10, z=84.25], abs['Bat'/1209, l='MpServer', x=18.53, y=40.10, z=82.75], acq['Squid'/1210, l='MpServer', x=17.81, y=62.17, z=82.97], agh['Witch'/1211, l='MpServer', x=18.81, y=62.06, z=95.64], abw['Cow'/1212, l='MpServer', x=31.16, y=68.00, z=109.16], agi['Zombie'/1213, l='MpServer', x=30.50, y=70.00, z=140.50], aer['Creeper'/1224, l='MpServer', x=32.50, y=41.00, z=77.50], abs['Bat'/1225, l='MpServer', x=46.88, y=32.10, z=81.56], aer['Creeper'/1226, l='MpServer', x=36.50, y=41.00, z=78.50], aer['Creeper'/1227, l='MpServer', x=43.50, y=61.00, z=66.50], ady['item.item.dyePowder.black'/1228, l='MpServer', x=33.16, y=51.00, z=74.06], afw['Skeleton'/1229, l='MpServer', x=35.50, y=16.00, z=86.50], afw['Skeleton'/1230, l='MpServer', x=42.50, y=35.00, z=85.50], afw['Skeleton'/1231, l='MpServer', x=39.50, y=35.00, z=84.50], afw['Skeleton'/1232, l='MpServer', x=37.81, y=15.00, z=109.43], abw['Cow'/1233, l='MpServer', x=45.22, y=69.00, z=123.19], abw['Cow'/1234, l='MpServer', x=41.50, y=69.00, z=137.72], abs['Bat'/1244, l='MpServer', x=59.50, y=45.00, z=62.50], afw['Skeleton'/1245, l='MpServer', x=62.50, y=50.00, z=51.50], afw['Skeleton'/1246, l='MpServer', x=53.06, y=32.00, z=80.44], abw['Cow'/1247, l='MpServer', x=48.03, y=68.00, z=142.03], agi['Zombie'/1255, l='MpServer', x=72.50, y=63.00, z=54.50], afw['Skeleton'/1256, l='MpServer', x=69.50, y=19.00, z=76.50], agi['Zombie'/1257, l='MpServer', x=79.50, y=45.00, z=93.50], agi['Zombie'/1258, l='MpServer', x=78.50, y=45.00, z=91.50], acn['Sheep'/1529, l='MpServer', x=-66.34, y=68.00, z=-0.44], abw['Cow'/1531, l='MpServer', x=-75.00, y=77.00, z=42.13], abw['Cow'/1532, l='MpServer', x=-68.72, y=78.00, z=60.44], afw['Skeleton'/1533, l='MpServer', x=-66.09, y=87.00, z=110.56]]
Retry entities: 0 total; []
Server brand: vanilla
Server type: Integrated singleplayer server
Stacktrace:
at cen.a(SourceFile:308)
at bst.b(SourceFile:2287)
at bst.a(SourceFile:335)
at net.minecraft.client.main.Main.main(SourceFile:124)
-- System Details --
Details:
Minecraft Version: 1.8.2-pre1
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: 628906736 bytes (599 MB) / 1091227648 bytes (1040 MB) up to 2093809664 bytes (1996 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn512M
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
Launched Version: 1.8.2-pre1
LWJGL: 2.9.1
OpenGL: GeForce GTX 770/PCIe/SSE2 GL version 4.4.0 NVIDIA 344.48, 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: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)

Confirmed for 1.8.2 pre 2

Confirmed for 1.8.7. This will occur for any data value whose last two bits are 10 or 11.

Confirmed for 15w51b.
15w51b server log
[14:26:27] [Server thread/INFO]: [@: Given [Oak Wood] * 1 to __null]
[14:26:28] [Server thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Cannot set property arj{name=variant, clazz=class anc$a, values=[acacia, dark_oak]} to oak on block minecraft:log2, it is not an allowed value
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_60]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_60]
at g.a(SourceFile:46) [minecraft_server.jar:?]
at net.minecraft.server.MinecraftServer.D(SourceFile:597) [minecraft_server.jar:?]
at la.D(SourceFile:339) [minecraft_server.jar:?]
at net.minecraft.server.MinecraftServer.C(SourceFile:553) [minecraft_server.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:457) [minecraft_server.jar:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.lang.IllegalArgumentException: Cannot set property arj{name=variant, clazz=class anc$a, values=[acacia, dark_oak]} to oak on block minecraft:log2, it is not an allowed value
at aqx$a.a(SourceFile:177) ~[minecraft_server.jar:?]
at amu.a(SourceFile:54) ~[minecraft_server.jar:?]
at amj.a(SourceFile:51) ~[minecraft_server.jar:?]
at abx.a(SourceFile:49) ~[minecraft_server.jar:?]
at adm.a(SourceFile:134) ~[minecraft_server.jar:?]
at ls.a(SourceFile:337) ~[minecraft_server.jar:?]
at mb.a(SourceFile:620) ~[minecraft_server.jar:?]
at jg.a(SourceFile:55) ~[minecraft_server.jar:?]
at jg.a(SourceFile:11) ~[minecraft_server.jar:?]
at fh$1.run(SourceFile:13) ~[minecraft_server.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_60]
at g.a(SourceFile:45) ~[minecraft_server.jar:?]
... 5 more
[14:26:29] [Server thread/INFO]: __null lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[14:26:29] [Server thread/INFO]: __null left the game
15w51b client crash report
---- Minecraft Crash Report ----
// I feel sad now :(
Time: 23/12/15 2:26 PM
Description: Unexpected error
java.lang.IllegalArgumentException: Cannot set property arj{name=variant, clazz=class anc$a, values=[acacia, dark_oak]} to oak on block minecraft:log2, it is not an allowed value
at aqx$a.a(SourceFile:177)
at amu.a(SourceFile:54)
at amj.a(SourceFile:51)
at abx.a(SourceFile:49)
at adm.a(SourceFile:134)
at bki.a(SourceFile:345)
at bcb.au(SourceFile:1429)
at bcb.ax(SourceFile:1934)
at bcb.aw(SourceFile:1752)
at bcb.s(SourceFile:1596)
at bcb.as(SourceFile:942)
at bcb.a(SourceFile:386)
at net.minecraft.client.main.Main.main(SourceFile:122)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at aqx$a.a(SourceFile:177)
at amu.a(SourceFile:54)
at amj.a(SourceFile:51)
at abx.a(SourceFile:49)
at adm.a(SourceFile:134)
at bki.a(SourceFile:345)
at bcb.au(SourceFile:1429)
at bcb.ax(SourceFile:1934)
at bcb.aw(SourceFile:1752)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [bmi['__null'/1, l='MpServer', x=-2.42, y=65.00, z=5.19]]
Chunk stats: MultiplayerChunkCache: 81, 81
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (0,64,0), Chunk: (at 0,4,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: 168555 game time, 2188 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: 3 total; [bmi['__null'/1, l='MpServer', x=-2.42, y=65.00, z=5.19], zd['Slime'/0, l='MpServer', x=-11.06, y=64.00, z=7.94], yc['container.minecart'/23, l='MpServer', x=-19.50, y=64.06, z=7.50]]
Retry entities: 0 total; []
Server brand: vanilla
Server type: Non-integrated multiplayer server
Stacktrace:
at bkj.a(SourceFile:364)
at bcb.b(SourceFile:2496)
at bcb.a(SourceFile:400)
at net.minecraft.client.main.Main.main(SourceFile:122)
-- System Details --
Details:
Minecraft Version: 15w51b
Operating System: Mac OS X (x86_64) version 10.11.2
Java Version: 1.8.0_60, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 775050080 bytes (739 MB) / 1020788736 bytes (973 MB) up to 1020788736 bytes (973 MB)
JVM Flags: 3 total; -Xms1G -Xmx1G -Xmn512M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 15w51b
LWJGL: 2.9.2
OpenGL: AMD Radeon R9 M290 OpenGL Engine GL version 2.1 ATI-1.40.15, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because ARB_framebuffer_object 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: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz

Confirmed for 16w02a.

Confirmed for 1.9.1-pre3.

Confirmed for 1.9.3-pre3.

Confirmed for 1.9.4.

Confirmed for 16w20a.

Confirmed for 16w21a.

Confirmed for 16w21b.

Confirmed for 1.10-pre1.

Confirmed for 1.10-pre2.

Confirmed for 1.10.

Confirmed for 1.10.1.