[MC-3583] java.lang.NullPointerException: Exception ticking world (at ml.c(SourceFile:199)) (Corrupted Nether chunks) Created: 21/Nov/12 Updated: 08/Jul/14 Resolved: 11/Jan/14 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Minecraft 1.5.1, Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 13w41b, Minecraft 13w42b, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w02b, Minecraft 1.7.5 |
| Fix Version/s: | Minecraft 14w02c |
| Type: | Bug | ||
| Reporter: | andrew | Assignee: | [Mojang] Searge (Michael Stoyke) |
| Resolution: | Fixed | Votes: | 6 |
| Labels: | crash, entering, leaving, nether, returning | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Game Mode: | Survival | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
From MC-19606: I can prove though that there are synchronization errors caused by Packet3Chat when a chat message contains Illegal characters. I do not believe this is a duplicate of So to make sure I am more clear this time the crash report may or may not have been caused by this issue. I do not believe it has as I have been unable to reliable reproduce it through this issue. All I can say is it is a synchronization issue that did happen once during my testing so it may be related this issue. Edit: To continue on with what I was saying before. I looked closer at the classes involved in the crash report. The last classed before reaching Java runtime classes are involved with chunk loading and saving. I do believe chunk loading and saving is handled by it's own thread and from what I have followed of this issue the network read thread does not reach any of those classes. Again this does not mean it is not related but it does make it much less likely. Edit 2: After further digging into packet classes. Packet3Chat is not the only one that can cause synchronization issues. Any packet that can be processed asynchronously in minecraft 1.5.2 can cause synchronization problems. All packets but Packet3Chat are not handled by the server and cause the client to be kicked. Packet3Chat is the exception that i needs to have an Illegal character as a part of it without a leading '/' All packets with this issue are: The issue lies in the fact that the disconnect method is called from the read thread dedicated to the client. The disconnect method then calls various methods into the server to remove the player from lists and to save the player to disk. All of this happens with the main thread still running updates on the worlds Crash after returning from The Nether When i go from the nether to overworld my minecraft crashes. It only happens on my one world. Steps to reproduce: ---- Minecraft Crash Report ---- // Hey, that tickles! Hehehe! Time: 02/01/14 5:19 PM Description: Exception ticking world java.lang.NullPointerException: Exception ticking world at ml.c(SourceFile:199) at mm.b(SourceFile:120) at net.minecraft.server.MinecraftServer.u(SourceFile:502) at net.minecraft.server.MinecraftServer.t(SourceFile:440) at btk.t(SourceFile:117) at net.minecraft.server.MinecraftServer.run(SourceFile:357) at lb.run(SourceFile:616) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at ml.c(SourceFile:199) at mm.b(SourceFile:120) -- Affected level -- Details: Level name: world All players: 0 total; [] Chunk stats: ServerChunkCache: 90 Drop: 90 Level seed: 5244763267944565675 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 0 game time, 0 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: ~~ERROR~~ NullPointerException: null Stacktrace: at net.minecraft.server.MinecraftServer.u(SourceFile:502) at net.minecraft.server.MinecraftServer.t(SourceFile:440) at btk.t(SourceFile:117) at net.minecraft.server.MinecraftServer.run(SourceFile:357) at lb.run(SourceFile:616) -- System Details -- Details: Minecraft Version: 1.7.4 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_45, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 174744152 bytes (166 MB) / 584581120 bytes (557 MB) up to 954728448 bytes (910 MB) JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G AABB Pool Size: 9756 (546336 bytes; 0 MB) allocated, 7981 (446936 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 Profiler Position: N/A (disabled) Vec3 Pool Size: 1825 (102200 bytes; 0 MB) allocated, 1477 (82712 bytes; 0 MB) used Player Count: 1 / 8; [mp['Dwz14'/328, l='world', x=166.21, y=116.00, z=544.07]] Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched. |
| Comments |
| Comment by Curt Hostetter [ 06/Dec/13 ] |
|
I am having the same issue. Just like Christopher Wooddell, it only happens on one world. In single player, whenever I go from Nether to Overworld it crashes. I've found that if I open the world up to LAN and have a second player in the world, it does not crash for my player any longer. However, it will crash the server if the second player goes through the portal from Nether to Overworld. I have checked my logs - I do not have any chunk errors. I am happy to upload my save if it helps. Edit (12/8/2013): Turns out I had a corrupted Nether chunk after all! I was able to fix it thanks to this tool here: https://github.com/Fenixin/Minecraft-Region-Fixer Very helpful! |
| Comment by Tails [ 10/Nov/13 ] |
|
Corrupted world: [23:43:13 ERROR]: Chunk file at -11,-3 is in the wrong location; relocating. (Expected -11, -3, got -3, -4) [23:43:13 ERROR]: Chunk file at -8,-12 is in the wrong location; relocating. (Expected -8, -12, got -4, -2) |
| Comment by Kumasasa [ 29/Oct/13 ] |
|
Can confirm with your world. |
| Comment by Christopher Wooddell [ 27/Oct/13 ] |
|
Here is a link to the file on Rapidshare: As the save stands now, you will log in right inside my nether portal from the overworld side (to save you the trouble of finding it.) Just stand still, go to the nether, then go back. This should be all that's necessary to reproduce the issue. |
| Comment by Kumasasa [ 27/Oct/13 ] |
|
Can you upload the world to a 3rd party file hoster ? |
| Comment by Christopher Wooddell [ 27/Oct/13 ] |
|
This has been an issue for me, same issue, same crash type, same steps to reproduce. PC Windows 7 environment. Should also mention that I've copied this world to six other PCs and laptops across multiple kinds of hardware and the result is the same each time. If you use my world it only takes roughly 20 seconds to duplicate the issue with 100% (out of 15+ trials) repeatability. |
| Comment by Ankur [ 01/Oct/13 ] |
|
Game still crashes when teleporting back from nether... |
| Comment by Alejandro Carmona [ 02/Aug/13 ] |
|
Why does the environment say IMAC? I have the issue on my PC. I want a damn fix. I haven't been able to play minecraft fully because of this. I tried to get a refund but they pretty much said too bad. When will this be handled? Is it because such a low percentage of people have it that you pretty much say oh well? |
| Comment by Ankur [ 02/Aug/13 ] |
|
You guys have any solution or you guys are just gonna post this stupid comments like "No answer on query, assuming no longer an issue." ? |
| Comment by Kumasasa [ 02/Aug/13 ] |
|
From Description: Exception ticking world java.lang.NullPointerException at jq.c(SourceFile:206) at jr.b(SourceFile:110) at net.minecraft.server.MinecraftServer.t(SourceFile:462) at net.minecraft.server.MinecraftServer.s(SourceFile:405) at bkw.s(SourceFile:124) at net.minecraft.server.MinecraftServer.run(SourceFile:339) at hh.run(SourceFile:582) |
| Comment by Tails [ 17/May/13 ] |
|
Reopened due to Description: Exception ticking world java.lang.NullPointerException at iy.c(SourceFile:201) at iz.b(SourceFile:122) at net.minecraft.server.MinecraftServer.r(SourceFile:454) at net.minecraft.server.MinecraftServer.q(SourceFile:397) at bjg.q(SourceFile:122) at net.minecraft.server.MinecraftServer.run(SourceFile:331) at gp.run(SourceFile:573) |
| Comment by Christian Ruby [ 09/Jan/13 ] |
|
I have the same problem. Steps to reproduce: |
| Comment by Tails [ 09/Jan/13 ] |
|
Note: Description: Exception ticking world java.lang.NullPointerException at im.b(SourceFile:199) |
| Comment by [Mod] CubeTheThird [ 21/Nov/12 ] |
|
Try updating your java, as your current version is outdated. |