Closed quydrop closed 4 years ago
PocketMine-MP Crash Dump Mon Mar 16 08:18:45 UTC 2020
Error: Call to a member function getFolderName() on null File: plugins/BossPlugin-master/src/hmmhmmmm/boss/scheduler/BossTask Line: 37 Type: Error
THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: BossPlugin v3.1
Code: [28] return; [29] } [30] foreach(BossData::getBoss() as $name){ [31] $respawn = BossData::getRespawnTime($name); [32] $respawn--; [33] BossData::setRespawnTime($name, $respawn); [34] if(BossData::getRespawnTime($name) <= 0){ [35] $pos = BossData::getSpawn($name); [36] $level = $pos->getLevel(); [37] if($this->plugin->getServer()->isLevelLoaded($level->getFolderName())){ [38] if(count($level->getPlayers()) !== 0){ [39] BossManager::respawn($name); [40] BossData::setRespawnTime($name, BossData::getIsRespawnTime($name)); [41] } [42] } [43] } [44] } [45] } [46] [47] }
Backtrace:
PocketMine-MP version: 3.11.6 [Protocol 389] Git commit: cb9e79b3985719671bd5cbaa7f665b04a6d33359-dirty uname -a: Linux localhost 3.18.14-15497690 #1 SMP PREEMPT Tue Feb 26 18:42:49 KST 2019 armv8l PHP Version: 7.3.7 Zend version: 3.3.7 OS : Linux, android
Error: "Call to a member function getFolderName() on null" (EXCEPTION) in "plugins/BossPlugin-master/src/hmmhmmmm/boss/scheduler/BossTask" at line 37 [08:20:29] [Server thread/DEBUG]: #0 plugins/BossPlugin-master/src/hmmhmmmm/boss/scheduler/BossTask(23): hmmhmmmm\boss\scheduler\BossTask->respawn() [08:20:29] [Server thread/DEBUG]: #1 src/pocketmine/scheduler/TaskHandler(134): hmmhmmmm\boss\scheduler\BossTask->onRun(integer 1) [08:20:29] [Server thread/DEBUG]: #2 src/pocketmine/scheduler/TaskScheduler(176): pocketmine\scheduler\TaskHandler->run(integer 1) [08:20:29] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(643): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1) [08:20:29] [Server thread/DEBUG]: #4 src/pocketmine/Server(2380): pocketmine\plugin\PluginManager->tickSchedulers(integer 1) [08:20:29] [Server thread/DEBUG]: #5 src/pocketmine/Server(2143): pocketmine\Server->tick() [08:20:29] [Server thread/DEBUG]: #6 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor() [08:20:29] [Server thread/DEBUG]: #7 src/pocketmine/Server(1584): pocketmine\Server->start() [08:20:29] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[34] /storage/emulated/0/PocketMine-MP/, string[42] /storage/emulated/0/PocketMine-MP/plugins/) [08:20:29] [Server thread/DEBUG]: #9 src/pocketmine/PocketMine(296): pocketmine\server()
[08:20:29] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump [08:20:29] [Server thread/EMERGENCY]: Please upload the "/storage/emulated/0/PocketMine-MP/crashdumps/Mon_Mar_16-08.20.29-UTC_2020.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.