menu
#4873771 Call to a member function getMenuHandler() on null

Submitted by PocketMine-MP 3.19.0

General information

Version: 3.19.0
Git commit: b307cd0a
Plugin involvement: Direct
Report date: 2021-04-07 22:44:49 +0000 UTC
Server uptime: 0 days 0 hours 41 minutes 37 seconds

System Information

PHP version: 7.4.15
Operating system: linux
System banner: Linux 7901814b-f51e-4a83-9828-5e8e95725322 4.15.0-135-generic #139-Ubuntu SMP Mon Jan 18 17:38:24 UTC 2021 x86_64

Error information

Warning: the VauteMC plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function getMenuHandler() on null
File: plugins/VauteHCF.phar/src/VauteMC/API/InvMenu/InvHandler
Line: #111
Error level: Error
102
103
104
105
106
107
108
109
110
111
112
113
114
115
        $player->dataPacket($pk);
}

/**
* @param Player $player
* @return void
*/
public function removeFakeBlock(Player $player) : void {
$inventory = $player->getInventoryHandler();
self::sendFakeBlock($player, $inventory->getMenuHandler()->getPosition(), Block::get(Block::AIR));
}
}

?>
#0 plugins/VauteHCF.phar/src/VauteMC/listeners/Spawn(226): VauteMC\API\InvMenu\InvHandler->removeFakeBlock(object VauteMC\player\Player)
#1 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): VauteMC\listeners\Spawn->onInventoryCloseEvent(object pocketmine\event\inventory\InventoryCloseEvent)
#2 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object VauteMC\listeners\Spawn, object pocketmine\event\inventory\InventoryCloseEvent)
#3 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\inventory\InventoryCloseEvent)
#4 pmsrc/src/pocketmine/Player(4135): pocketmine\event\Event->call()
#5 pmsrc/src/pocketmine/Player(4154): pocketmine\Player->removeWindow(object VauteMC\API\InvMenu\ChestInventory, boolean 1)
#6 pmsrc/src/pocketmine/Player(3730): pocketmine\Player->removeAllWindows(boolean 1)
#7 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(176): pocketmine\Player->close(object pocketmine\lang\TranslationContainer, string[21] Internal server error)
#8 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[21] 190.113.165.212 18855, object raklib\protocol\EncapsulatedPacket, integer 0)
#9 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
#10 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
#12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
#13 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1617835489.703)
#14 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#15 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#16 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#17 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#18 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show