BG-Software-LLC / SSB-SlimeWorldManager

An addon for SuperiorSkyblock2 that adds SlimeWorldManager support for worlds management!
22 stars 19 forks source link

Console error #23

Closed Xitryne closed 8 months ago

Xitryne commented 1 year ago

Minecraft's Version

Paper 1.17.1

Plugin's Version

SuperiorSkyblock2 2023.1 SSBSlimeWorldManager-2023.1-b2.jar

Describe the bug

ERROR in console

To Reproduce

When I restart the server, I am automatically connected to my island which is normal but a message appears in the console, is this normal?

Additional Information

[SuperiorSkyblock2]: Task #201 for SuperiorSkyblock2 v2023.1 generated an exception

java.lang.IllegalArgumentException: World island_d9fac936-8934-44cb-a1dd-805d74bcf484_normal already exists! Maybe it's an outdated SlimeWorld object?
at com.grinderwolf.swm.nms.v1171.v1171SlimeNMS.generateWorld(v1171SlimeNMS.java:169) ~[slimeworldmanager-plugin-2.9.1-SNAPSHOT.jar:?]
at com.grinderwolf.swm.plugin.SWMPlugin.generateWorld(SWMPlugin.java:374) ~[slimeworldmanager-plugin-2.9.1-SNAPSHOT.jar:?]
at com.bgsoftware.ssbslimeworldmanager.swm.impl.aswm.SWMAdapter.generateWorld(SWMAdapter.java:70) ~[?:?]
at com.bgsoftware.ssbslimeworldmanager.hook.SlimeWorldsProvider.lambda$null$1(SlimeWorldsProvider.java:147) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-411]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-411]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
OmerBenGera commented 1 year ago

Update SSB as well as the module to their latest dev builds, check if the issue still occurs.

Xitryne commented 1 year ago

Isn't this the latest build "SSBSlimeWorldManager-2023.1-b2.jar"? Because that's the one I installed. I have the same bug with version 2023.1

Xitryne commented 1 year ago

Oh, you talk SuperiorSkyblock, i will test

Xitryne commented 1 year ago

It's work with "SuperiorSkyblock2-2023.1-b22" and "SSBSlimeWorldManager-2023.1-b2.jar" but are the versions stable or not? Since they are released in latest build, there is no risk?

Xitryne commented 1 year ago

I didn't say anything, i have a error

[SuperiorSkyblock2]: Task #9775 for SuperiorSkyblock2 v2023.1-b22 generated an exception
Console20:09:14
java.lang.IllegalArgumentException: World island_2cc8a626-bfa3-498a-a473-aafa3918ced3_normal already exists! Maybe it's an outdated SlimeWorld object?
at com.grinderwolf.swm.nms.v1171.v1171SlimeNMS.generateWorld(v1171SlimeNMS.java:169) ~[slimeworldmanager-plugin-2.9.1-SNAPSHOT.jar:?]
at com.grinderwolf.swm.plugin.SWMPlugin.generateWorld(SWMPlugin.java:374) ~[slimeworldmanager-plugin-2.9.1-SNAPSHOT.jar:?]
at com.bgsoftware.ssbslimeworldmanager.swm.impl.aswm.SWMAdapter.generateWorld(SWMAdapter.java:70) ~[?:?]
at com.bgsoftware.ssbslimeworldmanager.hook.SlimeWorldsProvider.lambda$null$1(SlimeWorldsProvider.java:147) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-411]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-411]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Xitryne commented 1 year ago

I'm getting this error too, but I don't think it concerns your plugin?

INFO23:30:14
Saving world island_2cc8a626-bfa3-498a-a473-aafa3918ced3_normal...
WARN23:30:14
java.io.IOException: Stream Closed
at java.base/java.io.RandomAccessFile.seek0(Native Method)
at java.base/java.io.RandomAccessFile.seek(RandomAccessFile.java:590)
at slimeworldmanager-plugin-2.9.1-SNAPSHOT.jar//com.grinderwolf.swm.plugin.loaders.file.FileLoader.saveWorld(FileLoader.java:95)
at slimeworldmanager-plugin-2.9.1-SNAPSHOT.jar//com.grinderwolf.swm.nms.v1171.CustomWorldServer.save(CustomWorldServer.java:172)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
OmerBenGera commented 1 year ago

It seems like you use SlimeWorldManager v2.9.1, however this is not supported in 1.17. You should use AdvancedSlimeWorldManager or Paper's fork for SlimeWorldManager for 1.17.

Switch plugins, then let me know if it still occurs.

Xitryne commented 1 year ago

I'm trying out the latest version of AdvancedSlimeWorldManager, is it mandatory or just advisable to connect the plugin to a database?

Xitryne commented 1 year ago

I still have the error ^^

[SuperiorSkyblock2]: Task #56626 for SuperiorSkyblock2 v2023.1-b22 generated an exception
Console03:49:05
java.lang.IllegalArgumentException: World island_ebe149a0-d12b-4b6a-87bc-3ed40e897ab8_nether already exists! Maybe it's an outdated SlimeWorld object?
at com.grinderwolf.swm.nms.v1171.v1171SlimeNMS.generateWorld(v1171SlimeNMS.java:168) ~[slimeworldmanager-plugin-2.8.0-SNAPSHOT.jar:?]
at com.grinderwolf.swm.plugin.SWMPlugin.generateWorld(SWMPlugin.java:364) ~[slimeworldmanager-plugin-2.8.0-SNAPSHOT.jar:?]
at com.bgsoftware.ssbslimeworldmanager.swm.impl.aswm.SWMAdapter.generateWorld(SWMAdapter.java:70) ~[?:?]
at com.bgsoftware.ssbslimeworldmanager.hook.SlimeWorldsProvider.lambda$null$1(SlimeWorldsProvider.java:147) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-411]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-411]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-411]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
OmerBenGera commented 1 year ago

Send me the entire logs file of your server. Upload it to pastebin and send a link to it here.

Xitryne commented 1 year ago

https://pastebin.com/dRfGCNv9

OmerBenGera commented 1 year ago

This is not the entire logs file. Look for the latest.log file under the logs folder and send it.

Xitryne commented 1 year ago

I had to go through paste.io because the file was too heavy, I also have a new error with WildChest, the chests are not saved on the players' islands, they become normal chests again https://pastes.io/jv1mfriv19

OmerBenGera commented 1 year ago

Again, this is not the entire logs file. Take the logs file and send it directly here if it is too long.

Regarding WildChests, this is not related to this module at all.

Xitryne commented 1 year ago

2023-05-29-4.log 2023-05-29-5.log 2023-05-30-1.log 2023-05-30-2.log 2023-05-31-1.log 2023-05-31-2.log 2023-05-31-3.log 2023-05-31-4.log 2023-05-31-5.log 2023-05-31-6.log 2023-05-31-7.log 2023-05-31-8.log 2023-05-31-10.log 2023-05-31-11.log 2023-05-31-12.log 2023-05-31-9.log 2023-06-01-1.log 2023-06-01-2.log 2023-06-01-3.log 2023-06-01-4.log 2023-06-01-5.log 2023-06-01-6.log 2023-06-01-7.log 2023-06-01-8.log 2023-06-01-9.log 2023-06-01-10.log 2023-06-02-1.log 2023-06-02-2.log 2023-06-02-3.log 2023-06-02-4.log latest.log 2023-05-28-1.log 2023-05-29-1.log 2023-05-29-2.log 2023-05-29-3.log

Xitryne commented 1 year ago

Full last log

OmerBenGera commented 1 year ago

Check out latest dev build (of the module), let me know if it is fixed.

Xitryne commented 1 year ago

The error persists even with SuperiorSkyblock2-2023.1-b23.jar and SSBSlimeWorldManager-2023.1-b2.jar. I'm using AdvancedWorldSlime 2.8.0

Xitryne commented 1 year ago

The error persists even with SuperiorSkyblock2-2023.1-b23.jar and SSBSlimeWorldManager-2023.1-b2.jar. I'm using AdvancedWorldSlime 1.19.4-R0.1-SNAPSHOT I have update the server in 1.19.4

Xitryne commented 1 year ago
WARN18:03:23
[SuperiorSkyblock2]: Task #313 for SuperiorSkyblock2 v2023.1-b23 generated an exception
Console18:03:23
java.lang.IllegalArgumentException: World island_3430211b-195c-417b-a9d4-09e3522ab4ab_normal already exists! Maybe it's an outdated SlimeWorld object?
at com.infernalsuite.aswm.SlimeNMSBridgeImpl.loadInstance(SlimeNMSBridgeImpl.java:117) ~[slimeworldmanager-1.19.4.jar:git-SlimeWorldManager-15076]
at com.infernalsuite.aswm.SlimeNMSBridgeImpl.loadInstance(SlimeNMSBridgeImpl.java:110) ~[slimeworldmanager-1.19.4.jar:git-SlimeWorldManager-15076]
at com.grinderwolf.swm.plugin.SWMPlugin.loadWorld(SWMPlugin.java:310) ~[plugin-1.19.4-R0.1-SNAPSHOT.jar:?]
at com.bgsoftware.ssbslimeworldmanager.swm.impl.asp.SWMAdapter.generateWorld(SWMAdapter.java:70) ~[?:?]
at com.bgsoftware.ssbslimeworldmanager.hook.SlimeWorldsProvider.lambda$null$1(SlimeWorldsProvider.java:147) ~[?:?]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[slimeworldmanager-1.19.4.jar:git-SlimeWorldManager-15076]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[slimeworldmanager-1.19.4.jar:git-SlimeWorldManager-15076]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1498) ~[slimeworldmanager-1.19.4.jar:git-SlimeWorldManager-15076]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[slimeworldmanager-1.19.4.jar:git-SlimeWorldManager-15076]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1412) ~[slimeworldmanager-1.19.4.jar:git-SlimeWorldManager-15076]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1189) ~[slimeworldmanager-1.19.4.jar:git-SlimeWorldManager-15076]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[slimeworldmanager-1.19.4.jar:git-SlimeWorldManager-15076]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
StinkyPinky045 commented 1 year ago

this also happens on 1.20.1 on a clean installation

latest.log

OmerBenGera commented 1 year ago

You dont have SlimeWorldManager plugin installed:

SlimeWorldManager must be installed in order to use this module.
StinkyPinky045 commented 1 year ago

I do have it installed both the paper and the plugin. It doesnt find it?

[15:41:45] [Server thread/INFO]: This server is running SlimeWorldManager version git-SlimeWorldManager-15311 (MC: 1.20.1)

OmerBenGera commented 1 year ago

I do have it installed both the paper and the plugin. It doesnt find it?

[15:41:45] [Server thread/INFO]: This server is running SlimeWorldManager version git-SlimeWorldManager-15311 (MC: 1.20.1)

Open a new issue, as this is not related to the issue reported originally.

OmerBenGera commented 1 year ago

@Xitryne How about you? Is this still relevant?

OmerBenGera commented 8 months ago

I am closing this due to lack of response If the issue is still relevant, let me know