issues running on my server test PocketMine-MP version 4.0.0+dev.1264 + 20 plugins PMMP or plugin issues ? see attached issues.txt file 1/InvalidStateException: "Cannot schedule update on garbage entity pocketmine\Player" (EXCEPTION) in "src/pocketmine/entity/Entity" at line 1391 2/Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 59 3/Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 122 thanks
dude just download this phar https://jenkins.pmmp.io/job/PocketMine-MP/ only problem is I don't know how to update plugins
My server is spammed with 2 errors I use latest stable PMMP build 1339 and 30 plugins which plugin can cause this error ? thanks Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 59 and Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 122
Code: 2018-08-10 [20:57:34] [Server thread/CRITICAL]: Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 59 2018-08-10 [20:57:34] [Server thread/DEBUG]: #0 src/pocketmine/inventory/ContainerInventory(46): pocketmine\inventory\DoubleChestInventory->getHolder() 2018-08-10 [20:57:34] [Server thread/DEBUG]: #1 src/pocketmine/inventory/ChestInventory(65): pocketmine\inventory\ContainerInventory->onOpen(pocketmine\Player object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #2 src/pocketmine/inventory/DoubleChestInventory(114): pocketmine\inventory\ChestInventory->onOpen(pocketmine\Player object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #3 src/pocketmine/inventory/BaseInventory(405): pocketmine\inventory\DoubleChestInventory->onOpen(pocketmine\Player object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #4 src/pocketmine/Player(3865): pocketmine\inventory\BaseInventory->open(pocketmine\Player object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #5 src/pocketmine/block/Chest(122): pocketmine\Player->addWindow(pocketmine\inventory\DoubleChestInventory object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(1785): pocketmine\block\Chest->onActivate(pocketmine\item\ItemBlock object, pocketmine\Player object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #7 src/pocketmine/Player(2368): pocketmine\level\Level->useItemOn(pocketmine\math\Vector3 object, pocketmine\item\ItemBlock object, integer 5, pocketmine\math\Vector3 object, pocketmine\Player object, boolean 1) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(132): pocketmine\Player->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(155): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #13 src/pocketmine/Player(3033): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(158): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #15 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 78.199.200.85 56196, raklib\protocol\EncapsulatedPacket object, integer 0) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket() 2018-08-10 [20:57:34] [Server thread/DEBUG]: #17 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process() 2018-08-10 [20:57:34] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #19 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() 2018-08-10 [20:57:34] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() 2018-08-10 [20:57:34] [Server thread/DEBUG]: #21 src/pocketmine/Server(2257): pocketmine\snooze\SleeperHandler->sleepUntil(double 1533927454.1662) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #22 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor() 2018-08-10 [20:57:34] [Server thread/DEBUG]: #23 src/pocketmine/Server(1713): pocketmine\Server->start() 2018-08-10 [20:57:34] [Server thread/DEBUG]: #24 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/) 2018-08-10 [20:57:34] [Server thread/DEBUG]: #25 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php) 2018-08-10 [20:57:34] [RakLibServer thread/NOTICE]: Blocked 7X.XXX.XXX.85 for 5 seconds
Code: 2018-08-10 [08:46:39] [Server thread/ERROR]: Error while unloading a chunk: Call to a member function getHolder() on null 2018-08-10 [08:46:39] [Server thread/CRITICAL]: Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 122 2018-08-10 [08:46:39] [Server thread/DEBUG]: #0 src/pocketmine/inventory/BaseInventory(411): pocketmine\inventory\DoubleChestInventory->onClose(pocketmine\Player object) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #1 src/pocketmine/Player(3892): pocketmine\inventory\BaseInventory->close(pocketmine\Player object) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #2 src/pocketmine/inventory/BaseInventory(391): pocketmine\Player->removeWindow(pocketmine\inventory\DoubleChestInventory object, boolean 1) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #3 src/pocketmine/tile/Chest(77): pocketmine\inventory\BaseInventory->removeAllViewers(boolean 1) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #4 src/pocketmine/level/format/Chunk(668): pocketmine\tile\Chest->close() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #5 src/pocketmine/level/Level(2739): pocketmine\level\format\Chunk->onUnload() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(2997): pocketmine\level\Level->unloadChunk(integer 56, integer 10, boolean 1) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(707): pocketmine\level\Level->unloadChunks() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #8 src/pocketmine/Server(2355): pocketmine\level\Level->doTick(integer 169883) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #9 src/pocketmine/Server(2512): pocketmine\Server->checkTickUpdates(integer 169883, double 1533883599.5187) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #10 src/pocketmine/Server(2254): pocketmine\Server->tick() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #11 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #12 src/pocketmine/Server(1713): pocketmine\Server->start() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #13 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #14 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php) 2018-08-10 [08:46:39] [Server thread/ERROR]: Error while unloading a chunk: Call to a member function getHolder() on null 2018-08-10 [08:46:39] [Server thread/CRITICAL]: Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 122 2018-08-10 [08:46:39] [Server thread/DEBUG]: #0 src/pocketmine/inventory/BaseInventory(411): pocketmine\inventory\DoubleChestInventory->onClose(pocketmine\Player object) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #1 src/pocketmine/Player(3892): pocketmine\inventory\BaseInventory->close(pocketmine\Player object) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #2 src/pocketmine/inventory/BaseInventory(391): pocketmine\Player->removeWindow(pocketmine\inventory\DoubleChestInventory object, boolean 1) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #3 src/pocketmine/tile/Chest(77): pocketmine\inventory\BaseInventory->removeAllViewers(boolean 1) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #4 src/pocketmine/level/format/Chunk(668): pocketmine\tile\Chest->close() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #5 src/pocketmine/level/Level(2739): pocketmine\level\format\Chunk->onUnload() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(2997): pocketmine\level\Level->unloadChunk(integer 56, integer 11, boolean 1) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(707): pocketmine\level\Level->unloadChunks() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #8 src/pocketmine/Server(2355): pocketmine\level\Level->doTick(integer 169883) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #9 src/pocketmine/Server(2512): pocketmine\Server->checkTickUpdates(integer 169883, double 1533883599.5187) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #10 src/pocketmine/Server(2254): pocketmine\Server->tick() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #11 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #12 src/pocketmine/Server(1713): pocketmine\Server->start() 2018-08-10 [08:46:39] [Server thread/DEBUG]: #13 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/) 2018-08-10 [08:46:39] [Server thread/DEBUG]: #14 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
I would report the issue on GitHub, seeing as how it's a PMMP issue. You're using a very unstable dev build, so you should expect errors like this.
I don' want open a PMMP issue because i'm not sure it is a PMMP issue difficult for me to test the server without any plugin loaded in the template ### Plugins - Test on a clean server without plugins: is the issue reproducible without any plugins loaded? If the issue is **not** reproducible without plugins: - Have you asked for help on our forums before creating an issue?
Can you not run another instance of PMMP on your device/server? If you are using a hosting service like NetherBox, submit a ticket to them. You pay for that service, and are entitled to support. The error doesn't lead to any plugins, but unless somebody else can replicate the issue, you're the only one capable of figuring it out. I would start by checking the plugins that affect chest tiles.
sometimes log show an essentialstp issue ...DoubleChestInventory" at line 122 Code: 2018-08-10 [20:49:32] [Server thread/CRITICAL]: Unhandled exception executing command 'warp lobby' in warp: Call to a member function getHolder() on null 2018-08-10 [20:49:32] [Server thread/CRITICAL]: Error: "Call to a member function getHolder() on null" (EXCEPTION) in "src/pocketmine/inventory/DoubleChestInventory" at line 122 2018-08-10 [20:49:32] [Server thread/DEBUG]: #0 src/pocketmine/inventory/BaseInventory(411): pocketmine\inventory\DoubleChestInventory->onClose(pocketmine\Player object) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #1 src/pocketmine/Player(3892): pocketmine\inventory\BaseInventory->close(pocketmine\Player object) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #2 src/pocketmine/Player(3909): pocketmine\Player->removeWindow(pocketmine\inventory\DoubleChestInventory object, boolean ) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #3 src/pocketmine/Player(3748): pocketmine\Player->removeAllWindows() 2018-08-10 [20:49:32] [Server thread/DEBUG]: #4 essentialsTP_dev-31.phar/src/essentialsTP/essentialsTP(909): pocketmine\Player->teleport(pocketmine\level\Position object) 2018-08-10 [20:49:32] [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-10 [20:49:32] [Server thread/DEBUG]: #6 src/pocketmine/command/SimpleCommandMap(258): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string warp, array Array()) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #7 src/pocketmine/Server(1958): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string warp lobby) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #8 src/pocketmine/Player(2187): pocketmine\Server->dispatchCommand(pocketmine\Player object, string warp lobby) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(222): pocketmine\Player->chat(string /warp lobby) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #14 src/pocketmine/Player(3033): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(158): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #16 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 92.169.149.223 54241, raklib\protocol\EncapsulatedPacket object, integer 0) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket() 2018-08-10 [20:49:32] [Server thread/DEBUG]: #18 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process() 2018-08-10 [20:49:32] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() 2018-08-10 [20:49:32] [Server thread/DEBUG]: #21 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() 2018-08-10 [20:49:32] [Server thread/DEBUG]: #22 src/pocketmine/Server(2257): pocketmine\snooze\SleeperHandler->sleepUntil(double 1533926972.7081) 2018-08-10 [20:49:32] [Server thread/DEBUG]: #23 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor() 2018-08-10 [20:49:32] [Server thread/DEBUG]: #24 src/pocketmine/Server(1713): pocketmine\Server->start() 2018-08-10 [20:49:32] [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-10 [20:49:32] [Server thread/DEBUG]: #26 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
I don't think essentialsTP is causing the problem, but just recreating it. It seems like a PMMP issue. Does this happen in every world with a double chest, or just ported ones? The error happens when the chunk is being unloaded, so it's just a side effect of teleporting. What about the other things I mentioned? Are you on a VPS or device you can host another PMMP instance on?
@corytortoise this happen in every world with a doule chest I'm not on a VPS device, my server is hosted an a i have another server test i have 30 plugins on my server i need to test it one by one may be a MysteryCrates issue or not