Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending command output to commandblocks async causes exception #2628

Open
5 tasks done
seema84 opened this issue Sep 17, 2024 · 1 comment
Open
5 tasks done

Sending command output to commandblocks async causes exception #2628

seema84 opened this issue Sep 17, 2024 · 1 comment
Labels
status:accepted Will be fixed / added to WorldEdit, eventually type:bug Incorrect behavior, not working as intended

Comments

@seema84
Copy link

seema84 commented Sep 17, 2024

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

@seema84 seema84 added status:pending Pending acceptance or closure. type:bug Incorrect behavior, not working as intended labels Sep 17, 2024
Copy link

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.

@github-actions github-actions bot added the status:stale Issue was not confirmed by maintainers label Oct 18, 2024
@wizjany wizjany changed the title schematic in commandblock Sending command output to commandblocks async causes exception Oct 18, 2024
@wizjany wizjany added status:accepted Will be fixed / added to WorldEdit, eventually and removed status:pending Pending acceptance or closure. status:stale Issue was not confirmed by maintainers labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:accepted Will be fixed / added to WorldEdit, eventually type:bug Incorrect behavior, not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants