I'm making an adventure map, and I've been using MCEdit to delete chunks around a floating platform. I tried teleporting (edit: in-game with /tp) 300 blocks away (ungenerated chunks) to build another area farther along in the minigame, but then my game crashed, and I have no idea why. Looking at the console (and observations in-game) it appears to be caused by my teleportation.
I've been using tellraw, scoreboard, attributes, section sign in command blocks via NBT editing, and various MCEdit filters/block deleting (mentioned above), though I don't see how my usage of any of these things could have caused this.
Here's my crash log:
---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.
java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Unknown Source)
at agm.a(SourceFile:122)
at agm.a(SourceFile:27)
at agg.a(SourceFile:362)
at ago.a(SourceFile:29)
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 agm.a(SourceFile:122)
at agm.a(SourceFile:27)
at agg.a(SourceFile:362)
at ago.a(SourceFile:29)
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: [email protected]
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 (amd64) version 6.1
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 127298056 bytes (121 MB) / 207618048 bytes (198 MB) up to 954728448 bytes (910 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
AABB Pool Size: 192 (10752 bytes; 0 MB) allocated, 184 (10304 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
Profiler Position: N/A (disabled)
Vec3 Pool Size: 20 (1120 bytes; 0 MB) allocated, 20 (1120 bytes; 0 MB) used
Player Count: 1 / 8; [mm['Roadsguy'/25, l='SMW (1.7 only!)', x=0.50, y=83.36, z=500.50]]
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
I'm running Minecraft 1.7.2 vanilla (this is the unmodded support section after all) on Windows 7 with 64-bit Java 7.
Yeah, it's corrupt. I'll make a backup and try some chunk stuff in MCEdit. Fortunately, I have another backup, but I did a lot of stuff in a short time after it. From now on I'm backing up frequently!
If it matters, here's the crash report, though I wouldn't be surprised if it's just a duplicate:
---- Minecraft Crash Report ----
// Uh... Did I do that?
Time: 11/20/13 7:02 AM
Description: Ticking memory connection
java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Unknown Source)
at agm.a(SourceFile:122)
at agm.a(SourceFile:27)
at agg.a(SourceFile:362)
at ago.a(SourceFile:29)
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.d(SourceFile:346)
at ld.d(SourceFile:215)
at mx.a(SourceFile:280)
at ir.a(SourceFile:137)
at is.a(SourceFile:63)
at ef.a(SourceFile:164)
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 agm.a(SourceFile:122)
at agm.a(SourceFile:27)
at agg.a(SourceFile:362)
at ago.a(SourceFile:29)
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.d(SourceFile:346)
at ld.d(SourceFile:215)
at mx.a(SourceFile:280)
at ir.a(SourceFile:137)
at is.a(SourceFile:63)
at ef.a(SourceFile:164)
-- Ticking connection --
Details:
Connection: [email protected]
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 (amd64) version 6.1
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 101292912 bytes (96 MB) / 258473984 bytes (246 MB) up to 954728448 bytes (910 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
AABB Pool Size: 315 (17640 bytes; 0 MB) allocated, 174 (9744 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
Profiler Position: N/A (disabled)
Vec3 Pool Size: 30 (1680 bytes; 0 MB) allocated, 13 (728 bytes; 0 MB) used
Player Count: 1 / 8; [mm['Roadsguy'/25, l='SMW (1.7 only!)', x=-1.87, y=84.86, z=352.14]]
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
EDIT: 1,000th post!
EDIT: It seems to have something to do with how I was deleting blocks in the default world to simulate an empty void world in that area. I tried deleting the far edge chunks, and it worked (!), but going to another edge chunk still crashed. I deleted them all now. Let's see if it'll work...
Okay, that didn't work... I tried reducing the world to the chunks that I had built in, deleting the natural terrain around it, and the game "crashes" each time. The odd part is that the game doesn't close itself. The console spits out a crash report, but the game hangs on the "Loading World - Building Terrain" screen. It also doesn't act like any other program when it freezes up: it's perfectly "responsive" even though the console says it crashed.
Here's the crash report:
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 11/20/13 7:45 AM
Description: Exception in server tick loop
java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Unknown Source)
at agm.a(SourceFile:176)
at agm.a(SourceFile:27)
at agg.a(SourceFile:362)
at ago.a(SourceFile:29)
at apl.a(SourceFile:432)
at mi.a(SourceFile:160)
at aoj.a(SourceFile:781)
at mi.c(SourceFile:95)
at net.minecraft.server.MinecraftServer.g(SourceFile:242)
at bsk.a(SourceFile:83)
at bsk.e(SourceFile:99)
at net.minecraft.server.MinecraftServer.run(SourceFile:328)
at ky.run(SourceFile:617)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 51319808 bytes (48 MB) / 180355072 bytes (172 MB) up to 954728448 bytes (910 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
Anyone have any tips or am I stuck reverting to my older backup and figuring out what I had and hadn't done yet when I made it?
I'm not so familiar with McEdit but I'm pretty sure there's a "repair world" option somewhere. Look for it, and let me know if it works
Actually, it seems that when I go in and it gives me this odd error, the "Player" section of level.dat is gone for no apparent reason. Does this have anything to do with it? Also, "Region Repair" doesn't seem to do anything.
Good news! I was able to port most if not all of the current stuff from the corrupted world to my older backup with MCEdit. Even though I fully recovered from this, I'd still like to possibly know what caused it and what to do if it happens again and I don't have a backup for whatever reason.
I've been using tellraw, scoreboard, attributes, section sign in command blocks via NBT editing, and various MCEdit filters/block deleting (mentioned above), though I don't see how my usage of any of these things could have caused this.
Here's my crash log:
---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.
Time: 11/19/13 9:33 PM
Description: Ticking memory connection
java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Unknown Source)
at agm.a(SourceFile:122)
at agm.a(SourceFile:27)
at agg.a(SourceFile:362)
at ago.a(SourceFile:29)
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 agm.a(SourceFile:122)
at agm.a(SourceFile:27)
at agg.a(SourceFile:362)
at ago.a(SourceFile:29)
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: [email protected]
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 (amd64) version 6.1
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 127298056 bytes (121 MB) / 207618048 bytes (198 MB) up to 954728448 bytes (910 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
AABB Pool Size: 192 (10752 bytes; 0 MB) allocated, 184 (10304 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
Profiler Position: N/A (disabled)
Vec3 Pool Size: 20 (1120 bytes; 0 MB) allocated, 20 (1120 bytes; 0 MB) used
Player Count: 1 / 8; [mm['Roadsguy'/25, l='SMW (1.7 only!)', x=0.50, y=83.36, z=500.50]]
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
I'm running Minecraft 1.7.2 vanilla (this is the unmodded support section after all) on Windows 7 with 64-bit Java 7.
-
View User Profile
-
View Posts
-
Send Message
ModeratorIf it matters, here's the crash report, though I wouldn't be surprised if it's just a duplicate:
---- Minecraft Crash Report ----
// Uh... Did I do that?
Time: 11/20/13 7:02 AM
Description: Ticking memory connection
java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Unknown Source)
at agm.a(SourceFile:122)
at agm.a(SourceFile:27)
at agg.a(SourceFile:362)
at ago.a(SourceFile:29)
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.d(SourceFile:346)
at ld.d(SourceFile:215)
at mx.a(SourceFile:280)
at ir.a(SourceFile:137)
at is.a(SourceFile:63)
at ef.a(SourceFile:164)
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 agm.a(SourceFile:122)
at agm.a(SourceFile:27)
at agg.a(SourceFile:362)
at ago.a(SourceFile:29)
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.d(SourceFile:346)
at ld.d(SourceFile:215)
at mx.a(SourceFile:280)
at ir.a(SourceFile:137)
at is.a(SourceFile:63)
at ef.a(SourceFile:164)
-- Ticking connection --
Details:
Connection: [email protected]
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 (amd64) version 6.1
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 101292912 bytes (96 MB) / 258473984 bytes (246 MB) up to 954728448 bytes (910 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
AABB Pool Size: 315 (17640 bytes; 0 MB) allocated, 174 (9744 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
Profiler Position: N/A (disabled)
Vec3 Pool Size: 30 (1680 bytes; 0 MB) allocated, 13 (728 bytes; 0 MB) used
Player Count: 1 / 8; [mm['Roadsguy'/25, l='SMW (1.7 only!)', x=-1.87, y=84.86, z=352.14]]
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
EDIT: 1,000th post!
EDIT: It seems to have something to do with how I was deleting blocks in the default world to simulate an empty void world in that area. I tried deleting the far edge chunks, and it worked (!), but going to another edge chunk still crashed. I deleted them all now. Let's see if it'll work...
Here's the crash report:
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 11/20/13 7:45 AM
Description: Exception in server tick loop
java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Unknown Source)
at agm.a(SourceFile:176)
at agm.a(SourceFile:27)
at agg.a(SourceFile:362)
at ago.a(SourceFile:29)
at apl.a(SourceFile:432)
at mi.a(SourceFile:160)
at aoj.a(SourceFile:781)
at mi.c(SourceFile:95)
at net.minecraft.server.MinecraftServer.g(SourceFile:242)
at bsk.a(SourceFile:83)
at bsk.e(SourceFile:99)
at net.minecraft.server.MinecraftServer.run(SourceFile:328)
at ky.run(SourceFile:617)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 51319808 bytes (48 MB) / 180355072 bytes (172 MB) up to 954728448 bytes (910 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
Anyone have any tips or am I stuck reverting to my older backup and figuring out what I had and hadn't done yet when I made it?
Actually, it seems that when I go in and it gives me this odd error, the "Player" section of level.dat is gone for no apparent reason. Does this have anything to do with it? Also, "Region Repair" doesn't seem to do anything.