java.lang.IllegalArgumentException: n must be positive

Mojang JIRA | [Bot] Hopper | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    This is an automatically generated report based from the following crash: http://hopper.minecraft.net/crashes/minecraft/MCX-482665/ Crash: {code} java.lang.IllegalArgumentException: n must be positive at java.util.Random.nextInt(Unknown Source) at ahb.a(SourceFile:61) at apl.a(SourceFile:432) at mi.a(SourceFile:160) at aoj.a(SourceFile:781) at mi.c(SourceFile:95) at mh.<init>(SourceFile:31) at mg.a(SourceFile:212) at mg.a(SourceFile:249) at ld.a(SourceFile:155) at ld.c(SourceFile:206) at ld.a(SourceFile:100) at nd.c(SourceFile:87) at nd.a(SourceFile:52) at ef.a(SourceFile:166) {code} The following is the first clean report made public about this crash: {code} ---- Minecraft Crash Report ---- // I feel sad now :( Time: 10/26/13 9:31 PM Description: Ticking memory connection java.lang.IllegalArgumentException: n must be positive at java.util.Random.nextInt(Unknown Source) at ahb.a(SourceFile:61) at apl.a(SourceFile:432) at mi.a(SourceFile:160) at aoj.a(SourceFile:781) at mi.c(SourceFile:95) at mh.<init>(SourceFile:31) at mg.a(SourceFile:212) at mg.a(SourceFile:249) at ld.a(SourceFile:155) at ld.c(SourceFile:206) at ld.a(SourceFile:100) at nd.c(SourceFile:87) at nd.a(SourceFile:52) at ef.a(SourceFile:166) at ms.c(SourceFile:134) at net.minecraft.server.MinecraftServer.u(SourceFile:529) at net.minecraft.server.MinecraftServer.t(SourceFile:441) at bsk.t(SourceFile:117) at net.minecraft.server.MinecraftServer.run(SourceFile:358) at ky.run(SourceFile:617) 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 ahb.a(SourceFile:61) at apl.a(SourceFile:432) at mi.a(SourceFile:160) at aoj.a(SourceFile:781) at mi.c(SourceFile:95) at mh.<init>(SourceFile:31) at mg.a(SourceFile:212) at mg.a(SourceFile:249) at ld.a(SourceFile:155) at ld.c(SourceFile:206) at ld.a(SourceFile:100) at nd.c(SourceFile:87) at nd.a(SourceFile:52) at ef.a(SourceFile:166) -- Ticking connection -- Details: Connection: ef@1ac20d7 Stacktrace: at ms.c(SourceFile:134) at net.minecraft.server.MinecraftServer.u(SourceFile:529) at net.minecraft.server.MinecraftServer.t(SourceFile:441) at bsk.t(SourceFile:117) at net.minecraft.server.MinecraftServer.run(SourceFile:358) at ky.run(SourceFile:617) -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.7.0_45, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation Memory: 31233312 bytes (29 MB) / 133926912 bytes (127 MB) up to 518979584 bytes (494 MB) JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M AABB Pool Size: 33 (1848 bytes; 0 MB) allocated, 33 (1848 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 Profiler Position: N/A (disabled) Vec3 Pool Size: 1 (56 bytes; 0 MB) allocated, 1 (56 bytes; 0 MB) used Player Count: 1 / 8; [mm['Nethrisa'/462, l='Super Hostile - Sunburn Islands', x=-129.92, y=116.47, z=-552.64]] Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched. {code} You can see this full report at http://hopper.minecraft.net/crashes/minecraft/MCX-482665/22131281/

    Mojang JIRA | 3 years ago | [Bot] Hopper
    java.lang.IllegalArgumentException: n must be positive
  2. 0

    Exception during infusion crafting

    GitHub | 3 years ago | AlexiyOrlov
    net.minecraft.util.ReportedException: Ticking tile entity
  3. 0

    Crash when closing basic materials book in 1.7.2

    GitHub | 3 years ago | Blockmaster139
    java.lang.IllegalArgumentException: n must be positive
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Generating new chunk

    GitHub | 3 years ago | h4ck3r93
    java.lang.IllegalArgumentException: n must be positive
  6. 0

    crash report

    GitHub | 3 years ago | johnfg12
    java.lang.IllegalArgumentException: n must be positive

  1. gamebusterz 31 times, last 2 months ago
  2. gehel 12 times, last 5 months ago
  3. sriharshakiran 1 times, last 10 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    n must be positive

    at java.util.Random.nextInt()
  2. Java RT
    Random.nextInt
    1. java.util.Random.nextInt(Unknown Source)
    1 frame
  3. Unknown
    ef.a
    1. ahb.a(SourceFile:61)
    2. apl.a(SourceFile:432)
    3. mi.a(SourceFile:160)
    4. aoj.a(SourceFile:781)
    5. mi.c(SourceFile:95)
    6. mh.<init>(SourceFile:31)
    7. mg.a(SourceFile:212)
    8. mg.a(SourceFile:249)
    9. ld.a(SourceFile:155)
    10. ld.c(SourceFile:206)
    11. ld.a(SourceFile:100)
    12. nd.c(SourceFile:87)
    13. nd.a(SourceFile:52)
    14. ef.a(SourceFile:166)
    14 frames