#9249364 Unhandled async exception: Can use "yield from" only with arrays and Traversables
Submitted by PocketMine-MP 5.5.0
General information
Version: | 5.5.0 |
---|---|
Git commit: | c8d357f4 |
Plugin involvement: | Direct |
Report date: | 2023-09-19 16:06:17 +0000 UTC |
Server uptime: | 0 days 0 hours 0 minutes 8 seconds |
System Information
PHP version: | 8.1.22 |
---|---|
JIT status: | Not available |
Operating system: | win |
System banner: | Windows NT JEAN-LAPTOP 10.0 build 22621 (Windows 11) AMD64 |
Error information
Warning: the Core plugin was directly involved in this crash. Please contact the plugin author.
Thread: | Main |
---|---|
Message: | Unhandled async exception: Can use "yield from" only with arrays and Traversables |
File: | plugins/Core.phar/src/amblydia/core/libs/_089f159637c6c3e0/SOFe/AwaitGenerator/Await |
Line: | #587 |
Type: | amblydia\core\libs\_089f159637c6c3e0\SOFe\AwaitGenerator\AwaitException |
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
$this->sleeping = true;
parent::reject($throwable);
foreach($this->catches as $class => $onError){
if($class === "" || is_a($throwable, $class)){
$onError($throwable);
return;
}
}
throw new AwaitException("Unhandled async exception: {$throwable->getMessage()}", 0, $throwable);
}
/**
* @internal This is implementation detail. Existence, signature and behaviour are semver-exempt.
*/
public function isSleeping() : bool{
return $this->sleeping;
}
}
#0 plugins/Core.phar/src/amblydia/core/libs/_089f159637c6c3e0/SOFe/AwaitGenerator/Await(334): amblydia\core\libs\_089f159637c6c3e0\SOFe\AwaitGenerator\Await->reject(object Error#180679)
#1 plugins/Core.phar/src/amblydia/core/libs/_089f159637c6c3e0/SOFe/AwaitGenerator/Await(129): amblydia\core\libs\_089f159637c6c3e0\SOFe\AwaitGenerator\Await->wakeup(array[2])
#2 plugins/Core.phar/src/amblydia/core/libs/_089f159637c6c3e0/SOFe/AwaitGenerator/Await(102): amblydia\core\libs\_089f159637c6c3e0\SOFe\AwaitGenerator\Await::g2c(object Generator#163922, null, array[0])
#3 plugins/Core.phar/src/amblydia/core/api/scoreboard/events/ScoreboardListener(34): amblydia\core\libs\_089f159637c6c3e0\SOFe\AwaitGenerator\Await::f2c(object Closure#171191)
#4 pmsrc/src/event/RegisteredListener(61): amblydia\core\api\scoreboard\events\ScoreboardListener->onPlayerTags(object amblydia\core\api\scoreboard\events\PlayerScoreTagEvent#171129)
#5 pmsrc/src/event/Event(63): pocketmine\event\RegisteredListener->callEvent(object amblydia\core\api\scoreboard\events\PlayerScoreTagEvent#171129)
#6 plugins/Core.phar/src/amblydia/core/api/scoreboard/ScoreboardTask(33): pocketmine\event\Event->call()
#7 pmsrc/src/scheduler/TaskHandler(113): amblydia\core\api\scoreboard\ScoreboardTask->onRun()
#8 pmsrc/src/scheduler/TaskScheduler(137): pocketmine\scheduler\TaskHandler->run()
#9 pmsrc/src/plugin/PluginManager(530): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(int 121)
#10 pmsrc/src/Server(1789): pocketmine\plugin\PluginManager->tickSchedulers(int 121)
#11 pmsrc/src/Server(1678): pocketmine\Server->tick()
#12 pmsrc/src/Server(1064): pocketmine\Server->tickProcessor()
#13 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[46] C:\dev\projects\minecraft\pocketmine\amblydia\, string[54] C:\dev\projects\minecraft\pocketmine\amblydia\plugins\)
#14 pmsrc/src/PocketMine(357): pocketmine\server()
#15 pmsrc(11): require(string[90] phar://C:/dev/projects/minecraft/pocketmine/amblydia/PocketMine-MP.phar/src/Pock)
Loaded Plugins
-
Show
Server Settings
-
Show
Installed Composer Dependencies
-
Show
Installed PHP Extensions
-
Show