WorldEdit

WorldEdit

43M Downloads

Sending command output to commandblocks async causes exception

seema84 opened this issue ยท 1 comments

commented

WorldEdit Version

WorldEdit v7.3.4+6823-6263244

Platform Version

Paper version 1.20.6-147

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

When I try to load and paste a schematic into Commandblocks, I get the following error message

[WorldEdit Task Executor - 3/INFO]: test2 loaded /mnt/server1/plugins/WorldEdit/schematics/test5.schem
[WorldEdit Task Executor - 3/ERROR]: Thread WorldEdit Task Executor - 3 failed main thread check: sendSystemMessage to a command block
java.lang.Throwable: null
	at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14) ~[paper-1.20.6.jar:1.20.6-147-e41d44f]
	at net.minecraft.world.level.BaseCommandBlock.sendSystemMessage(BaseCommandBlock.java:181) ~[paper-1.20.6.jar:1.20.6-147-e41d44f]
	at org.bukkit.craftbukkit.command.CraftBlockCommandSender.sendMessage(CraftBlockCommandSender.java:48) ~[paper-1.20.6.jar:1.20.6-147-e41d44f]
	at worldedit-bukkit-7.3.4.jar/com.sk89q.worldedit.util.formatting.text.adapter.bukkit.LegacyAdapter.sendMessage(LegacyAdapter.java:36) ~[worldedit-bukkit-7.3.4.jar:?]
	at worldedit-bukkit-7.3.4.jar/com.sk89q.worldedit.util.formatting.text.adapter.bukkit.TextAdapter0.sendComponent(TextAdapter.java:138) ~[worldedit-bukkit-7.3.4.jar:?]
	at worldedit-bukkit-7.3.4.jar/com.sk89q.worldedit.util.formatting.text.adapter.bukkit.TextAdapter.sendComponent(TextAdapter.java:82) ~[worldedit-bukkit-7.3.4.jar:?]
	at worldedit-bukkit-7.3.4.jar/com.sk89q.worldedit.util.formatting.text.adapter.bukkit.TextAdapter.sendMessage(TextAdapter.java:48) ~[worldedit-bukkit-7.3.4.jar:?]
	at worldedit-bukkit-7.3.4.jar/com.sk89q.worldedit.bukkit.BukkitCommandSender.print(BukkitCommandSender.java:101) ~[worldedit-bukkit-7.3.4.jar:?]
	at worldedit-bukkit-7.3.4.jar/com.sk89q.worldedit.command.util.AsyncCommandBuilder.runTask(AsyncCommandBuilder.java:163) ~[worldedit-bukkit-7.3.4.jar:?]
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131) ~[guava-32.1.2-jre.jar:?]
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:75) ~[guava-32.1.2-jre.jar:?]
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82) ~[guava-32.1.2-jre.jar:?]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

cb nr1: /schematic load test5 sponge.3
cb nr2: //placement here
cb nr3: //paste

nr2

commented

This issue has been automatically marked as stale because it has not been fully confirmed. It will be closed if no further activity occurs. Thank you for your contributions.