menu
#5038046 Call to a member function onLogin() on null

Submitted by PocketMine-MP 4.0.0+dev

General information

Version: 4.0.0+dev
Git commit: c5abae9e
Plugin involvement: Direct
Report date: 2021-07-22 00:33:37 +0000 UTC
Server uptime: 0 days 3 hours 37 minutes 4 seconds

System Information

PHP version: 8.0.8
Operating system: linux
System banner: Linux -s-1vcpu-1gb-nyc1-01 4.15.0-142-generic #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 x86_64

Error information

Warning: the CumCore plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function onLogin() on null
File: plugins/CumCore_v3.2.0.phar/src/Prim/CumCore/Tasks/AsyncDataLoadTask
Line: #26
Error level: Error
17
18
19
20
21
22
23
24
25
26
27
28
29
		$this->path = $path;
}

public function onRun() : void {
$data = json_decode(file_get_contents($this->path), true);
$this->setResult($data);
}

public function onCompletion() : void {
SessionManager::getInstance()->getSessionByName($this->player)->onLogin($this->getResult());
}

}
#0 pmsrc/src/scheduler/AsyncPool(276): Prim\CumCore\Tasks\AsyncDataLoadTask->onCompletion()
#1 pmsrc/src/scheduler/AsyncPool(148): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(integer 0)
#2 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\scheduler\AsyncPool->pocketmine\scheduler\{closure}()
#3 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#4 pmsrc/src/Server(1598): pocketmine\snooze\SleeperHandler->sleepUntil(double 1626914017.5521)
#5 pmsrc/src/Server(1148): pocketmine\Server->tickProcessor()
#6 pmsrc/src/PocketMine(277): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[21] /home/div/pocketmine/, string[29] /home/div/pocketmine/plugins/)
#7 pmsrc/src/PocketMine(300): pocketmine\server()
#8 pmsrc(11): require(string[65] phar:///home/div/pocketmine/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show