Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 122 #22

Open
teracube opened this issue Aug 8, 2018 · 1 comment

Comments

@teracube
Copy link

teracube commented Aug 8, 2018

essentialsTP_dev-31.phar
https://jenkins.pmmp.io/job/PocketMine-MP/1339/artifact/PocketMine-MP.phar

2018-08-07 [22:23:25] [Server thread/CRITICAL]: Unhandled exception executing command 'warp shop' in warp: Call to a member function getHolder() on null
2018-08-07 [22:23:25] [Server thread/CRITICAL]: Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 122
2018-08-07 [22:23:25] [Server thread/DEBUG]: #0 src/pocketmine/inventory/BaseInventory(411): pocketmine\inventory\DoubleChestInventory->onClose(pocketmine\Player object)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #1 src/pocketmine/Player(3892): pocketmine\inventory\BaseInventory->close(pocketmine\Player object)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #2 src/pocketmine/Player(3909): pocketmine\Player->removeWindow(pocketmine\inventory\DoubleChestInventory object, boolean )
2018-08-07 [22:23:25] [Server thread/DEBUG]: #3 src/pocketmine/Player(3748): pocketmine\Player->removeAllWindows()
2018-08-07 [22:23:25] [Server thread/DEBUG]: #4 essentialsTP_dev-31.phar/src/essentialsTP/essentialsTP(909): pocketmine\Player->teleport(pocketmine\level\Position object)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #5 src/pocketmine/command/PluginCommand(58): essentialsTP\essentialsTP->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string warp, array Array())
2018-08-07 [22:23:25] [Server thread/DEBUG]: #6 src/pocketmine/command/SimpleCommandMap(258): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string warp, array Array())
2018-08-07 [22:23:25] [Server thread/DEBUG]: #7 src/pocketmine/Server(1958): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string warp shop)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #8 src/pocketmine/Player(2187): pocketmine\Server->dispatchCommand(pocketmine\Player object, string warp shop)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(222): pocketmine\Player->chat(string /warp shop)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #14 src/pocketmine/Player(3033): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(158): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #16 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 31.36.105.47 61142, raklib\protocol\EncapsulatedPacket object, integer 0)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket()
2018-08-07 [22:23:25] [Server thread/DEBUG]: #18 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
2018-08-07 [22:23:25] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2018-08-07 [22:23:25] [Server thread/DEBUG]: #21 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
2018-08-07 [22:23:25] [Server thread/DEBUG]: #22 src/pocketmine/Server(2257): pocketmine\snooze\SleeperHandler->sleepUntil(double 1533673405.1912)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #23 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor()
2018-08-07 [22:23:25] [Server thread/DEBUG]: #24 src/pocketmine/Server(1713): pocketmine\Server->start()
2018-08-07 [22:23:25] [Server thread/DEBUG]: #25 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
2018-08-07 [22:23:25] [Server thread/DEBUG]: #26 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

thanks

@teracube
Copy link
Author

https://poggit.pmmp.io/r/34386/essentialsTP_dev-31.phar
https://jenkins.pmmp.io/job/PocketMine-MP/1544/artifact/PocketMine-MP.phar


2018-10-16 [17:51:05] [Server thread/CRITICAL]: Unhandled exception executing command 'warp shop' in warp: Call to a member function getHolder() on null
2018-10-16 [17:51:05] [Server thread/CRITICAL]: Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 122
2018-10-16 [17:51:05] [Server thread/DEBUG]: #0 src/pocketmine/inventory/BaseInventory(411): pocketmine\inventory\DoubleChestInventory->onClose(pocketmine\Player object)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #1 src/pocketmine/Player(3844): pocketmine\inventory\BaseInventory->close(pocketmine\Player object)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #2 src/pocketmine/Player(3861): pocketmine\Player->removeWindow(pocketmine\inventory\DoubleChestInventory object, boolean )
2018-10-16 [17:51:05] [Server thread/DEBUG]: #3 src/pocketmine/Player(3700): pocketmine\Player->removeAllWindows()
2018-10-16 [17:51:05] [Server thread/DEBUG]: #4 essentialsTP_dev-31.phar/src/essentialsTP/essentialsTP(909): pocketmine\Player->teleport(pocketmine\level\Position object)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #5 src/pocketmine/command/PluginCommand(58): essentialsTP\essentialsTP->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string warp, array Array())
2018-10-16 [17:51:05] [Server thread/DEBUG]: #6 src/pocketmine/command/SimpleCommandMap(258): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string warp, array Array())
2018-10-16 [17:51:05] [Server thread/DEBUG]: #7 src/pocketmine/Server(1955): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string warp shop)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #8 src/pocketmine/Player(2191): pocketmine\Server->dispatchCommand(pocketmine\Player object, string warp shop)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(222): pocketmine\Player->chat(string /warp shop)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #14 src/pocketmine/Player(3056): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(161): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #16 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 91.XXX.91.165 3176, raklib\protocol\EncapsulatedPacket object, integer 0)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(102): raklib\server\ServerHandler->handlePacket()
2018-10-16 [17:51:05] [Server thread/DEBUG]: #18 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
2018-10-16 [17:51:05] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(92): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2018-10-16 [17:51:05] [Server thread/DEBUG]: #21 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
2018-10-16 [17:51:05] [Server thread/DEBUG]: #22 src/pocketmine/Server(2259): pocketmine\snooze\SleeperHandler->sleepUntil(double 1539705065.5344)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #23 src/pocketmine/Server(2134): pocketmine\Server->tickProcessor()
2018-10-16 [17:51:05] [Server thread/DEBUG]: #24 src/pocketmine/Server(1700): pocketmine\Server->start()
2018-10-16 [17:51:05] [Server thread/DEBUG]: #25 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
2018-10-16 [17:51:05] [Server thread/DEBUG]: #26 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant