mojira.dev
MC-35763

Did /give usernam 117, instantly disconnected the player. Player tried to reconnect and server crashed and game this as the output.

did /give playername 117, server crashed. Note: Changing map let the server come back up and was playable. So it only effected the map save file, but still an important bug


Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: @unknown

Time: 10/18/13 8:47 AM
Description: Exception in server tick loop

java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Random.java:300)
at agj.a(SourceFile:197)
at agj.a(SourceFile:27)
at agd.a(SourceFile:355)
at agl.a(SourceFile:29)
at ape.a(SourceFile:432)
at mh.a(SourceFile:160)
at aoc.a(SourceFile:781)
at mh.c(SourceFile:95)
at net.minecraft.server.MinecraftServer.g(SourceFile:242)
at net.minecraft.server.MinecraftServer.a(SourceFile:212)
at li.e(SourceFile:180)
at net.minecraft.server.MinecraftServer.run(SourceFile:328)
at kx.run(SourceFile:617)

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

– System Details –
Details:
Minecraft Version: 13w42a
Operating System: Linux (amd64) version 2.6.32-042stab076.5
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 208726336 bytes (199 MB) / 257294336 bytes (245 MB) up to 3817799680 bytes (3640 MB)
JVM Flags: 3 total; -Xmx1024M -Xms256M -Xmx4096M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 35; []
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)

Linked issues

Attachments

Comments 3

Unable to reproduce, instead got an error.

AND, that is working as intended. I'm assuming they switched from numerical ids to named ids in this snapshot.

Item ID 117 is the block id for the brewing stand, which was removed alongside ids 26, 71, 64, 91, 118, this list is so long that I won't bother listing them all. The Wiki page can be found here: http://minecraft.gamepedia.com/Data_values

Kyle M Berg

(Unassigned)

Unconfirmed

crash

Minecraft 13w42a

Retrieved