poggit-orphanage / GrabBag

Collection of miscellaneous commands and listener modules
GNU General Public License v3.0
3 stars 5 forks source link

Could not pass event 'aliuly\grabbag\PlayerCommandPreprocessEvent_sub' to 'GrabBag v2.4.0-4' #2

Closed teracube closed 6 years ago

teracube commented 6 years ago

GrabBag v2.4.0-4 latest build PocketMine-MP version 1.7dev-554 "[REDACTED]" (API 3.0.0-ALPHA10)


2017-12-29 [10:55:38] [Server thread/CRITICAL]: Could not pass event 'aliuly\grabbag\PlayerCommandPreprocessEvent_sub' to 'GrabBag v2.4.0-4': Trying to get permissions of closed player on aliuly\grabbag\RepeatMgr
2017-12-29 [10:55:38] [Server thread/CRITICAL]: InvalidStateException: "Trying to get permissions of closed player" (EXCEPTION) in "src/pocketmine/Player" at line 603
2017-12-29 [10:55:38] [Server thread/DEBUG]: #0 GrabBag_dev-8.phar/src/aliuly/grabbag/RepeatMgr(121): pocketmine\Player->hasPermission(string gb.module.repeater)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): aliuly\grabbag\RepeatMgr->onPlayerCmd(aliuly\grabbag\PlayerCommandPreprocessEvent_sub object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(aliuly\grabbag\RepeatMgr object, aliuly\grabbag\PlayerCommandPreprocessEvent_sub object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(aliuly\grabbag\PlayerCommandPreprocessEvent_sub object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #4 GrabBag_dev-8.phar/src/aliuly/grabbag/CmdSelMgr(56): pocketmine\plugin\PluginManager->callEvent(aliuly\grabbag\PlayerCommandPreprocessEvent_sub object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #5 src/pocketmine/plugin/MethodEventExecutor(38): aliuly\grabbag\CmdSelMgr->onPlayerCmd(pocketmine\event\player\PlayerCommandPreprocessEvent object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #6 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(aliuly\grabbag\CmdSelMgr object, pocketmine\event\player\PlayerCommandPreprocessEvent object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #7 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerCommandPreprocessEvent object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #8 src/pocketmine/Player(2113): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerCommandPreprocessEvent object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(220): pocketmine\Player->chat(string /kick @a)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #14 src/pocketmine/Player(2968): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #16 vendor/pmmp/raklib/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 88.1xx.179.140:52378, raklib\protocol\EncapsulatedPacket object, integer 0)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #18 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #19 src/pocketmine/Server(2522): pocketmine\network\Network->processInterfaces()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #20 src/pocketmine/Server(2274): pocketmine\Server->tick()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #21 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #22 src/pocketmine/Server(1737): pocketmine\Server->start()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #23 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #24 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2017-12-29 [10:55:38] [Server thread/CRITICAL]: Unhandled exception executing command 'kick Voldrex2' in kick: Trying to get permissions of closed player
2017-12-29 [10:55:38] [Server thread/CRITICAL]: InvalidStateException: "Trying to get permissions of closed player" (EXCEPTION) in "src/pocketmine/Player" at line 603
2017-12-29 [10:55:38] [Server thread/DEBUG]: #0 src/pocketmine/command/Command(149): pocketmine\Player->hasPermission(string pocketmine.command.kick)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #1 src/pocketmine/command/Command(125): pocketmine\command\Command->testPermissionSilent(pocketmine\Player object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #2 src/pocketmine/command/defaults/KickCommand(45): pocketmine\command\Command->testPermission(pocketmine\Player object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #3 src/pocketmine/command/SimpleCommandMap(258): pocketmine\command\defaults\KickCommand->execute(pocketmine\Player object, string kick, array Array())
2017-12-29 [10:55:38] [Server thread/DEBUG]: #4 src/pocketmine/Server(1982): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string kick Voldrex2)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #5 GrabBag_dev-8.phar/src/aliuly/grabbag/CmdSelMgr(59): pocketmine\Server->dispatchCommand(pocketmine\Player object, string kick Voldrex2)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #6 src/pocketmine/plugin/MethodEventExecutor(38): aliuly\grabbag\CmdSelMgr->onPlayerCmd(pocketmine\event\player\PlayerCommandPreprocessEvent object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #7 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(aliuly\grabbag\CmdSelMgr object, pocketmine\event\player\PlayerCommandPreprocessEvent object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #8 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerCommandPreprocessEvent object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #9 src/pocketmine/Player(2113): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerCommandPreprocessEvent object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(220): pocketmine\Player->chat(string /kick @a)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #15 src/pocketmine/Player(2968): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #17 vendor/pmmp/raklib/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 88.xxx.179.140:52378, raklib\protocol\EncapsulatedPacket object, integer 0)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #19 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #20 src/pocketmine/Server(2522): pocketmine\network\Network->processInterfaces()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #21 src/pocketmine/Server(2274): pocketmine\Server->tick()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #22 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #23 src/pocketmine/Server(1737): pocketmine\Server->start()
2017-12-29 [10:55:38] [Server thread/DEBUG]: #24 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/)
2017-12-29 [10:55:38] [Server thread/DEBUG]: #25 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)```
Awzaw commented 6 years ago

2017-12-29 [10:55:38] �[Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(220): pocketmine\Player->chat(string /kick @a)�

Which plugins are you running here?

teracube commented 6 years ago

@Awzaw server is running

Slapper 1.3.9; LiveXYZ 0.6.0.5-beta; AutoClearLagg 1.1.0; AlwaysSpawn 2.2.3-6; WorldBorder 1; Festival 1.0.5-12-dev; AllSigns 1.0.9; TempBanUI 1.2; CustomAlerts 1.7.2-4; PiggyCustomEnchants 1.1.3; CombatLogger 0.0.4; iProtector 3.1.0-11; KitUI 1.2.2; VoteReward 3.0.2-6; VanillaEnchantments 3.1.0_ALPHA; VPNGuard 1.0.6-B1; essentialsTP 1.2.0-7; PurePerms 1.4.1-5; MysteryCrate 6.0.0; EconomyAPI 5.7.1-6; BanItem 2.3.2-6; Worlds 2.0.2; MagicWE2 ; EconomySell 2.0.7-6; EconomyShop 2.0.8-8; PureChat 1.4.10-6; GrabBag 2.4.0-7; FactionsPro 1.4.5-11

Awzaw commented 6 years ago

Please try with the latest Poggit build, and if it still throws the error, try and reproduce with no other plugins.

teracube commented 6 years ago

@Awzaw no issue with latest build thanks