Valkyrien Skies (Forge/Fabric)

Valkyrien Skies (Forge/Fabric)

3M Downloads

"this.shipWorld" is null

Chrithon opened this issue ยท 8 comments

commented

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

  • I have tested this issue and it occurs when no other mods are installed

Minecraft Version

1.18

Mod Loader

Forge

Issue description

Information

  • OS: Ubuntu 23.04 (GNU/Linux 6.1.31 riscv64)
  • JDK: OpenJDK 64-Bit Server VM Fizzed19.36 (build 19.0.1+10, mixed mode)->OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-123.04, mixed mode, sharing)->OpenJDK 64-Bit Server VM Temurin-21.0.1+12-202312232351 (build 21.0.1-beta+12-202312232351, mixed mode, sharing)
  • Mod Version: v2.1.1-beta.4
  • Server: mohist-1.18.2-127->mohist-1.18.2-135->arclight-1.18.2-1.0.10-033f7507

Description

My server can't run and shows:

"org.valkyrienskies.core.apigame.world.ServerShipWorldCore.setGameServer(org.valkyrienskies.core.apigame.GameServer)" because "this.shipWorld" is null

Issue reproduction

  • Changed JDK: OpenJDK 64-Bit Server VM Fizzed19.36 (build 19.0.1+10, mixed mode)->OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-123.04, mixed mode, sharing)->OpenJDK 64-Bit Server VM Temurin-21.0.1+12-202312232351 (build 21.0.1-beta+12-202312232351, mixed mode, sharing) (not work)
  • Changed Server: mohist-1.18.2-127->mohist-1.18.2-135->arclight-1.18.2-1.0.10-033f7507 (not work)
  • Searched the web (still not solved)

Logs

latest.log
debug.log

commented

same here but nothing fixes it

commented

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.

commented

same problem on fabric 1.20.1

commented

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

commented

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

commented

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.

commented

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.

commented

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