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.
Linked issues
is duplicated by 5
relates to 1
Attachments
Comments 15
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
Can confirm, seems to be a regression of MC-56893