SpongePowered / SpongeForge

A Forge mod that implements SpongeAPI
http://www.spongepowered.org/
MIT License
1.14k stars 306 forks source link

Add coords to Unexpected World Change Detected! #2504

Closed LemADEC closed 5 years ago

LemADEC commented 5 years ago

I am currently running

Plugins (20): Minecraft, Minecraft Coder Pack, SpongeAPI, Sponge, AdamantineShield, AntiWDL, BetterChunkLoader, Broadcast, CatClearLag, Enjin Minecraft Plugin, GriefPrevention, LuckPerms, MagiBridge, Nucleus, Server Backup, SkyClaims, SleepVote, Total Economy, WrapperPing, spark

Issue Description Console is spamming with Unexpected World Change Detected! stack dumps

[15:46:39] [Thread-62/INFO] [laggoggles]: LagGoggles profiler started by LemADEC (30 seconds)
[15:46:40] [Server thread/ERROR] [Sponge]: /************************************************************************************************************************************************************************************************************************************************************************************************/
[15:46:40] [Server thread/ERROR] [Sponge]: /*                                                                                                                              Unexpected World Change Detected!                                                                                                                               */
[15:46:40] [Server thread/ERROR] [Sponge]: /************************************************************************************************************************************************************************************************************************************************************************************************/
[15:46:40] [Server thread/ERROR] [Sponge]: /* Sponge's tracking system is very dependent on knowing when
a change to any world takes place, however there are chances
where Sponge does not know of changes that mods may perform.
In cases like this, it is best to report to Sponge to get this
change tracked correctly and accurately. */
[15:46:40] [Server thread/ERROR] [Sponge]: /************************************************************************************************************************************************************************************************************************************************************************************************/
[15:46:40] [Server thread/ERROR] [Sponge]: /* StackTrace:                                                                                                                                                                                                                                                                                  */
[15:46:40] [Server thread/ERROR] [Sponge]: /* java.lang.Exception: null                                                                                                                                                                                                                                                                    */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     org.spongepowered.common.event.tracking.PhaseTracker.printUnexpectedBlockChange(PhaseTracker.java:524)                                                                                                                                                                                   */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     org.spongepowered.common.event.tracking.PhaseTracker.setBlockState(PhaseTracker.java:699)                                                                                                                                                                                                */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     net.minecraft.world.WorldServer.func_180501_a(WorldServer.java:2753)                                                                                                                                                                                                                     */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     net.minecraft.world.World.func_175656_a(World.java:425)                                                                                                                                                                                                                                  */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.tile.networking.TileController.updateMeta(TileController.java:131)                                                                                                                                                                                                                */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.tile.networking.TileController.onPowerChange(TileController.java:191)                                                                                                                                                                                                             */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)                                                                                                                                                                                                                             */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)                                                                                                                                                                                                    */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     java.lang.reflect.Method.invoke(Method.java:498)                                                                                                                                                                                                                                         */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.me.NetworkEventBus$EventMethod.invoke(NetworkEventBus.java:194)                                                                                                                                                                                                                   */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.me.NetworkEventBus$EventMethod.access$400(NetworkEventBus.java:176)                                                                                                                                                                                                               */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.me.NetworkEventBus$MENetworkEventInfo.invoke(NetworkEventBus.java:225)                                                                                                                                                                                                            */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.me.NetworkEventBus$MENetworkEventInfo.access$200(NetworkEventBus.java:211)                                                                                                                                                                                                        */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.me.NetworkEventBus.postEvent(NetworkEventBus.java:129)                                                                                                                                                                                                                            */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.me.Grid.postEvent(Grid.java:222)                                                                                                                                                                                                                                                  */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.me.cache.EnergyGridCache.publicPowerState(EnergyGridCache.java:277)                                                                                                                                                                                                               */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.me.cache.EnergyGridCache.onUpdateTick(EnergyGridCache.java:223)                                                                                                                                                                                                                   */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.me.GridCacheWrapper.onUpdateTick(GridCacheWrapper.java:43)                                                                                                                                                                                                                        */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.me.Grid.update(Grid.java:280)                                                                                                                                                                                                                                                     */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     appeng.hooks.TickHandler.onTick(TickHandler.java:228)                                                                                                                                                                                                                                    */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1187_TickHandler_onTick_TickEvent.invoke(.dynamic)                                                                                                                                                                            */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)                                                                                                                                                                                               */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.EventBus.postWithScan(EventBus.java:1036)                                                                                                                                                                                                     */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.EventBus.handler$beforePost$ban000(EventBus.java:1057)                                                                                                                                                                                        */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java)                                                                                                                                                                                                                  */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:266)                                                                                                                                                                                               */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:712)                                                                                                                                                                                                              */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)                                                                                                                                                                                                                       */
[15:46:40] [Server thread/ERROR] [Sponge]: /*     java.lang.Thread.run(Thread.java:748)                                                                                                                                                                                                                                                    */
[15:46:40] [Server thread/ERROR] [Sponge]: /************************************************************************************************************************************************************************************************************************************************************************************************/
[15:46:48] [Server thread/ERROR] [Sponge]: /************************************************************************************************************************************************************************************************************************************************************************************************/
[15:46:48] [Server thread/ERROR] [Sponge]: /*                                                                                                                              Unexpected World Change Detected!                                                                                                                               */
[15:46:48] [Server thread/ERROR] [Sponge]: /************************************************************************************************************************************************************************************************************************************************************************************************/
[15:46:48] [Server thread/ERROR] [Sponge]: /* Sponge's tracking system is very dependent on knowing when
a change to any world takes place, however there are chances
where Sponge does not know of changes that mods may perform.
In cases like this, it is best to report to Sponge to get this
change tracked correctly and accurately. */
[15:46:48] [Server thread/ERROR] [Sponge]: /************************************************************************************************************************************************************************************************************************************************************************************************/
[15:46:48] [Server thread/ERROR] [Sponge]: /* StackTrace:                                                                                                                                                                                                                                                                                  */
[15:46:48] [Server thread/ERROR] [Sponge]: /* java.lang.Exception: null                                                                                                                                                                                                                                                                    */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     org.spongepowered.common.event.tracking.PhaseTracker.printUnexpectedBlockChange(PhaseTracker.java:524)                                                                                                                                                                                   */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     org.spongepowered.common.event.tracking.PhaseTracker.setBlockState(PhaseTracker.java:699)                                                                                                                                                                                                */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraft.world.WorldServer.func_180501_a(WorldServer.java:2753)                                                                                                                                                                                                                     */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     sonar.flux.common.tileentity.TileFlux.setAndSendConnectionState(TileFlux.java:152)                                                                                                                                                                                                       */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     sonar.flux.common.tileentity.TileFlux.disconnect(TileFlux.java:142)                                                                                                                                                                                                                      */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     sonar.flux.network.FluxCommon.onFluxDisconnected(FluxCommon.java:93)                                                                                                                                                                                                                     */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.ASMEventHandler_951_FluxCommon_onFluxDisconnected_Disconnected.invoke(.dynamic)                                                                                                                                                               */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)                                                                                                                                                                                               */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.EventBus.postWithScan(EventBus.java:1036)                                                                                                                                                                                                     */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.EventBus.handler$beforePost$ban000(EventBus.java:1057)                                                                                                                                                                                        */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java)                                                                                                                                                                                                                  */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     sonar.flux.connection.FluxNetworkServer.removeConnections(FluxNetworkServer.java:73)                                                                                                                                                                                                     */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     sonar.flux.connection.FluxNetworkServer.onStartServerTick(FluxNetworkServer.java:84)                                                                                                                                                                                                     */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     sonar.flux.FluxEvents.onServerTick(FluxEvents.java:38)                                                                                                                                                                                                                                   */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1278_FluxEvents_onServerTick_ServerTickEvent.invoke(.dynamic)                                                                                                                                                                 */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)                                                                                                                                                                                               */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.EventBus.postWithScan(EventBus.java:1036)                                                                                                                                                                                                     */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.EventBus.handler$beforePost$ban000(EventBus.java:1057)                                                                                                                                                                                        */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java)                                                                                                                                                                                                                  */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:279)                                                                                                                                                                                                */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:657)                                                                                                                                                                                                              */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)                                                                                                                                                                                                                       */
[15:46:48] [Server thread/ERROR] [Sponge]: /*     java.lang.Thread.run(Thread.java:748)                                                                                                                                                                                                                                                    */
[15:46:48] [Server thread/ERROR] [Sponge]: /************************************************************************************************************************************************************************************************************************************************************************************************/
...

Please consider adding coordinates and blockstates in such error reports, so we can go check the related setup causing this.

https://gist.github.com/LemADEC/4279de1d1b70d4c633182e0fe728e47f

phit commented 5 years ago

Really no idea how to reproduce this, just gonna label this as an enhancement and a request to print coordinates from printUnexpectedBlockChange

phit commented 5 years ago

should be solved in 7.1.5-3534 or newer, if not leave a message and I'll reopen