The-Nexus-Project / Limitless-6

Limitless 6 modpack maintained and developed by Gbergz.
10 stars 1 forks source link

[Issue]: Server crash - java.lang.NullPointerException: minecraft:the_nether is not a valid level stem key. #55

Closed osirus31 closed 1 year ago

osirus31 commented 1 year ago

What happened?

the Minecraft server will no longer start.

I have tried deleting the DIM-1 folder and tried just deleting the contents of DIM-1/region

java.lang.NullPointerException: minecraft:the_nether is not a valid level stem key. This is likely the result of a broken level.dat, likely caused by moving this world between MC versions. at net.minecraft.server.MinecraftServer.handler$zbh000$IE_appendSurfaceRules(MinecraftServer.java:2928) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?] at net.minecraft.server.MinecraftServer.m129815(MinecraftServer.java:375) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?] at net.minecraft.server.MinecraftServer.m130006(MinecraftServer.java:300) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?] at net.minecraft.server.dedicated.DedicatedServer.m7038(DedicatedServer.java:165) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?] at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:625) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?] at net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?] at java.lang.Thread.run(Thread.java:833) [?:?]

Pack Version

Version: LL6 v1.16

To Reproduce

  1. just updating and starting server.

Are you using OptiFine, Rubidium, or Oculus?

Are you on a Server?

Relevant log output / crash report.

Error:
[26Feb2023 22:55:05.161] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception
java.lang.NullPointerException: minecraft:the_nether is not a valid level stem key. This is likely the result of a broken level.dat, likely caused by moving this world between MC versions.
    at net.minecraft.server.MinecraftServer.handler$zbh000$IE_appendSurfaceRules(MinecraftServer.java:2928) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?]
    at net.minecraft.server.MinecraftServer.m_129815_(MinecraftServer.java:375) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?]
    at net.minecraft.server.MinecraftServer.m_130006_(MinecraftServer.java:300) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?]
    at net.minecraft.server.dedicated.DedicatedServer.m_7038_(DedicatedServer.java:165) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?]
    at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:625) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?]
    at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%231133!/:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]

Anything else to add?

No response

osirus31 commented 1 year ago

Full log file latest.log

Gbergz commented 1 year ago

Send the level.dat file in the world folder and ill fix it for you, once I send it back just replace the one you have

osirus31 commented 1 year ago

Is it possible to explain the fix or provide a link to an explanation? I am able to edit NBT without issue, just need to know what I need to delete/update. My server runs 24/7 so I would rather be able to plan the stop/start.

Gbergz commented 1 year ago

I would explain, but I don't have the time to explain the fix right now. Send it and I'll fix it

https://discord.gg/gwzpyQb send it in general

Edit: will have to do it in the morning though.

joeblob8354 commented 1 year ago

Also having this same issue, is there a fix for this yet?

Gbergz commented 1 year ago

@joeblob8354 Join the TNP discord and send your level.dat file of your world and I'll send it back fixed.

https://discord.gg/gwzpyQb