Crash at add specter
Closed this issue · 1 comments
UnEnanoMas commented
[17:40:27] [Server thread/INFO]: test[/SPECTER:19133] logged in with entity id 38 at (Lobby, 708, 34, 1077)
[17:40:27] [Server thread/CRITICAL]: ErrorException: "array_pop() expects parameter 1 to be array, null given" (EXCEPTION) in "plugins/Lunar_dev-31.phar/src/blackjack200/lunar/user/LoginData" at line 17
[17:40:27] [Server thread/CRITICAL]: #0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[55] array_pop() expects parameter 1 to be array, null given, string[90] phar:///home/container/plugins/Lunar_dev-31.phar/src/blackjack200/lunar/user/Log, integer 17, array[1])
[17:40:27] [Server thread/CRITICAL]: #1 plugins/Lunar_dev-31.phar/src/blackjack200/lunar/user/LoginData(17): array_pop(NULL )
[17:40:27] [Server thread/CRITICAL]: #2 plugins/Lunar_dev-31.phar/src/blackjack200/lunar/user/processor/LoginProcessor(15): blackjack200\lunar\user\LoginData->__construct(object anonymous@plugins/Specter-1.16.220_dev-1.phar/src/specter/network/SpecterInterface#L202)
[17:40:27] [Server thread/CRITICAL]: #3 plugins/Lunar_dev-31.phar/src/blackjack200/lunar/listener/DefaultListener(36): blackjack200\lunar\user\processor\LoginProcessor->processClient(object anonymous@plugins/Specter-1.16.220_dev-1.phar/src/specter/network/SpecterInterface#L202)
[17:40:27] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): blackjack200\lunar\listener\DefaultListener->onPlayerJoin(object pocketmine\event\player\PlayerJoinEvent)
[17:40:27] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object blackjack200\lunar\listener\DefaultListener, object pocketmine\event\player\PlayerJoinEvent)
[17:40:27] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent)
[17:40:27] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/Player(1098): pocketmine\event\Event->call()
[17:40:27] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(310): pocketmine\Player->doFirstSpawn()
[17:40:27] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[17:40:27] [Server thread/CRITICAL]: #10 plugins/Specter-1.16.220_dev-1.phar/src/specter/network/SpecterInterface(304): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:40:27] [Server thread/CRITICAL]: #11 plugins/Specter-1.16.220_dev-1.phar/src/specter/network/SpecterInterface(242): specter\network\SpecterInterface->sendPacket(object specter\network\SpecterPlayer, object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[17:40:27] [Server thread/CRITICAL]: #12 plugins/Specter-1.16.220_dev-1.phar/src/specter/Specter(54): specter\network\SpecterInterface->openSession(string[4] test, string[7] SPECTER, integer 19133)
[17:40:27] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/command/PluginCommand(54): specter\Specter->onCommand(object pocketmine\Player, object pocketmine\command\PluginCommand, string[1] s, array[2])
[17:40:27] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\PluginCommand->execute(object pocketmine\Player, string[1] s, array[2])
[17:40:27] [Server thread/CRITICAL]: #15 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[10] s add test)
[17:40:27] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/Player(2351): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[10] s add test)
[17:40:27] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(239): pocketmine\Player->chat(string[11] /s add test)
[17:40:27] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[17:40:27] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:40:27] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[17:40:27] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:40:27] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/Player(3311): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:40:27] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:40:27] [Server thread/CRITICAL]: #24 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 81.0.33.238 20987, object raklib\protocol\EncapsulatedPacket, integer 0)
[17:40:27] [Server thread/CRITICAL]: #25 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[17:40:27] [Server thread/CRITICAL]: #26 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[17:40:27] [Server thread/CRITICAL]: #27 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[17:40:27] [Server thread/CRITICAL]: #28 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
[17:40:27] [Server thread/CRITICAL]: #29 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1618414827.7709)
[17:40:27] [Server thread/CRITICAL]: #30 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
[17:40:27] [Server thread/CRITICAL]: #31 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
[17:40:27] [Server thread/CRITICAL]: #32 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[17:40:27] [Server thread/CRITICAL]: #33 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
[17:40:27] [Server thread/CRITICAL]: #34 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)```
Specter: https://github.com/ElectroGamesYT/Specter-1.16.220/tree/main/
Lunar: Dev 31
PMMP: 3.19.0
OS: Linux
PHP: 7.4
Minecraft: 1.16.220
Blackjack200 commented
it will also appear when player isn't login with XBL