Hexcode icon indicating copy to clipboard operation
Hexcode copied to clipboard

Seeker Obelisk + Fire Pedestal crash on tome open

Open heykiditsaaron opened this issue 7 months ago • 2 comments

When trying to open my tome in a Fire Pedestal with an adjacent Seeker Obelisk, I am forcefully disconnected from the server. The server does not crash, itself, but displays this in the console log:

java.util.concurrent.CompletionException: java.lang.IllegalStateException: Invalid entity reference!
	at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323)
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:359)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:364)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1828)
	at com.hypixel.hytale.server.core.universe.world.World.consumeTaskQueue(World.java:967)
	at com.hypixel.hytale.server.core.universe.world.World.tick(World.java:474)
	at com.hypixel.hytale.server.core.util.thread.TickingThread.run(TickingThread.java:95)
	at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.lang.IllegalStateException: Invalid entity reference!
	at com.hypixel.hytale.component.Ref.validate(Ref.java:52)
	at com.hypixel.hytale.component.Store.removeEntity(Store.java:827)
	at com.hypixel.hytale.component.CommandBuffer.lambda$removeEntity$0(CommandBuffer.java:293)
	at com.hypixel.hytale.component.CommandBuffer.consume(CommandBuffer.java:534)
	at com.hypixel.hytale.component.Store.removeEntity(Store.java:884)
	at com.hypixel.hytale.component.Store.removeEntity(Store.java:818)
	at com.hypixel.hytale.component.Store.removeEntity(Store.java:812)
	at com.hypixel.hytale.server.core.universe.PlayerRef.removeFromStore(PlayerRef.java:244)
	at com.hypixel.hytale.server.core.entity.entities.Player.remove(Player.java:305)
	at com.hypixel.hytale.server.core.universe.Universe.lambda$removePlayer$0(Universe.java:1347)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1825)
	... 4 more
Caused by: java.lang.Throwable
	at com.hypixel.hytale.component.CommandBuffer.tryRemoveEntity(CommandBuffer.java:271)
	at ThirdParty(Riprod:Hexcode)//com.riprod.hexcode.utils.CleanupUtils.safeRemoveEntity(CleanupUtils.java:16)
	at ThirdParty(Riprod:Hexcode)//com.riprod.hexcode.utils.CleanupUtils.safeRemoveEntities(CleanupUtils.java:25)
	at ThirdParty(Riprod:Hexcode)//com.riprod.hexcode.core.state.crafting.CraftingSystem.onPlayerLeave(CraftingSystem.java:360)
	at ThirdParty(Riprod:Hexcode)//com.riprod.hexcode.core.common.hexcaster.system.HexcasterCleanupSystem.onEntityRemove(HexcasterCleanupSystem.java:60)
	at com.hypixel.hytale.component.Store.removeEntity(Store.java:846)
	... 10 more

heykiditsaaron avatar May 01 '26 03:05 heykiditsaaron

The same occurs with Seeker Obelisk + Life Pedestal:

java.util.concurrent.CompletionException: java.lang.IllegalStateException: Invalid entity reference!
	at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323)
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:359)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:364)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1828)
	at com.hypixel.hytale.server.core.universe.world.World.consumeTaskQueue(World.java:967)
	at com.hypixel.hytale.server.core.universe.world.World.tick(World.java:474)
	at com.hypixel.hytale.server.core.util.thread.TickingThread.run(TickingThread.java:95)
	at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.lang.IllegalStateException: Invalid entity reference!
	at com.hypixel.hytale.component.Ref.validate(Ref.java:52)
	at com.hypixel.hytale.component.Store.removeEntity(Store.java:827)
	at com.hypixel.hytale.component.CommandBuffer.lambda$removeEntity$0(CommandBuffer.java:293)
	at com.hypixel.hytale.component.CommandBuffer.consume(CommandBuffer.java:534)
	at com.hypixel.hytale.component.Store.removeEntity(Store.java:884)
	at com.hypixel.hytale.component.Store.removeEntity(Store.java:818)
	at com.hypixel.hytale.component.Store.removeEntity(Store.java:812)
	at com.hypixel.hytale.server.core.universe.PlayerRef.removeFromStore(PlayerRef.java:244)
	at com.hypixel.hytale.server.core.entity.entities.Player.remove(Player.java:305)
	at com.hypixel.hytale.server.core.universe.Universe.lambda$removePlayer$0(Universe.java:1347)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1825)
	... 4 more
Caused by: java.lang.Throwable
	at com.hypixel.hytale.component.CommandBuffer.tryRemoveEntity(CommandBuffer.java:271)
	at ThirdParty(Riprod:Hexcode)//com.riprod.hexcode.utils.CleanupUtils.safeRemoveEntity(CleanupUtils.java:16)
	at ThirdParty(Riprod:Hexcode)//com.riprod.hexcode.utils.CleanupUtils.safeRemoveEntities(CleanupUtils.java:25)
	at ThirdParty(Riprod:Hexcode)//com.riprod.hexcode.core.state.crafting.CraftingSystem.onPlayerLeave(CraftingSystem.java:360)
	at ThirdParty(Riprod:Hexcode)//com.riprod.hexcode.core.common.hexcaster.system.HexcasterCleanupSystem.onEntityRemove(HexcasterCleanupSystem.java:60)
	at com.hypixel.hytale.component.Store.removeEntity(Store.java:846)
	... 10 more

heykiditsaaron avatar May 01 '26 03:05 heykiditsaaron

Fixed with v0.7.2 as well as v0.8.0 (different fix with update 5 release)

ItsRiprod avatar May 26 '26 05:05 ItsRiprod