Closed teracube closed 5 years ago
https://poggit.pmmp.io/r/39833/FactionsPro_dev-39.phar https://jenkins.pmmp.io/job/PocketMine-MP/1642/
2018-11-17 [17:50:47] [Server thread/CRITICAL]: Unhandled exception executing command 'f accept' in f: Call to a member function sendMessage() on null 2018-11-17 [17:50:47] [Server thread/CRITICAL]: Error: "Call to a member function sendMessage() on null" (EXCEPTION) in "FactionsPro_dev-39.phar/src/FactionsPro/FactionCommands" at line 610 2018-11-17 [17:50:47] [Server thread/DEBUG]: #0 FactionsPro_dev-39.phar/src/FactionsPro/FactionMain(118): FactionsPro\FactionCommands->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string f, array Array()) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #1 src/pocketmine/command/PluginCommand(58): FactionsPro\FactionMain->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string f, array Array()) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #2 src/pocketmine/command/SimpleCommandMap(258): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string f, array Array()) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #3 src/pocketmine/Server(1956): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string f accept) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #4 src/pocketmine/Player(2193): pocketmine\Server->dispatchCommand(pocketmine\Player object, string f accept) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(226): pocketmine\Player->chat(string /f accept) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(96): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(96): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #10 src/pocketmine/Player(3060): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(161): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 82.244.237.80 57420, raklib\protocol\EncapsulatedPacket object, integer 0) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(102): raklib\server\ServerHandler->handlePacket() 2018-11-17 [17:50:47] [Server thread/DEBUG]: #14 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process() 2018-11-17 [17:50:47] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(92): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() 2018-11-17 [17:50:47] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() 2018-11-17 [17:50:47] [Server thread/DEBUG]: #18 src/pocketmine/Server(2268): pocketmine\snooze\SleeperHandler->sleepUntil(double 1542473447.2495) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #19 src/pocketmine/Server(2135): pocketmine\Server->tickProcessor() 2018-11-17 [17:50:47] [Server thread/DEBUG]: #20 src/pocketmine/Server(1701): pocketmine\Server->start() 2018-11-17 [17:50:47] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/) 2018-11-17 [17:50:47] [Server thread/DEBUG]: #22 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
This would happen when the player who invited you wasn't online when you accept. Fixed now.
@Awzaw thanks
https://poggit.pmmp.io/r/39833/FactionsPro_dev-39.phar https://jenkins.pmmp.io/job/PocketMine-MP/1642/