Muqsit / InvMenu

A PocketMine-MP virion to create and manage virtual inventories!
https://poggit.pmmp.io/ci/Muqsit/InvMenu/~
GNU General Public License v3.0
201 stars 75 forks source link

crash server #88

Closed Hai1126 closed 4 years ago

Hai1126 commented 4 years ago

i do/gui and my server crash [14:29:29] [Server thread/CRITICAL]: ErrorException: "Undefined index: >?1b;??4&7?-X" (EXCEPTION) in "E:/PocketMine-MP-3.14.2/virions/InvMenu-master/src/muqsit/invmenu/session/PlayerManager" at line 45 [14:29:29] [Server thread/CRITICAL]: #0 E:/PocketMine-MP-3.14.2/virions/InvMenu-master/src/muqsit/invmenu/session/PlayerManager(45): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[33] Undefined index: >..1b;...4&7.-X, string[91] E:\PocketMine-MP-3.14.2\virions\InvMenu-master\src\muqsit\invmenu\session\Player, integer 45, array[1]) [14:29:29] [Server thread/CRITICAL]: #1 E:/PocketMine-MP-3.14.2/virions/InvMenu-master/src/muqsit/invmenu/InvMenu(111): muqsit\invmenu\session\PlayerManager::getNonNullable(object pocketmine\Player) [14:29:29] [Server thread/CRITICAL]: #2 plugins/GUI/src/GUI/Main(46): muqsit\invmenu\InvMenu->send(object pocketmine\Player) [14:29:29] [Server thread/CRITICAL]: #3 src/pocketmine/command/PluginCommand(54): GUI\Main->onCommand(object pocketmine\Player, object pocketmine\command\PluginCommand, string[3] gui, array[0]) [14:29:29] [Server thread/CRITICAL]: #4 src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\PluginCommand->execute(object pocketmine\Player, string[3] gui, array[0]) [14:29:29] [Server thread/CRITICAL]: #5 src/pocketmine/Server(1811): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[3] gui) [14:29:29] [Server thread/CRITICAL]: #6 src/pocketmine/Player(2310): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[3] gui) [14:29:29] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(244): pocketmine\Player->chat(string[4] /gui) [14:29:29] [Server thread/CRITICAL]: #8 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket) [14:29:29] [Server thread/CRITICAL]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [14:29:29] [Server thread/CRITICAL]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket) [14:29:29] [Server thread/CRITICAL]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [14:29:29] [Server thread/CRITICAL]: #12 src/pocketmine/Player(3247): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [14:29:29] [Server thread/CRITICAL]: #13 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [14:29:29] [Server thread/CRITICAL]: #14 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 192.168.43.16 49170, object raklib\protocol\EncapsulatedPacket, integer 0) [14:29:29] [Server thread/CRITICAL]: #15 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [14:29:29] [Server thread/CRITICAL]: #16 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [14:29:29] [Server thread/CRITICAL]: #17 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [14:29:29] [Server thread/CRITICAL]: #18 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [14:29:29] [Server thread/CRITICAL]: #19 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1595575769.0194) [14:29:29] [Server thread/CRITICAL]: #20 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor() [14:29:29] [Server thread/CRITICAL]: #21 src/pocketmine/Server(1588): pocketmine\Server->start() [14:29:29] [Server thread/CRITICAL]: #22 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[24] E:\PocketMine-MP-3.14.2\, string[32] E:\PocketMine-MP-3.14.2\plugins) [14:29:29] [Server thread/CRITICAL]: #23 src/pocketmine/PocketMine(304): pocketmine\server()

Muqsit commented 4 years ago

Register InvMenuHandler during plugin enable (see https://github.com/Muqsit/InvMenu/wiki/Examples#precautions)

Hai1126 commented 4 years ago

It not fix

Hai1126 commented 4 years ago

Alawy crash