WorldEdit

WorldEdit

43M Downloads

WorldEdit causing Ticking Server crash

AscallenHM opened this issue ยท 1 comments

commented

WorldEdit Version

7.2.15

Platform Version

Forge

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

I have an OMGSERV with curseforge and the BMC4 modpack installed on it. I installed WorldEdit yesterday and everything was fine, but today the server crashes on launch.

I've already tried to put ServerHandWatchdog config to -1 but it doesn't make any difference.

If I remove WorldEdit from my mods, the server starts up without a problem but I can't understand why yesterday everything was fine and this morning it wasn't, nobody logged on during the night.

Thanks :)

Here the log :

---- Minecraft Crash Report ----
// On the bright side, I bought you a teddy bear!

Time: 2024-06-26 13:03:01
Description: Watching Server

java.lang.Error: ServerHangWatchdog detected that a single server tick took 91.02 seconds (should be max 0.05)
	at com.google.common.collect.ImmutableMapEntrySet.size(ImmutableMapEntrySet.java:88) ~[guava-31.1-jre.jar%2374!/:?] {}
	at com.google.common.collect.Sets.equalsImpl(Sets.java:1772) ~[guava-31.1-jre.jar%2374!/:?] {re:mixin}
	at com.google.common.collect.ImmutableSet.equals(ImmutableSet.java:325) ~[guava-31.1-jre.jar%2374!/:?] {re:mixin}
	at com.google.common.collect.Maps.equalsImpl(Maps.java:3983) ~[guava-31.1-jre.jar%2374!/:?] {re:mixin}
	at com.google.common.collect.ImmutableMap.equals(ImmutableMap.java:1170) ~[guava-31.1-jre.jar%2374!/:?] {re:mixin}
	at com.google.common.collect.RegularImmutableMap.get(RegularImmutableMap.java:281) ~[guava-31.1-jre.jar%2374!/:?] {}
	at com.google.common.collect.RegularImmutableMap.get(RegularImmutableMap.java:258) ~[guava-31.1-jre.jar%2374!/:?] {}
	at com.sk89q.worldedit.world.block.BlockState.populate(BlockState.java:136) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.world.block.BlockState.generateStateMap(BlockState.java:115) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.world.block.BlockType.lambda$new$3(BlockType.java:61) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.world.block.BlockType$$Lambda$28660/0x0000000803ad2f20.get(Unknown Source) ~[?:?] {}
	at com.sk89q.worldedit.util.concurrency.LazyReference.getValue(LazyReference.java:68) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.world.block.BlockType.getBlockStatesMap(BlockType.java:91) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.world.block.BlockType.getAllStates(BlockType.java:175) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.extension.platform.Capability$4.ready(Capability.java:98) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.extension.platform.PlatformManager.lambda$handleNewPlatformReady$0(PlatformManager.java:344) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.extension.platform.PlatformManager$$Lambda$28831/0x0000000803b2a338.accept(Unknown Source) ~[?:?] {}
	at java.util.Map.forEach(Map.java:713) ~[?:?] {re:mixin}
	at com.sk89q.worldedit.extension.platform.PlatformManager.handleNewPlatformReady(PlatformManager.java:344) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual(DirectMethodHandle$Holder) ~[?:?] {}
	at java.lang.invoke.LambdaForm$MH/0x0000000802bf4400.invoke(LambdaForm$MH) ~[?:?] {}
	at java.lang.invoke.LambdaForm$MH/0x0000000803808000.invokeExact_MT(LambdaForm$MH) ~[?:?] {}
	at com.sk89q.worldedit.util.eventbus.MethodHandleEventHandler.dispatch(MethodHandleEventHandler.java:51) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:193) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:181) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.forge.ForgeWorldEdit.serverStarted(ForgeWorldEdit.java:260) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.forge.__ForgeWorldEdit_serverStarted_ServerStartedEvent.invoke(.dynamic) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading,pl:eventbus:B}
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
	at net.minecraftforge.eventbus.EventBus$$Lambda$5026/0x0000000801a8c8b0.invoke(Unknown Source) ~[?:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
	at net.minecraftforge.server.ServerLifecycleHooks.handleServerStarted(ServerLifecycleHooks.java:115) ~[forge-1.20.1-47.2.17-universal.jar%23558!/:?] {re:classloading}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:638) ~[server-1.20.1-20230612.114412-srg.jar%23553!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:eldritch_end.mixins.json:server.BiomeMixin from mod eldritch_end,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:together.mixins.common.json:MinecraftServerMixin from mod bclib,pl:mixin:APP:together.mixins.common.json:MinecraftServerMixinLate from mod bclib,pl:mixin:A,pl:connector_pre_launch:A}
	at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23553!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:eldritch_end.mixins.json:server.BiomeMixin from mod eldritch_end,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:together.mixins.common.json:MinecraftServerMixin from mod bclib,pl:mixin:APP:together.mixins.common.json:MinecraftServerMixinLate from mod bclib,pl:mixin:A,pl:connector_pre_launch:A}
	at net.minecraft.server.MinecraftServer$$Lambda$27601/0x000000080390da98.run(Unknown Source) ~[?:?] {}
	at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server Watchdog
Suspected Mod: 
	WorldEdit (worldedit), Version: 7.2.15+6463-5ca4dff
		Issue tracker URL: https://discord.gg/enginehub
		at TRANSFORMER/[email protected]+6463-5ca4dff/com.sk89q.worldedit.world.block.BlockState.populate(BlockState.java:136)
Stacktrace:
	at com.google.common.collect.ImmutableMapEntrySet.size(ImmutableMapEntrySet.java:88) ~[guava-31.1-jre.jar%2374!/:?] {}
	at com.google.common.collect.Sets.equalsImpl(Sets.java:1772) ~[guava-31.1-jre.jar%2374!/:?] {re:mixin}
	at com.google.common.collect.ImmutableSet.equals(ImmutableSet.java:325) ~[guava-31.1-jre.jar%2374!/:?] {re:mixin}
	at com.google.common.collect.Maps.equalsImpl(Maps.java:3983) ~[guava-31.1-jre.jar%2374!/:?] {re:mixin}
	at com.google.common.collect.ImmutableMap.equals(ImmutableMap.java:1170) ~[guava-31.1-jre.jar%2374!/:?] {re:mixin}
	at com.google.common.collect.RegularImmutableMap.get(RegularImmutableMap.java:281) ~[guava-31.1-jre.jar%2374!/:?] {}
	at com.google.common.collect.RegularImmutableMap.get(RegularImmutableMap.java:258) ~[guava-31.1-jre.jar%2374!/:?] {}
	at com.sk89q.worldedit.world.block.BlockState.populate(BlockState.java:136) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.world.block.BlockState.generateStateMap(BlockState.java:115) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.world.block.BlockType.lambda$new$3(BlockType.java:61) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.world.block.BlockType$$Lambda$28660/0x0000000803ad2f20.get(Unknown Source) ~[?:?] {}
	at com.sk89q.worldedit.util.concurrency.LazyReference.getValue(LazyReference.java:68) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.world.block.BlockType.getBlockStatesMap(BlockType.java:91) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.world.block.BlockType.getAllStates(BlockType.java:175) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.extension.platform.Capability$4.ready(Capability.java:98) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.extension.platform.PlatformManager.lambda$handleNewPlatformReady$0(PlatformManager.java:344) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.extension.platform.PlatformManager$$Lambda$28831/0x0000000803b2a338.accept(Unknown Source) ~[?:?] {}
	at java.util.Map.forEach(Map.java:713) ~[?:?] {re:mixin}
	at com.sk89q.worldedit.extension.platform.PlatformManager.handleNewPlatformReady(PlatformManager.java:344) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual(DirectMethodHandle$Holder) ~[?:?] {}
	at java.lang.invoke.LambdaForm$MH/0x0000000802bf4400.invoke(LambdaForm$MH) ~[?:?] {}
	at java.lang.invoke.LambdaForm$MH/0x0000000803808000.invokeExact_MT(LambdaForm$MH) ~[?:?] {}
	at com.sk89q.worldedit.util.eventbus.MethodHandleEventHandler.dispatch(MethodHandleEventHandler.java:51) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:193) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:181) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.forge.ForgeWorldEdit.serverStarted(ForgeWorldEdit.java:260) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading}
	at com.sk89q.worldedit.forge.__ForgeWorldEdit_serverStarted_ServerStartedEvent.invoke(.dynamic) ~[worldedit-mod-7.2.15.jar%23534!/:?] {re:classloading,pl:eventbus:B}
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
	at net.minecraftforge.eventbus.EventBus$$Lambda$5026/0x0000000801a8c8b0.invoke(Unknown Source) ~[?:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
	at net.minecraftforge.server.ServerLifecycleHooks.handleServerStarted(ServerLifecycleHooks.java:115) ~[forge-1.20.1-47.2.17-universal.jar%23558!/:?] {re:classloading}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:638) ~[server-1.20.1-20230612.114412-srg.jar%23553!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:eldritch_end.mixins.json:server.BiomeMixin from mod eldritch_end,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:together.mixins.common.json:MinecraftServerMixin from mod bclib,pl:mixin:APP:together.mixins.common.json:MinecraftServerMixinLate from mod bclib,pl:mixin:A,pl:connector_pre_launch:A}
	at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23553!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,xf:fml:openpartiesandclaims:xaero_pac_minecraftserverclass,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:eldritch_end.mixins.json:server.BiomeMixin from mod eldritch_end,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:together.mixins.common.json:MinecraftServerMixin from mod bclib,pl:mixin:APP:together.mixins.common.json:MinecraftServerMixinLate from mod bclib,pl:mixin:A,pl:connector_pre_launch:A}

Expected Behavior

The server works with WorldEdit

Reproduction Steps

  1. Start the server with WorldEdit

Anything Else?

No response

commented

same as #2522, this is not a WorldEdit issue but an issue with another mod.