question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Asynchronous commands?

See original GitHub issue

So, i’m working on creating a custom Gui using BSP, and came across a bug or issues… The plugin’s telling me that the skyblock comands its running when i click, are Asynchronous??


28.02 13:08:18 [Server] WARN [BossShopPro] Plugin BossShopPro v2.0.2 generated an exception while executing task 1456
28.02 13:08:18 [Server] INFO java.lang.IllegalStateException: Asynchronous command dispatch!
28.02 13:08:18 [Server] INFO at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14) ~[Spigot.jar:git-Spigot-4165cd8-cb98c6e]
28.02 13:08:18 [Server] INFO at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:702) ~[Spigot.jar:git-Spigot-4165cd8-cb98c6e]
28.02 13:08:18 [Server] INFO at org.bukkit.craftbukkit.v1_13_R2.entity.CraftPlayer.performCommand(CraftPlayer.java:323) ~[Spigot.jar:git-Spigot-4165cd8-cb98c6e]
28.02 13:08:18 [Server] INFO at org.black_ixx.bossshop.core.rewards.BSRewardTypePlayerCommand.giveReward(BSRewardTypePlayerCommand.java:50) ~[?:?]
28.02 13:08:18 [Server] INFO at org.black_ixx.bossshop.core.BSBuy.purchase(BSBuy.java:522) ~[?:?]
28.02 13:08:18 [Server] INFO at org.black_ixx.bossshop.misc.ShopItemPurchaseTask.run(ShopItemPurchaseTask.java:45) ~[?:?]
28.02 13:08:18 [Server] INFO at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:81) ~[Spigot.jar:git-Spigot-4165cd8-cb98c6e]
28.02 13:08:18 [Server] INFO at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [Spigot.jar:git-Spigot-4165cd8-cb98c6e]
28.02 13:08:18 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
28.02 13:08:18 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
28.02 13:08:18 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]

There’s the exact error. I’m trying to make it run /island create custom-island Is this an issue with Skyblock?

If not, then i’ll just go to their place for support, i’m just not sure if this is a problem specifically with BSkyblock, as i’ve never seen this when using commands from other plugins.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tastybentocommented, Mar 1, 2019

From this stack trace I can’t see where it’s hitting BentoBox or BSkyBlock. It looks like the player is performing a command async and that’s what’s being caught. I’d check the error on BossShopPro and see what they say.

0reactions
tastybentocommented, Mar 2, 2019

Okay, that’s a pity. Hopefully it’ll work out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Synchronous and Asynchronous Commands - IBM
Processing of commands can be either synchronous or asynchronous. A synchronous command is considered to have achieved the expected result when the command...
Read more >
Asynchronous Commands | WPF Controls
Asynchronous commands can be useful if you need to run a time-consuming operation in a separate thread without freezing the UI.
Read more >
AsynchronousCommand - Microsoft Learn
AsynchronousCommand specifies a single command to run the first time that a user logs onto the computer. Child Elements. Setting, Description ...
Read more >
Async command - Oracle Help Center
The ASYNC command lets you execute an SQL statement in a separate thread. It is used in conjunction with the Wait For command...
Read more >
Software Architectures examples : Asynchronous Command ...
To explore a solution for this posibilities, I decided to build this example by applying an asynchronous command queue.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found