Waystones

Waystones

123M Downloads

Server crash : Player changed world without us noticing.

yves-chevallier opened this issue ยท 1 comments

commented

I noticed a server crash on 1.12.2 with Waystones 4.1.0 when a player attempts to change dimension with a waystone:

May 25 09:02:17  java[54590]: [09:02:17] [Server thread/FATAL] [minecraft/MinecraftServer]: Error executing task
May 25 09:02:17  java[54590]: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: changed world without us noticing. Did some third-party mod do something weird?
May 25 09:02:17  java[54590]:         at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_252]
May 25 09:02:17  java[54590]:         at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_252]
May 25 09:02:17  java[54590]:         at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
May 25 09:02:17  java[54590]:         at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
May 25 09:02:17  java[54590]:         at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
May 25 09:02:17  java[54590]:         at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
May 25 09:02:17  java[54590]:         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
May 25 09:02:17  java[54590]:         at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
May 25 09:02:17  java[54590]: Caused by: java.lang.IllegalStateException: changed world without us noticing. Did some third-party mod do something weird?
May 25 09:02:17  java[54590]:         at de.johni0702.minecraft.view.impl.server.ServerWorldsManagerImpl.updateActiveViews(ServerWorldsManagerImpl.kt:67) ~[ServerWorldsManagerImpl.class:?]
May 25 09:02:17  java[54590]:         at net.minecraft.server.management.PlayerChunkMap.handler$addPlayerWithViews$zzn000(SourceFile:549) ~[ou.class:?]
May 25 09:02:17  java[54590]:         at net.minecraft.server.management.PlayerChunkMap.func_72683_a(SourceFile) ~[ou.class:?]
May 25 09:02:17  java[54590]:         at net.minecraft.server.management.PlayerList.func_72375_a(PlayerList.java:290) ~[pl.class:?]
May 25 09:02:17  java[54590]:         at net.blay09.mods.waystones.WaystoneManager.transferPlayerToDimension(WaystoneManager.java:171) ~[WaystoneManager.class:?]
May 25 09:02:17  java[54590]:         at net.blay09.mods.waystones.WaystoneManager.teleportToPosition(WaystoneManager.java:138) ~[WaystoneManager.class:?]
May 25 09:02:17  java[54590]:         at net.blay09.mods.waystones.WaystoneManager.teleportToWaystone(WaystoneManager.java:129) ~[WaystoneManager.class:?]
May 25 09:02:17  java[54590]:         at net.blay09.mods.waystones.network.handler.HandlerTeleportToWaystone.lambda$onMessage$0(HandlerTeleportToWaystone.java:83) ~[HandlerTeleportToWaystone.class:?]
May 25 09:02:17  java[54590]:         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_252]
May 25 09:02:17  java[54590]:         at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_252]
May 25 09:02:17  java[54590]:         at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
May 25 09:02:17  java[54590]:         ... 5 more
May 25 09:02:18  java[54590]: [09:02:18] [Server thread/INFO] [THAUMCRAFT]: Removing aura cache for world -1
May 25 09:02:18  java[54590]: [09:02:18] [Server thread/INFO] [FML]: Unloading dimension -1
May 25 09:02:19  java[54590]: [09:02:19] [Thread-199/INFO] [THAUMCRAFT]: Stopping aura thread for dim -1
May 25 09:03:21  java[54590]: [09:03:21] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: Player lost connection: Internal Exception: io.netty.channel.unix.Errors$NativeIoException: syscall:read(..) failed: Connection reset by peer
May 25 09:03:21  java[54590]: [09:03:21] [Server thread/INFO] [minecraft/DedicatedServer]: Player left the game
commented

Duplicate of #241