ValkyrienSkies / Valkyrien-Skies-2

Valkyrien Skies 2
https://valkyrienskies.org/
GNU Lesser General Public License v3.0
224 stars 92 forks source link

"this.shipWorld" is null #666

Open Chrithon opened 8 months ago

Chrithon commented 8 months ago

This issue occurs when only Valkyrien Skies and addons are installed and no other mods

Minecraft Version

1.18

Mod Loader

Forge

Issue description

Information

Issue reproduction

Logs

latest.log debug.log

creeloper27 commented 5 months ago

I am having the same exact problem though on a Fabric server.

server console error

[16:49:14] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: Cannot invoke "org.valkyrienskies.core.apigame.world.ServerShipWorldCore.setGameServer(org.valkyrienskies.core.apigame.GameServer)" because "this.shipWorld" is null
        at net.minecraft.server.MinecraftServer.handler$eol000$valkyrienskies$preStopServer(MinecraftServer.java:10655) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_3782(MinecraftServer.java) ~[server-intermediary.jar:?]
        at net.minecraft.class_3176.method_3782(class_3176.java:537) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:703) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) ~[server-intermediary.jar:?]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]

crash log crash-2024-03-27_16.49.14-server.txt

Removing Create: Interactive makes the server and client run fine.

Gulpie commented 5 months ago

same here but nothing fixes it

Kitieshka commented 3 months ago

same problem on fabric 1.20.1

thetheaplant commented 3 months ago

If you have the same problem and the fix listed does not fix it, make a new issue.

PassKnoedel commented 3 months ago

I had the same issue and managed to resolve it by changing the server port to something like 25566 since i had another server running on the default 25565 port

jevans10 commented 2 months ago

I'm also having this issue. I'm using a 2009 iMac to fun my fabric server. I've tried removing sodium, creative interactive, and changing the port.

MonkaKokosowa commented 5 days ago

Although not an ideal solution, if someone is just looking for reviving the world file without deleting any mods you can delete the vs_ship_data.dat file in the data directory inside the save file.

PriestOfFerns commented 2 days ago

arc light, mohist and other plugin-mod hybrid servers are usually incompatible with VS2