mojira.dev
MC-53790

crash on giving sapling type 6

my minecraft crashed when i did /give pop1200000 minecraft:sapling 1 6
this is what appeared when i watched the crash report:


Minecraft Crash Report ----
// Everything's going to plan. No, really, that was supposed to happen.

Time: 27/04/14 11:50
Description: Rendering entity in world

java.lang.ArrayIndexOutOfBoundsException: 6
at atg.a(SourceFile:67)
at ahg.b_(SourceFile:40)
at agi.a(SourceFile:774)
at cbz.a(SourceFile:137)
at cbz.a(SourceFile:32)
at cbn.a(SourceFile:219)
at cbn.a(SourceFile:199)
at cbn.a(SourceFile:176)
at bxn.a(SourceFile:481)
at bxg.a(SourceFile:1146)
at bxg.b(SourceFile:937)
at bja.ai(SourceFile:828)
at bja.f(SourceFile:755)
at net.minecraft.client.main.Main.main(SourceFile:121)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

– Head –
Stacktrace:
at atg.a(SourceFile:67)
at ahg.b_(SourceFile:40)
at agi.a(SourceFile:774)
at cbz.a(SourceFile:137)
at cbz.a(SourceFile:32)

– Entity being rendered –
Details:
Entity Type: Item (zg)
Entity ID: 8581539
Entity Name: item.tile.sapling.oak
Entity's Exact location: -588,75, 5,25, 94,68
Entity's Block location: -589,00,5,00,94,00 - World: (-589,5,94), Chunk: (at 3,0,14 in -37,5; contains blocks -592,0,80 to -577,255,95), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,0,0 to -513,255,511)
Entity's Momentum: 0,12, -0,06, 0,24
Entity's Rider: ~ERROR~ NullPointerException: null
Entity's Vehicle: ~ERROR~ NullPointerException: null

– Renderer details –
Details:
Assigned renderer: cbz@1d50b8f
Location: 0,02,1,30,0,04 - World: (0,1,0), Chunk: (at 0,0,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)
Rotation: 70.3125
Delta: 0.24621367
Stacktrace:
at cbn.a(SourceFile:219)
at cbn.a(SourceFile:199)
at cbn.a(SourceFile:176)
at bxn.a(SourceFile:481)
at bxg.a(SourceFile:1146)

– Affected level –
Details:
Level name: MpServer
All players: 1 total; [bww['pop1200000'/8355871, l='MpServer', x=-588,86, y=4,00, z=94,46]]
Chunk stats: MultiplayerChunkCache: 30, 30
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: -589,00,4,00,91,00 - World: (-589,4,91), Chunk: (at 3,0,11 in -37,5; contains blocks -592,0,80 to -577,255,95), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,0,0 to -513,255,511)
Level time: 1351 game time, 1351 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: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 15 total; [ya['Chicken'/8426622, l='MpServer', x=-592,50, y=4,00, z=60,50], ya['Chicken'/8426623, l='MpServer', x=-607,38, y=4,00, z=63,38], ya['Chicken'/8426621, l='MpServer', x=-595,50, y=4,00, z=61,50], yb['Cow'/8426612, l='MpServer', x=-618,06, y=4,00, z=53,66], yk['Sheep'/8426651, l='MpServer', x=-547,50, y=4,00, z=123,50], yk['Sheep'/8426650, l='MpServer', x=-547,50, y=4,00, z=125,50], yk['Sheep'/8426653, l='MpServer', x=-554,50, y=4,00, z=122,50], yk['Sheep'/8426652, l='MpServer', x=-543,06, y=-0,04, z=132,06], zg['item.tile.sapling.oak'/8581539, l='MpServer', x=-588,75, y=5,25, z=94,68], ya['Chicken'/8426624, l='MpServer', x=-592,31, y=4,00, z=61,63], yj['Pig'/8426633, l='MpServer', x=-547,19, y=4,00, z=49,34], yj['Pig'/8426634, l='MpServer', x=-547,78, y=4,00, z=52,91], bww['pop1200000'/8355871, l='MpServer', x=-588,86, y=4,00, z=94,46], yj['Pig'/8426635, l='MpServer', x=-553,78, y=4,00, z=48,50], yj['Pig'/8426636, l='MpServer', x=-550,84, y=4,00, z=50,31]]
Retry entities: 0 total; []
Server brand: vanilla
Server type: Integrated singleplayer server
Stacktrace:
at bur.a(SourceFile:308)
at bja.b(SourceFile:2069)
at bja.f(SourceFile:764)
at net.minecraft.client.main.Main.main(SourceFile:121)

– System Details –
Details:
Minecraft Version: 14w17a
Operating System: Linux (i386) version 2.6.32-57-generic
Java Version: 1.6.0_30, Sun Microsystems Inc.
Java VM Version: OpenJDK Client VM (mixed mode, sharing), Sun Microsystems Inc.
Memory: 82706376 bytes (78 MB) / 216530944 bytes (206 MB) up to 518979584 bytes (494 MB)
JVM Flags: 1 total; -Xmx512M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 14w17a
LWJGL: 2.9.1
OpenGL: Mesa DRI Intel(R) 945G GEM 20091221 2009Q4 x86/MMX/SSE2 GL version 1.4 Mesa 7.7.1, Tungsten Graphics, Inc
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because EXT_framebuffer_object is supported.
Anisotropic filtering is supported and maximum anisotropy is 4.
Shaders are not available because OpenGL 2.1 is not supported, ARB_shader_objects is supported, ARB_vertex_shader is supported, and ARB_fragment_shader is not supported.

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)
Anisotropic Filtering: Off (1)

Linked issues

Attachments

Comments

kumasasa

There is no sapling with data value 6, compare http://minecraft.gamepedia.com/Data_values#Saplings

_pop1200000_

yeah but before it gave me like [value]-4 since there were only 4 types(before 1.7)

Sirius Tu

this crash will occur when attempting to give ones self sapling (number) 6 in snapshot 14w17a. also when loading the world will fail to render the non-existent sapling type and will immediately crash, and despite the wiki saying there is no type 6 it will attempt to "give" it and in turn crash.

Sirius Tu

my apologizes by down grading to 1.7.9 from 14w17a will cause the item ids to change by system and will prevent the problem of the crash however with the id's change everything item wise will be lost but cause your world to be playable again. pop i wish you luck and make a copy beforehand in case they fix it in the official release.

_pop1200000_

(Unassigned)

Unconfirmed

Minecraft 14w17a

Retrieved