menu
#3978174 Call to a member function getFolderName() on null

Submitted by PocketMine-MP 3.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: Direct
Report date: 2020-03-25 10:44:40 +0000 UTC

System Information

PHP version: 7.3.5
Operating system: win
System banner: Windows NT WHATUPTIME-COM 6.3 build 9600 (Windows Server 2012 R2 Datacenter Edition) AMD64

Error information

Warning: the BossPlugin plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function getFolderName() on null
File: plugins/BossPlugin_Vh-ByHarazde.phar/src/hmmhmmmm/boss/database/sqlite/BossData_SQLite
Line: #77
Error level: Error
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
      foreach($this->getAll() as $name){
$pos = $this->getPosition($name);
$this->db->executeChange("bossplugin.boss.save", [
"name" => $name,
"object" => serialize([
"entityType" => $this->getEntityType($name),
"x" => $pos->x,
"y" => $pos->y,
"z" => $pos->z,
"level" => $pos->level->getFolderName(),
"isrespawntime" => $this->getIsRespawnTime($name),
"respawntime" => $this->getRespawnTime($name),
"deathRespawntime" => $this->getDeathRespawnTime($name),
"health" => $this->getHealth($name),
"speed" => $this->getSpeed($name),
"scale" => $this->getScale($name),
"minDamage" => $this->getMinDamage($name),
"maxDamage" => $this->getMaxDamage($name),
"infoDrop" => $this->getInfoDrop($name),
"commandDrop" => $this->getCommandDrop($name)
#0 plugins/BossPlugin_Vh-ByHarazde.phar/src/hmmhmmmm/boss/utils/SQL_BossDataUtils(23): hmmhmmmm\boss\database\sqlite\BossData_SQLite->saveAll()
#1 plugins/BossPlugin_Vh-ByHarazde.phar/src/hmmhmmmm/boss/database/sqlite/BossData_SQLite(177): hmmhmmmm\boss\utils\SQL_BossDataUtils->save()
#2 plugins/BossPlugin_Vh-ByHarazde.phar/src/hmmhmmmm/boss/BossData(108): hmmhmmmm\boss\database\sqlite\BossData_SQLite->setRespawnTime(string[9] ..c..l..., integer -2)
#3 plugins/BossPlugin_Vh-ByHarazde.phar/src/hmmhmmmm/boss/scheduler/BossTask(33): hmmhmmmm\boss\BossData::setRespawnTime(string[9] ..c..l..., integer -2)
#4 plugins/BossPlugin_Vh-ByHarazde.phar/src/hmmhmmmm/boss/scheduler/BossTask(23): hmmhmmmm\boss\scheduler\BossTask->respawn()
#5 src/pocketmine/scheduler/TaskHandler(159): hmmhmmmm\boss\scheduler\BossTask->onRun(integer 1)
#6 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1)
#7 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1)
#8 src/pocketmine/Server(2567): pocketmine\plugin\PluginManager->tickSchedulers(integer 1)
#9 src/pocketmine/Server(2343): pocketmine\Server->tick()
#10 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#11 src/pocketmine/Server(1785): pocketmine\Server->start()
#12 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[47] C:\Users\Administrator\Desktop\Server Skyblock\, string[55] C:\Users\Administrator\Desktop\Server Skyblock\plugins\)
#13 src/pocketmine/PocketMine(295): pocketmine\server()
#14 (1): require(string[102] phar://C:/Users/Administrator/Desktop/Server Skyblock/PocketMine-MP.phar/src/poc)

Loaded Plugins

  • Show

Server Settings

  • Show