For corrupted worlds, please see MC-2545
Crash: During the loading process of a world, Minecraft switches briefly to the main menu (see MC-185).
If you start loading a world, that takes a long time to load (due to corrupted chunks, see attached world below), when Minecraft switches to the main menu it is now possible to open a second instance of the same/another world, that will lead to the crash attached below.
Steps to reproduce:
1. Download the attached world below.
2. Start it.
3. When the game switches to the main menu quickly open the same or another world.
Minecraft crashes with the crash attached below.
Original Description:
After updating to 1.4.5, I logged in and presumed play.
At one point, an invisible (and unbreakable) block blocked my path. It was after I navigated a path around it that I noticed some serious lag.
I restarted my computer, hoping this would solve things.
Selected my save file and proceeded to load into the game
The game returned me to the main menu screen
I reselected my save file and waited during the loading screen
This is where the game crashes! Please see attached txt.
*Note
If I select my save file (the first time), and wait about 20 seconds (after being kicked back to the main menu) the game actually loads! However, it is impossible to play because of intense lag.
I have no mods installed, and I was on single player!
Basic cause: Corrupted chunks, see MC-2545.
I hope this is enough information!
Related issues
is duplicated by
Attachments
Comments


Can you provide the seed of the world or the world itself ?

Thanks for the reply!
Is this what you're looking for?
Seed: 51101489707484172
Spawn: 48, 64, -160
Player: 71.77, 43.0, -15.38

Tried to reproduce with your seed and coordinates, but no crash, see screenshot.

I attached the level.dat - if that helps. It's still crashing! Is there anything I can do?

I'm afraid the level.dat is not enough, can you ZIP the complete world and attach here ? (only if the resulting file is smaller than 10 MB)

Thanks for being so patient. I only started a few weeks ago - but the game is great!

Thanks for the world, but I still cannot reproduce your Issue.

Well, after running around a bit, the FSP dropped to zero, when reloading your world, I'm getting repeatedly this in the console:
Wrong location! qr['Zombie'/7465, l='Don't Die City', x=18,30, y=19,00, z=-65,70
]
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at zs.a(SourceFile:508)
at aaf.a(SourceFile:277)
at aaf.a(SourceFile:87)
at aaf.a(SourceFile:75)
at im.f(SourceFile:125)
at im.c(SourceFile:76)
at net.minecraft.server.MinecraftServer.e(SourceFile:513)
at bdo.a(SourceFile:83)
at bdo.c(SourceFile:99)
at net.minecraft.server.MinecraftServer.run(SourceFile:595)
at fy.run(SourceFile:856)
Wrong location! qr['Zombie'/7466, l='Don't Die City', x=23,70, y=19,00, z=-65,70

Hurray. I'm not crazy. 😃
What can I do to fix this? Do you have any good ideas?

Nothing. You'll have to wait for Mojang to fix this issue. I cannot do more here

Ah well. Thank you for your help!
Do you know how the process works at Mojang regarding these types of bugs?

You might take a look here http://www.minecraftforum.net/topic/137381-official-corrupted-save-recovery-thread/

Note:
Description: Exception in server tick loop
java.lang.NullPointerException
at cf.b(SourceFile:103)
at cf.a(SourceFile:35)
at iv.b(SourceFile:437)
at gm.a(SourceFile:72)
at bdr.b(SourceFile:73)

I can still load my world, but I get constant "Wrong location" messages and I can't interact with the world at all. If I break a block, it pops back. If I move to a different area and quit, when I come back, I'm in the same place I was when I started the last time.

Mostly the 'Wrong location' messages I'm seeing are about bats.

I reset my world save to a previous state and I'm now able to interact with the world. The 'Wrong location' messages for bats keep repeating, but when I move far enough away, the messages stop. However, when I go back to my base, the bat messages start occurring again. I'm assuming this is just due to the bats despawning when I move away and then respawning when I come back.

The error is still occurring with the 1.4.7 pre-release.

It seems like the world save is corrupting.

If you want to fix this issue with your world , just go to MCEdit and select a huge area and delete all the entities , that worked for me 🙂

That might help for the short term, but it doesn't fix the original problem. The entities could start messing up again later.

Add labels to avoid more duplicates.

Voted up, also having this issue on my server, MC 1.5
EDIT: Adding server.log snippet
2013-03-16 19:11:30 [INFO] Starting minecraft server version 1.5
2013-03-16 19:11:30 [INFO] Loading properties
2013-03-16 19:11:30 [INFO] Default game type: SURVIVAL
2013-03-16 19:11:30 [INFO] Generating keypair
2013-03-16 19:11:31 [INFO] Starting Minecraft server on *:25565
2013-03-16 19:11:31 [INFO] Preparing level "world"
2013-03-16 19:11:31 [INFO] Preparing start region for level 0
2013-03-16 19:11:31 [SEVERE] Chunk file at -21,1 is in the wrong location; relocating. (Expected -21, 1, got -28, 1
)
2013-03-16 19:11:31 [SEVERE] Chunk file at -19,2 is in the wrong location; relocating. (Expected -19, 2, got -16, 2
)
2013-03-16 19:11:32 [INFO] Done (1.121s)! For help, type "help" or "?"
2013-03-16 19:11:32 [INFO] Starting GS4 status listener
2013-03-16 19:11:32 [INFO] Starting remote control listener
2013-03-16 19:11:32 [INFO] Query running on 0.0.0.0:25565
2013-03-16 19:11:32 [INFO] RCON running on 0.0.0.0:25575
2013-03-16 19:12:07 [WARNING] Failed to load player data for scooter789
2013-03-16 19:12:07 [INFO] scooter789[/174.49.179.137:50975] logged in with entity id 214 at (-227.5, 65.0, 160.5)
2013-03-16 19:12:46 [SEVERE] Wrong location! qa['Bat'/711, l='world', x=-299.50, y=17.00, z=38.50]
2013-03-16 19:12:46 [SEVERE] Wrong location! qa['Bat'/711, l='world', x=-299.50, y=17.00, z=38.50]
2013-03-16 19:13:43 [SEVERE] Wrong location! qa['Bat'/1501, l='world', x=-253.72, y=22.86, z=44.38]
2013-03-16 19:13:43 [SEVERE] Wrong location! qa['Bat'/1502, l='world', x=-253.72, y=22.86, z=44.38]
The "Wrong location!" error repeats constantly. I've seen it show for Bat, Skeleton, and Creeper. I'm wondering if it has to do with the Chunk File errors.

@Andrew Hoover: Please attach the server.log (or at least a snippet where the error is recorded)

@Andrew Hoover: Can you try to load the world in single player ?

Included crash from MC-10486:
Description: Sending packet
java.lang.NullPointerException
at ch.b(SourceFile:107)
at ch.a(SourceFile:39)
at jh.b(SourceFile:430)
at gu.b(SourceFile:669)
at gu.a(SourceFile:79)
at bjk.b(SourceFile:73)

I too am having this issue when I start up a minecraft version 1.5.1 server.
I have thumbed the post and will include an excerpt from my server log below.
I am running the current version of java (v7 u17) on a Windows vista computer with SP2 installed.
2013-03-24 13:52:29 [INFO] Preparing start region for level 0
2013-03-24 13:52:30 [SEVERE] Wrong location! ss['arrow'/87, l='SMP_1', x=NaN, y=
NaN, z=NaN]
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at abw.a(SourceFile:504)
at acj.a(SourceFile:276)
at acj.a(SourceFile:72)
at acj.a(SourceFile:60)
at iy.f(SourceFile:125)
at iy.c(SourceFile:76)
at net.minecraft.server.MinecraftServer.e(SourceFile:224)
at net.minecraft.server.MinecraftServer.a(SourceFile:194)
at hz.c(SourceFile:176)
at net.minecraft.server.MinecraftServer.run(SourceFile:306)
at gp.run(SourceFile:573)
2013-03-24 13:52:30 [INFO] Preparing spawn area: 48%
2013-03-24 13:52:31 [INFO] Done (2.055s)! For help, type "help" or "?"

I had this problem in 1.5.1 as well, but on a different level.
My server log was generating 50-100 error messages per second and was entirely unresponsive, the "stop" command and "x" button had no effect, it required a forced process ending in order to stop it.
It accumulated over 300,000 error log within a few hours.
Restarting the server does not fix it.
The server was running on Windows 7 Ultimate with Java SE 7 U17.
2013-04-02 14:03:45 [SEVERE] Wrong location! qd['Cow'/283659, l='Test', x=-1519,
55, y=67,00, z=73,45]
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at abq.a(SourceFile:504)
at zv.a(SourceFile:1360)
at iz.a(SourceFile:508)
at zv.g(SourceFile:1314)
at zv.h(SourceFile:1221)
at iz.h(SourceFile:390)
at net.minecraft.server.MinecraftServer.r(SourceFile:462)
at hz.r(SourceFile:255)
at net.minecraft.server.MinecraftServer.q(SourceFile:397)
at net.minecraft.server.MinecraftServer.run(SourceFile:331)
at gp.run(SourceFile:573)

i think it's easy to fix that: just make everything unclickable when a world is loading. but i don't know, i can't code java =P

I get this crash with Java 7u13 as well; previously, Minecraft had worked.

By the way, did some data in player.dat get erased?

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Confirmed for 1.6.2

Seperated the crash from the world corruption. For world corruption / wrong location errors and chunk errors please see MC-2545.

Description: Sending packet
java.lang.NullPointerException
at cm.b(SourceFile:116)
at cm.a(SourceFile:41)
at jz.b(SourceFile:421)
at hm.b(SourceFile:648)
at hm.a(SourceFile:82)
at bkz.b(SourceFile:73)
at net.minecraft.server.MinecraftServer.t(SourceFile:488)
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)

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been deliviered.

>
> UNSUBSCRIBE
>