menu
#2823528 Call to undefined method CoreEssentials\system\worker\WorkerPool::isCrashed()

Submitted by PocketMine-MP 3.9.3

General information

Version: 3.9.3
Git commit: 18a1bfe4
Plugin involvement: Direct
Report date: 2019-09-11 05:00:48 +0000 UTC

System Information

PHP version: 7.2.19
Operating system: win
System banner: Windows NT LAPTOP-L5HDADQQ 10.0 build 17763 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to undefined method CoreEssentials\system\worker\WorkerPool::isCrashed()
File: C:/Users/coole/Documents/plugins/Test_Server/virions/CoreEssentials/src/CoreEssentials/system/worker/WorkerPool
Line: #195
Error level: Error
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
            if($task->isGarbage() and !$task->isRunning() and !$task->isCrashed()) {
if($task->isCancelled()) {
$task->onComplete();
if($task->removeDanglingStoredObjects()) {
$this->logger->notice("WorkerTask " . get_class($task) . " stored local data but did not remove them after completion");
}
}

$this->removeTask($task);
} else if($this->isCrashed()) {
$this->logger->critical("Could not execute task " . (new \ReflectionClass($task))->getShortName() . " Task crashed");
$this->removeTask($task, true);
}
}
$this->collectWorkers();
}

public function shutdownUnusedWorkers(): int {
$ret = 0;
$time = time();
#0 C:/Users/coole/Documents/plugins/Test_Server/virions/CoreEssentials/src/CoreEssentials/system/server/ServerTask(20): CoreEssentials\system\worker\WorkerPool->collectTasks()
#1 src/pocketmine/scheduler/TaskHandler(159): CoreEssentials\system\server\ServerTask->onRun(integer 141)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 141)
#3 src/pocketmine/plugin/PluginManager(689): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 141)
#4 src/pocketmine/Server(2569): pocketmine\plugin\PluginManager->tickSchedulers(integer 141)
#5 src/pocketmine/Server(2345): pocketmine\Server->tick()
#6 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1784): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[45] C:\Users\coole\Documents\plugins\Test_Server\, string[53] C:\Users\coole\Documents\plugins\Test_Server\plugins\)
#9 src/pocketmine/PocketMine(299): pocketmine\server()
#10 (1): require(string[100] phar://C:/Users/coole/Documents/plugins/Test_Server/PocketMine-MP.phar/src/pocke)

Loaded Plugins

  • Show

Server Settings

  • Show