Mojira Archive
MC-13259

The game crashes whenever a skeleton fires 1~3 arrows at me and misses.

summary of the bug

What I expected to happen was:the skeleton killing me.

What actually happened was:the game crashed.

Steps to Reproduce:
1. go into survival.
2. spawn/find a skeleton and make it shoot arrows at you and doge them.
3. boom! the game has crashed.

Crash report(old)

---- Minecraft Crash Report ----
// Oh - I know what I did wrong!

Time: 13. 4. 6 오후 8:29
Description: Ticking entity

java.lang.IllegalArgumentException: n must be positive
	at java.util.Random.nextInt(Unknown Source)
	at zb.a(SourceFile:145)
	at ng.c(SourceFile:780)
	at sq.d(SourceFile:745)
	at ng.a(SourceFile:675)
	at sq.a(SourceFile:676)
	at jc.a(SourceFile:250)
	at ss.l_(SourceFile:265)
	at aab.a(SourceFile:1336)
	at iz.a(SourceFile:508)
	at aab.g(SourceFile:1314)
	at aab.h(SourceFile:1221)
	at iz.h(SourceFile:390)
	at net.minecraft.server.MinecraftServer.r(SourceFile:462)
	at net.minecraft.server.MinecraftServer.q(SourceFile:397)
	at bjh.q(SourceFile:122)
	at net.minecraft.server.MinecraftServer.run(SourceFile:331)
	at gp.run(SourceFile:573)


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

-- Head --
Stacktrace:
	at java.util.Random.nextInt(Unknown Source)
	at zb.a(SourceFile:145)
	at ng.c(SourceFile:780)
	at sq.d(SourceFile:745)
	at ng.a(SourceFile:675)
	at sq.a(SourceFile:676)
	at jc.a(SourceFile:250)
	at ss.l_(SourceFile:265)
	at aab.a(SourceFile:1336)
	at iz.a(SourceFile:508)
	at aab.g(SourceFile:1314)

-- Entity being ticked --
Details:
	Entity Type: Arrow (ss)
	Entity ID: 5566
	Entity Name: arrow
	Entity's Exact location: -184.10, 64.73, 19.01
	Entity's Block location: World: (-185,64,19), Chunk: (at 7,4,3 in -12,1; contains blocks -192,0,16 to -177,255,31), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Entity's Momentum: -1.31, -0.31, -0.61
Stacktrace:
	at aab.h(SourceFile:1221)
	at iz.h(SourceFile:390)

-- Affected level --
Details:
	Level name: HaRdCoRe Battling
	All players: 1 total; [jc['???'/341, l='HaRdCoRe Battling', x=-185.02, y=63.00, z=18.53]]
	Chunk stats: ServerChunkCache: 901 Drop: 0
	Level seed: 8007228914878924762
	Level generator: ID 00 - default, ver 1. Features enabled: true
	Level generator options: 
	Level spawn location: World: (-152,64,256), Chunk: (at 8,4,0 in -10,16; contains blocks -160,0,256 to -145,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Level time: 15337 game time, 17765 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 149493 (now: false), thunder time: 109935 (now: false)
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Stacktrace:
	at net.minecraft.server.MinecraftServer.r(SourceFile:462)
	at net.minecraft.server.MinecraftServer.q(SourceFile:397)
	at bjh.q(SourceFile:122)
	at net.minecraft.server.MinecraftServer.run(SourceFile:331)
	at gp.run(SourceFile:573)

-- System Details --
Details:
	Minecraft Version: 1.5.1
	Operating System: Windows 7 (x86) version 6.1
	Java Version: 1.7.0_05, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
	Memory: 294401352 bytes (280 MB) / 519110656 bytes (495 MB) up to 1037959168 bytes (989 MB)
	JVM Flags: 2 total; -Xms512m -Xmx1024m
	AABB Pool Size: 6873 (384888 bytes; 0 MB) allocated, 6046 (338576 bytes; 0 MB) used
	Suspicious classes: No suspicious classes found.
	IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
	Profiler Position: N/A (disabled)
	Vec3 Pool Size: 1499 (83944 bytes; 0 MB) allocated, 1332 (74592 bytes; 0 MB) used
	Player Count: 1 / 8; [jc['???'/341, l='HaRdCoRe Battling', x=-185.02, y=63.00, z=18.53]]
	Type: Integrated Server (map_client.txt)
	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

Crash report(java updated)

---- Minecraft Crash Report ----
// I feel sad now :(

Time: 13. 4. 9 오후 3:22
Description: Ticking entity

java.lang.IllegalArgumentException: n must be positive
	at java.util.Random.nextInt(Unknown Source)
	at zb.a(SourceFile:145)
	at ng.c(SourceFile:780)
	at sq.d(SourceFile:745)
	at ng.a(SourceFile:668)
	at sq.a(SourceFile:676)
	at jc.a(SourceFile:250)
	at zw.a(SourceFile:116)
	at iz.a(SourceFile:684)
	at aab.a(SourceFile:1542)
	at ru.l_(SourceFile:103)
	at aab.a(SourceFile:1336)
	at iz.a(SourceFile:508)
	at aab.g(SourceFile:1314)
	at aab.h(SourceFile:1221)
	at iz.h(SourceFile:390)
	at net.minecraft.server.MinecraftServer.r(SourceFile:462)
	at net.minecraft.server.MinecraftServer.q(SourceFile:397)
	at bjh.q(SourceFile:122)
	at net.minecraft.server.MinecraftServer.run(SourceFile:331)
	at gp.run(SourceFile:573)


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

-- Head --
Stacktrace:
	at java.util.Random.nextInt(Unknown Source)
	at zb.a(SourceFile:145)
	at ng.c(SourceFile:780)
	at sq.d(SourceFile:745)
	at ng.a(SourceFile:668)
	at sq.a(SourceFile:676)
	at jc.a(SourceFile:250)
	at zw.a(SourceFile:116)
	at iz.a(SourceFile:684)
	at aab.a(SourceFile:1542)
	at ru.l_(SourceFile:103)
	at aab.a(SourceFile:1336)
	at iz.a(SourceFile:508)
	at aab.g(SourceFile:1314)

-- Entity being ticked --
Details:
	Entity Type: Creeper (ru)
	Entity ID: 431
	Entity Name: Creeper
	Entity's Exact location: -177.30, 63.00, 19.32
	Entity's Block location: World: (-178,63,19), Chunk: (at 14,3,3 in -12,1; contains blocks -192,0,16 to -177,255,31), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Entity's Momentum: 0.00, -0.08, 0.00
Stacktrace:
	at aab.h(SourceFile:1221)
	at iz.h(SourceFile:390)

-- Affected level --
Details:
	Level name: HaRdCoRe Battling
	All players: 1 total; [jc['???'/294, l='HaRdCoRe Battling', x=-180.70, y=63.96, z=20.15]]
	Chunk stats: ServerChunkCache: 898 Drop: 0
	Level seed: 8007228914878924762
	Level generator: ID 00 - default, ver 1. Features enabled: true
	Level generator options: 
	Level spawn location: World: (-152,64,256), Chunk: (at 8,4,0 in -10,16; contains blocks -160,0,256 to -145,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Level time: 15636 game time, 18064 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 149194 (now: false), thunder time: 109636 (now: false)
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Stacktrace:
	at net.minecraft.server.MinecraftServer.r(SourceFile:462)
	at net.minecraft.server.MinecraftServer.q(SourceFile:397)
	at bjh.q(SourceFile:122)
	at net.minecraft.server.MinecraftServer.run(SourceFile:331)
	at gp.run(SourceFile:573)

-- System Details --
Details:
	Minecraft Version: 1.5.1
	Operating System: Windows 7 (x86) version 6.1
	Java Version: 1.7.0_17, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
	Memory: 353955848 bytes (337 MB) / 519110656 bytes (495 MB) up to 1037959168 bytes (989 MB)
	JVM Flags: 2 total; -Xms512m -Xmx1024m
	AABB Pool Size: 6504 (364224 bytes; 0 MB) allocated, 4956 (277536 bytes; 0 MB) used
	Suspicious classes: No suspicious classes found.
	IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
	Profiler Position: N/A (disabled)
	Vec3 Pool Size: 2074 (116144 bytes; 0 MB) allocated, 2074 (116144 bytes; 0 MB) used
	Player Count: 1 / 8; [jc['???'/294, l='HaRdCoRe Battling', x=-180.70, y=63.96, z=20.15]]
	Type: Integrated Server (map_client.txt)
	Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

Fixed

구지민

2013-04-06, 02:41 PM

2013-05-30, 06:23 PM

2013-05-30, 06:22 PM

0

2

Unconfirmed

crash

Minecraft 1.5.1

Minecraft 1.5.2