-
Bug
-
Resolution: Fixed
-
Minecraft 13w36b, Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 13w48a, Minecraft 13w48b, Minecraft 13w49a, Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 14w32a, Minecraft 14w32b, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre2, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.5, Minecraft 1.8.6, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w31c, Minecraft 15w33c, Minecraft 15w34a, Minecraft 15w34b, Minecraft 15w34c, Minecraft 15w34d, Minecraft 15w35e, Minecraft 15w41b, Minecraft 15w46a, Minecraft 15w47a, Minecraft 15w47c, Minecraft 15w49a, Minecraft 15w49b, Minecraft 15w50a, Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w05b, Minecraft 16w07a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 16w15a, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w35a, Minecraft 1.11.2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w06a, Minecraft 18w09a, Minecraft 18w20c, Minecraft 18w21a, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w11b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4
-
Confirmed
-
(Unassigned)
The bug
Worlds aren't deleted after dying in hardcore mode.
How to reproduce
- Die in hardcore mode
- Click "Delete world"
→ This returns you instantly to the title screen - Click "Singleplayer"
→ The world is still in the list
Opening the world will bring you back to the death screen, and produce a long list of the same error, repeated many times, in the Game Output tab in the launcher:
[06:05:34] [Client thread/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_45] at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_45] at g.a(SourceFile:61) [1.8.7.jar:?] at ave.av(SourceFile:880) [1.8.7.jar:?] at ave.a(SourceFile:325) [1.8.7.jar:?] at net.minecraft.client.main.Main.main(SourceFile:124) [1.8.7.jar:?] Caused by: java.lang.NullPointerException at bcy.a(SourceFile:455) ~[1.8.7.jar:?] at go.a(SourceFile:54) ~[1.8.7.jar:?] at go.a(SourceFile:12) ~[1.8.7.jar:?] at fh$1.run(SourceFile:13) ~[1.8.7.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_45] at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_45] at g.a(SourceFile:60) ~[1.8.7.jar:?] ... 3 more
This may happen because the world still appears to be loaded, even after returning to the title screen. Clicking the Options button will show the hardcore world in the background.
Also in the Game Output you can see that the server was not stopped:
## Deletion dialog ## [22:36:35] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [22:36:35] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [22:36:35] [Server thread/INFO]: Saving chunks for level 'New World'/The End [22:37:24] [Client thread/ERROR]: Realms module missing ## Clicking on "Singleplayer" ## [22:37:37] [Server thread/INFO]: Saving and pausing game... [22:37:37] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [22:37:37] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [22:37:37] [Server thread/INFO]: Saving chunks for level 'New World'/The End ## Entering world ## [22:38:13] [Server thread/INFO]: Stopping server [22:38:13] [Server thread/INFO]: Saving players [22:38:13] [Server thread/INFO]: Saving worlds [22:38:13] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [22:38:13] [Server thread/WARN]: The save is being accessed from another location, aborting [22:38:13] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [22:38:13] [Server thread/INFO]: Saving chunks for level 'New World'/The End [22:38:13] [Server thread/INFO]: Starting integrated minecraft server version 15w47c [22:38:13] [Server thread/INFO]: Generating keypair [22:38:13] [Server thread/INFO]: Preparing start region for level 0 [22:38:14] [Server thread/INFO]: Preparing spawn area: 90% [22:38:14] [Server thread/INFO]: Changing view distance to 8, from 10 [22:38:14] [Client thread/FATAL]: Error executing task ...
As you can see the "Delete" button does not cause the stopping of the server but instead the reopening of the world. Clicking the "Delete" button does not seem to do anything at all.
The reason
The following is based on decompiled version of Minecraft 1.8 using MCP. All method and class names are the names used in the decompiled version.
The reason why this happens is very likely that the client thread tries to save the world after the client was kicked, while the server tries to delete it at the same time.
- is duplicated by
-
MC-25664 Hardcore world not deleted when I died
- Resolved
-
MC-32310 Hardcore asks if your sure you want to respawn.
- Resolved
-
MC-40262 Singleplayer hardcore - world deletion button broken
- Resolved
-
MC-69711 Hardcore Mode attempted respawn bug
- Resolved
-
MC-78528 HC: "Delete World" button not working
- Resolved
-
MC-78740 Hardcore death glitch
- Resolved
-
MC-81154 Hardcore world won't stay deleted.
- Resolved
-
MC-83700 /kill in hardcore mode doesn't delete world
- Resolved
-
MC-84161 Died in Hardcore mode. Go to create new world and see my old death screen behind GUI
- Resolved
-
MC-84663 Glitching "Create New World" I think
- Resolved
-
MC-84929 Worlds aren't deleted after dying in Hardcore mode
- Resolved
-
MC-85062 Hardcore dieing, window resize, then close: undeletable world
- Resolved
-
MC-88050 1.8 hardcore on death world not deleted bug
- Resolved
-
MC-89198 Press E to open inventory shows on title screen
- Resolved
-
MC-92576 Hardcore worlds not deleting
- Resolved
-
MC-97773 1.9 Hardcore cant Delete world after death
- Resolved
-
MC-100359 Hardcore world does not delete itself after death.
- Resolved
-
MC-108941 Dying in Hardcore Mode Affects Other Menu Options
- Resolved
-
MC-113183 Upon dying and deleting flatcore world, death frame replaces world selection GUI
- Resolved
-
MC-119568 GUI Bug with Hardcore
- Resolved
-
MC-120501 delete my world
- Resolved
-
MC-126735 Hardcore Death Screen persistance after world file delete
- Resolved
-
MC-133595 Clicking "Delete world" after dying on Hardcore mode doesn't delete the world
- Resolved
-
MC-146669 Hardcore mode bug
- Resolved
-
MC-148565 Hardcore mode breaks minecraft upon the player's death
- Resolved
-
MC-151051 Hardcore "Delete world" dont work
- Resolved
-
MC-151544 Hardmode Crash
- Resolved
-
MC-152571 Attempting to delete a hardcore world upon death results in numerous bugs
- Resolved
-
MC-152643 Hardcore bugs
- Resolved
-
MC-153013 World doesn't close properly after dying in hardcore
- Resolved
-
MC-153258 Choosing "Delete World" option in hardcore mode doesn't delete nor exit the world
- Resolved
-
MC-153450 Clicking "Delete World" right after dying in Hardcore Mode doesn't delete that world.
- Resolved
-
MC-158902 Hardcore Minecraft "delete world" button causing grey main screen and grey-black screen upon new world creation
- Resolved
-
MC-161010 Bugs Hardcore Survival
- Resolved
-
MC-161663 Game freaks out when you "delete" hardcore world as soon as you die
- Resolved
-
MC-167262 When I die in a Hardcore world, and click 'delete world', I get taken to the main screen, except it's a white screen, instead of the minecraft world for the background, and the world doesn't get deleted.
- Resolved
- relates to
-
MC-10979 Hardcore Single Player Has Repeating Screens and Weird Links
- Resolved
-
MC-96521 After clicking "Delete World", hardcore world still runs in background
- Resolved
-
MC-148865 Title screen panorama turns white after clicking "Delete World" in hardcore mode
- Resolved