menu
#3973020 Call to a member function getHolder() on null

Submitted by PocketMine-MP 3.11.4

General information

Version: 3.11.4
Git commit: 13f28d84
Plugin involvement: Indirect
Report date: 2020-03-23 23:44:17 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: linux
System banner: Linux b11251a1-13fb-4d0d-9893-f77a1886a695 4.15.0-69-generic #78-Ubuntu SMP Wed Nov 6 11:30:24 UTC 2019 x86_64

Error information

Warning: the AuctionHouseUpgraded plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Call to a member function getHolder() on null
File: src/pocketmine/inventory/DoubleChestInventory
Line: #62
Error level: Error
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

public function getInventory(){
return $this;
}

/**
* @return Chest
*/
public function getHolder(){
return $this->left->getHolder();
}

public function getItem(int $index) : Item{
return $index < $this->left->getSize() ? $this->left->getItem($index) : $this->right->getItem($index - $this->left->getSize());
}

public function setItem(int $index, Item $item, bool $send = true) : bool{
$old = $this->getItem($index);
if($index < $this->left->getSize() ? $this->left->setItem($index, $item, $send) : $this->right->setItem($index - $this->left->getSize(), $item, $send)){
$this->onSlotChange($index, $old, $send);
#0 src/pocketmine/inventory/ContainerInventory(46): pocketmine\inventory\DoubleChestInventory->getHolder()
#1 src/pocketmine/inventory/ChestInventory(74): pocketmine\inventory\ContainerInventory->onOpen(object pocketmine\Player)
#2 src/pocketmine/inventory/DoubleChestInventory(117): pocketmine\inventory\ChestInventory->onOpen(object pocketmine\Player)
#3 src/pocketmine/inventory/BaseInventory(412): pocketmine\inventory\DoubleChestInventory->onOpen(object pocketmine\Player)
#4 src/pocketmine/Player(4093): pocketmine\inventory\BaseInventory->open(object pocketmine\Player)
#5 plugins/Market-1.phar/src/SonsaYT/AuctionHouseUpgraded/Task/AHWindow(24): pocketmine\Player->addWindow(object pocketmine\inventory\DoubleChestInventory)
#6 src/pocketmine/scheduler/TaskHandler(169): SonsaYT\AuctionHouseUpgraded\Task\AHWindow->onRun(integer 23660)
#7 src/pocketmine/scheduler/TaskScheduler(206): pocketmine\scheduler\TaskHandler->run(integer 23660)
#8 src/pocketmine/plugin/PluginManager(703): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 23660)
#9 src/pocketmine/Server(2670): pocketmine\plugin\PluginManager->tickSchedulers(integer 23660)
#10 src/pocketmine/Server(2403): pocketmine\Server->tick()
#11 src/pocketmine/Server(2250): pocketmine\Server->tickProcessor()
#12 src/pocketmine/Server(1811): pocketmine\Server->start()
#13 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#14 src/pocketmine/PocketMine(297): pocketmine\server()
#15 (1): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show