Skip to content

Exception occurred by smeltery in specific case #186

@balugaq

Description

@balugaq

Exception:
[22:24:46 ERROR]: [PylonCore] Error when handling block(pylonbase:smeltery_controller, Location{world=CraftWorld{name=world},x=-21.0,y=114.0,z=35.0,pitch=0.0,yaw=0.0}) ticking: Entity pixel_0 does not exist or is not of type SimpleTextDisplay
[22:24:46 WARN]: java.lang.IllegalArgumentException: Entity pixel_0 does not exist or is not of type SimpleTextDisplay
[22:24:46 WARN]: at pylon-core-SNAPSHOT.jar//io.github.pylonmc.pylon.core.block.base.PylonEntityHolderBlock.getHeldEntityOrThrow(PylonEntityHolderBlock.kt:59)
[22:24:46 WARN]: at pylon-base-MODIFIED.jar//io.github.pylonmc.pylon.base.content.machines.smelting.SmelteryController.getPixels(SmelteryController.java:462)
[22:24:46 WARN]: at pylon-base-MODIFIED.jar//io.github.pylonmc.pylon.base.content.machines.smelting.SmelteryController.updateFluidDisplay(SmelteryController.java:479)
[22:24:46 WARN]: at pylon-base-MODIFIED.jar//io.github.pylonmc.pylon.base.content.machines.smelting.SmelteryController.tick(SmelteryController.java:551)
[22:24:46 WARN]: at pylon-core-SNAPSHOT.jar//io.github.pylonmc.pylon.core.block.TickManager$startTicker$1.invokeSuspend(TickManager.kt:68)
[22:24:46 WARN]: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[22:24:46 WARN]: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
[22:24:46 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78)
[22:24:46 WARN]: at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474)
[22:24:46 WARN]: at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1662)
[22:24:46 WARN]: at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1530)
[22:24:46 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1252)
[22:24:46 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310)
[22:24:46 WARN]: at java.base/java.lang.Thread.run(Thread.java:1575)

Reproduce:

  1. Build a 5x4x5 smeltery or higher, and fill with fluid until full:
Image
  1. Place water inside:
Image

This will make entities hide in the bottom (If now build the smeltery higher and fill with fluid, entities will come up from the bottom)
Image

  1. Restart server
    Then got exception and phantom block, entities alive
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions