Ender IO Zoo

Ender IO Zoo

961k Downloads

Constant console errors spam with farming stations and SpongeForge

TheOpalium opened this issue ยท 6 comments

commented

Issue Description:

When used with SpongeForge, farming stations from EnderIO randomly cause Sponge to start constantly spamming the console with warnings about a prevented crash.

What happens:

The following errors print to the console every second or so (example):

[08:43:27] [Server thread/ERROR] [Sponge]: /***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[08:43:27] [Server thread/ERROR] [Sponge]: /*                                                                                                                                                                     Exception occurred during a PhaseState                                                                                                                                                                      */
[08:43:27] [Server thread/ERROR] [Sponge]: /***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[08:43:27] [Server thread/ERROR] [Sponge]: /* Sponge's tracking system makes a best effort to not throw exceptions randomly                                                                                                                                                                                                                                                                                                   */
[08:43:27] [Server thread/ERROR] [Sponge]: /* but sometimes it is inevitable. In most cases, something else triggered this                                                                                                                                                                                                                                                                                                    */
[08:43:27] [Server thread/ERROR] [Sponge]: /* exception and Sponge prevented a crash by catching it. The following stacktrace                                                                                                                                                                                                                                                                                                 */
[08:43:27] [Server thread/ERROR] [Sponge]: /* can be used to help pinpoint the cause.                                                                                                                                                                                                                                                                                                                                         */
[08:43:27] [Server thread/ERROR] [Sponge]: /***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[08:43:27] [Server thread/ERROR] [Sponge]: /* The PhaseState having an exception: TileEntityTickPhase                                                                                                                                                                                                                                                                                                                         */
[08:43:27] [Server thread/ERROR] [Sponge]: /* The PhaseContext:                                                                                                                                                                                                                                                                                                                                                               */
[08:43:27] [Server thread/ERROR] [Sponge]: /*     - Owner: SpongeUser{isOnline=false, profile=com.mojang.authlib.GameProfile@61509fe6[id=*CENSORED*,name=*CENSORED*,properties={},legacy=false]}                                                                                                                                                                                                      */
[08:43:27] [Server thread/ERROR] [Sponge]: /*     - Source: TileFarmStation{tileType=SpongeTileEntityType{id=enderio:enderio:tile_farm_station, name=enderio:tile_farm_station, TileEntityClass=class crazypants.enderio.machines.machine.farm.TileFarmStation}, world=WorldServer{Name=Survival, DimensionId=0, DimensionType=minecraft:overworld, DimensionTypeId=0}, pos=BlockPos{x=-357, y=64, z=-864}, blockMetadata=-1} */
[08:43:27] [Server thread/ERROR] [Sponge]: /*     - CapturedBlockPosition: CaptureBlockPos{pos=null, world=Optional.empty}                                                                                                                                                                                                                                                                                                    */
[08:43:27] [Server thread/ERROR] [Sponge]: /* org.spongepowered.asm.util.PrettyPrinter@75e794c8                                                                                                                                                                                                                                                                                                                               */
[08:43:27] [Server thread/ERROR] [Sponge]: /***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[08:43:27] [Server thread/ERROR] [Sponge]: /* StackTrace:                                                                                                                                                                                                                                                                                                                                                                     */
[08:43:27] [Server thread/ERROR] [Sponge]: /* java.lang.NullPointerException: null                                                                                                                                                                                                                                                                                                                                            */
[08:43:27] [Server thread/ERROR] [Sponge]: /*  Phases Remaining:                                                                                                                                                                                                                                                                                                                                                              */
[08:43:27] [Server thread/ERROR] [Sponge]: /*                                                                                                                                                                                                                                                                                                                                                                                 */
[08:43:27] [Server thread/ERROR] [Sponge]: /* Minecraft : 1.12.2                                                                                                                                                                                                                                                                                                                                                              */
[08:43:27] [Server thread/ERROR] [Sponge]: /* SpongeAPI : 7.1.0-SNAPSHOT-a1418ae                                                                                                                                                                                                                                                                                                                                              */
[08:43:27] [Server thread/ERROR] [Sponge]: /* SpongeForge : 1.12.2-2705-7.1.0-BETA-3304                                                                                                                                                                                                                                                                                                                                       */
[08:43:27] [Server thread/ERROR] [Sponge]: /* Minecraft Forge : 14.23.4.2735                                                                                                                                                                                                                                                                                                                                                  */
[08:43:27] [Server thread/ERROR] [Sponge]: /***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

What you expected to happen:

Well... not have those errors appear, I guess?

Steps to reproduce:

This doesn't happen every time a farming station is placed, but rather randomly. I couldn't figure how exactly to cause this to happen other than placing down farming stations in random places until it starts.


Affected Versions (Do not use "latest"):

  • EnderIO: 1.12.2-5.0.29
  • EnderCore: 1.12.2-0.5.35
  • Minecraft: v1.12.2
  • Forge: 14.23.4.2735
  • Sponge: 7.1.0 BETA-3304

Your most recent log file where the issue was present:

See the log above. The entire log is over 5MB but is just the same error repeated over and over.

commented

Complain to SpongeForge, they are completely removing any information that could even be remotely helpful in finding out what happens.

commented

@HenryLoenwind we only log the first few occurrences with full stack (by default), because otherwise the log would grow too big too quickly

we asked OP to provide the full log in the issue they opened

commented

In most cases, something else triggered this exception and Sponge prevented a crash by catching it.

Yep That's Safe....

commented

As those methods do not exist in World I have to assume they are patched in by SpongeForge...thus this is theirs to deal with.

commented

Yes... a pull req was opened on spongeforges side to fix this

commented

After looking at the log again by the Sponge dev's request, I have found the following. Perhaps this can help pinpoint the issue?

[08:09:13] [Server thread/ERROR] [Sponge]: /***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[08:09:13] [Server thread/ERROR] [Sponge]: /*                                                                                                                                                                     Exception occurred during a PhaseState                                                                                                                                                                      */
[08:09:13] [Server thread/ERROR] [Sponge]: /***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[08:09:13] [Server thread/ERROR] [Sponge]: /* Sponge's tracking system makes a best effort to not throw exceptions randomly                                                                                                                                                                                                                                                                                                   */
[08:09:13] [Server thread/ERROR] [Sponge]: /* but sometimes it is inevitable. In most cases, something else triggered this                                                                                                                                                                                                                                                                                                    */
[08:09:13] [Server thread/ERROR] [Sponge]: /* exception and Sponge prevented a crash by catching it. The following stacktrace                                                                                                                                                                                                                                                                                                 */
[08:09:13] [Server thread/ERROR] [Sponge]: /* can be used to help pinpoint the cause.                                                                                                                                                                                                                                                                                                                                         */
[08:09:13] [Server thread/ERROR] [Sponge]: /***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[08:09:13] [Server thread/ERROR] [Sponge]: /* The PhaseState having an exception: TileEntityTickPhase                                                                                                                                                                                                                                                                                                                         */
[08:09:13] [Server thread/ERROR] [Sponge]: /* The PhaseContext:                                                                                                                                                                                                                                                                                                                                                               */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     - Owner: SpongeUser{isOnline=false, profile=com.mojang.authlib.GameProfile@61509fe6[id=*CENSORED*,name=*CENSROED*,properties={},legacy=false]}                                                                                                                                                                                                      */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     - Source: TileFarmStation{tileType=SpongeTileEntityType{id=enderio:enderio:tile_farm_station, name=enderio:tile_farm_station, TileEntityClass=class crazypants.enderio.machines.machine.farm.TileFarmStation}, world=WorldServer{Name=Survival, DimensionId=0, DimensionType=minecraft:overworld, DimensionTypeId=0}, pos=BlockPos{x=-367, y=64, z=-864}, blockMetadata=-1} */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     - CapturedBlockPosition: CaptureBlockPos{pos=null, world=Optional.empty}                                                                                                                                                                                                                                                                                                    */
[08:09:13] [Server thread/ERROR] [Sponge]: /* org.spongepowered.asm.util.PrettyPrinter@24063910                                                                                                                                                                                                                                                                                                                               */
[08:09:13] [Server thread/ERROR] [Sponge]: /***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
[08:09:13] [Server thread/ERROR] [Sponge]: /* StackTrace:                                                                                                                                                                                                                                                                                                                                                                     */
[08:09:13] [Server thread/ERROR] [Sponge]: /* java.lang.NullPointerException: null                                                                                                                                                                                                                                                                                                                                            */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.world.World.getCreator(World.java:7864)                                                                                                                                                                                                                                                                                                                       */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.world.World.createSnapshot(World.java:5810)                                                                                                                                                                                                                                                                                                                   */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.server.management.PlayerInteractionManager.func_187251_a(PlayerInteractionManager.java:1186)                                                                                                                                                                                                                                                                  */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.base.farming.farmers.PickableFarmer.harvestBlock(PickableFarmer.java:50)                                                                                                                                                                                                                                                                                 */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.base.farming.registry.Commune$2.run(Commune.java:44)                                                                                                                                                                                                                                                                                                     */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.base.farming.registry.Commune$2.run(Commune.java:41)                                                                                                                                                                                                                                                                                                     */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.base.farming.registry.Registry.foreach(Registry.java:36)                                                                                                                                                                                                                                                                                                 */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.base.farming.registry.Commune.harvestBlock(Commune.java:41)                                                                                                                                                                                                                                                                                              */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.machines.machine.farm.TileFarmStation.executeHarvest(TileFarmStation.java:287)                                                                                                                                                                                                                                                                           */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.machines.machine.farm.TileFarmStation.doTick(TileFarmStation.java:242)                                                                                                                                                                                                                                                                                   */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.machines.machine.farm.TileFarmStation.checkProgress(TileFarmStation.java:197)                                                                                                                                                                                                                                                                            */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.base.machine.baselegacy.AbstractPoweredTaskEntity.processTasks(AbstractPoweredTaskEntity.java:90)                                                                                                                                                                                                                                                        */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.base.machine.base.te.AbstractMachineEntity.doUpdate(AbstractMachineEntity.java:212)                                                                                                                                                                                                                                                                      */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.base.machine.baselegacy.AbstractPoweredMachineEntity.doUpdate(AbstractPoweredMachineEntity.java:59)                                                                                                                                                                                                                                                      */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     crazypants.enderio.machines.machine.farm.TileFarmStation.doUpdate(TileFarmStation.java:177)                                                                                                                                                                                                                                                                                 */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     com.enderio.core.common.TileEntityBase.func_73660_a(TileEntityBase.java:47)                                                                                                                                                                                                                                                                                                 */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     org.spongepowered.common.event.tracking.TrackingUtil.tickTileEntity(TrackingUtil.java:224)                                                                                                                                                                                                                                                                                  */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.world.WorldServer.updateTileEntity(WorldServer.java:2880)                                                                                                                                                                                                                                                                                                     */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.world.WorldServer.redirect$onUpdateTileEntities$zlm000(WorldServer.java:2867)                                                                                                                                                                                                                                                                                 */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.world.World.func_72939_s(World.java:6638)                                                                                                                                                                                                                                                                                                                     */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:2300)                                                                                                                                                                                                                                                                                                         */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)                                                                                                                                                                                                                                                                                                 */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396)                                                                                                                                                                                                                                                                                       */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)                                                                                                                                                                                                                                                                                                 */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)                                                                                                                                                                                                                                                                                                          */
[08:09:13] [Server thread/ERROR] [Sponge]: /*     java.lang.Thread.run(Thread.java:748)                                                                                                                                                                                                                                                                                                                                       */
[08:09:13] [Server thread/ERROR] [Sponge]: /*  Phases Remaining:                                                                                                                                                                                                                                                                                                                                                              */
[08:09:13] [Server thread/ERROR] [Sponge]: /*                                                                                                                                                                                                                                                                                                                                                                                 */
[08:09:13] [Server thread/ERROR] [Sponge]: /* Minecraft : 1.12.2                                                                                                                                                                                                                                                                                                                                                              */
[08:09:13] [Server thread/ERROR] [Sponge]: /* SpongeAPI : 7.1.0-SNAPSHOT-a1418ae                                                                                                                                                                                                                                                                                                                                              */
[08:09:13] [Server thread/ERROR] [Sponge]: /* SpongeForge : 1.12.2-2705-7.1.0-BETA-3304                                                                                                                                                                                                                                                                                                                                       */
[08:09:13] [Server thread/ERROR] [Sponge]: /* Minecraft Forge : 14.23.4.2735                                                                                                                                                                                                                                                                                                                                                  */
[08:09:13] [Server thread/ERROR] [Sponge]: /***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/