mojira.dev
MC-46548

Spectator mode: Crash when using shift click in containers while closing container

If you are in spectating mode, and open a chest, you cannot remove items, but if you shift click and item at the SAME time as exiting the chest, the minecraft will exit!

It might not work when just shift clicking, but when clicking, shifting and pressing a numper, AND exiting at the same time, it crashes

Error message:

---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 30.01.14 21:31
Description: Updating screen events

java.lang.IndexOutOfBoundsException: Index: 49, Size: 45
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at aai.a(SourceFile:298)
	at bnd.a(SourceFile:357)
	at bgp.a(SourceFile:515)
	at bgp.a(SourceFile:539)
	at bgp.a(SourceFile:524)
	at bfk.l(SourceFile:257)
	at bfk.k(SourceFile:225)
	at bcf.p(SourceFile:1354)
	at bcf.ag(SourceFile:776)
	at bcf.f(SourceFile:730)
	at net.minecraft.client.main.Main.main(SourceFile:154)


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

-- Head --
Stacktrace:
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at aai.a(SourceFile:298)
	at bnd.a(SourceFile:357)
	at bgp.a(SourceFile:515)
	at bgp.a(SourceFile:539)
	at bgp.a(SourceFile:524)
	at bfk.l(SourceFile:257)
	at bfk.k(SourceFile:225)

-- Affected screen --
Details:
	Screen name: ~~ERROR~~ NullPointerException: null

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [bpg['Nikko565'/7, l='MpServer', x=637,38, y=31,75, z=-291,88]]
	Chunk stats: MultiplayerChunkCache: 25, 25
	Level seed: 0
	Level generator: ID 01 - flat, ver 0. Features enabled: false
	Level generator options: 
	Level spawn location: 689,00,26,00,-265,00 - World: (689,26,-265), Chunk: (at 1,1,7 in 43,-17; contains blocks 688,0,-272 to 703,255,-257), Region: (1,-1; contains chunks 32,-32 to 63,-1, blocks 512,0,-512 to 1023,255,-1)
	Level time: 551126 game time, 512 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: spectator (ID 3). Hardcore: false. Cheats: false
	Forced entities: 1 total; [bpg['Nikko565'/7, l='MpServer', x=637,38, y=31,75, z=-291,88]]
	Retry entities: 0 total; []
	Server brand: vanilla
	Server type: Integrated singleplayer server
Stacktrace:
	at bne.a(SourceFile:298)
	at bcf.b(SourceFile:2010)
	at bcf.f(SourceFile:739)
	at net.minecraft.client.main.Main.main(SourceFile:154)

-- System Details --
Details:
	Minecraft Version: 14w05a
	Operating System: Windows 7 (x86) version 6.1
	Java Version: 1.7.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
	Memory: 63773008 bytes (60 MB) / 137469952 bytes (131 MB) up to 518979584 bytes (494 MB)
	JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 14w05a
	LWJGL: 2.9.1
	OpenGL: Intel(R) HD Graphics Family GL version 3.0.0 - Build 8.15.10.2342, Intel
	GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: [faithful32pack.zip]
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	Anisotropic Filtering: Off (1)

Comments 3

Please attach the complete output of the "Development console" which can be found on the second tab of the launcher.

If the launcher closes after game start, please edit your profile and select "Launcher visibility" then, "Keep the launcher open".

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Nikko

(Unassigned)

Unconfirmed

Minecraft 14w05a

Retrieved