BlockHorizons / InvSee

A PocketMine-MP plugin that lets you view and modify offline and online players' inventories in real-time!
https://poggit.pmmp.io/p/InvSee
Apache License 2.0
30 stars 14 forks source link

InvalidStateException: "Tried to schedule task to disabled scheduler" (EXCEPTION) in "src/pocketmine/scheduler/TaskScheduler" at line 150 #8

Closed teracube closed 5 years ago

teracube commented 6 years ago

InvSee_dev-4.phar PocketMine-MP.phar #1419 v1.6

2018-09-03 [16:50:39] [Server thread/CRITICAL]: Unhandled exception executing command 'invsee assoidi37' in invsee: Tried to schedule task to disabled scheduler
2018-09-03 [16:50:39] [Server thread/CRITICAL]: InvalidStateException: "Tried to schedule task to disabled scheduler" (EXCEPTION) in "src/pocketmine/scheduler/TaskScheduler" at line 150
2018-09-03 [16:50:39] [Server thread/DEBUG]: #0 src/pocketmine/scheduler/TaskScheduler(80): pocketmine\scheduler\TaskScheduler->addTask(BlockHorizons\InvSee\libs\muqsit\invmenu\inventories\tasks\DoubleChestDelayTask object, integer 4, integer -1)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #1 InvSee_dev-4.phar/src/BlockHorizons/InvSee/libs/muqsit/invmenu/inventories/DoubleChestInventory(61): pocketmine\scheduler\TaskScheduler->scheduleDelayedTask(BlockHorizons\InvSee\libs\muqsit\invmenu\inventories\tasks\DoubleChestDelayTask object, integer 4)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #2 src/pocketmine/inventory/BaseInventory(405): BlockHorizons\InvSee\libs\muqsit\invmenu\inventories\DoubleChestInventory->onOpen(pocketmine\Player object)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #3 src/pocketmine/Player(3817): pocketmine\inventory\BaseInventory->open(pocketmine\Player object)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #4 InvSee_dev-4.phar/src/BlockHorizons/InvSee/libs/muqsit/invmenu/InvMenu(175): pocketmine\Player->addWindow(BlockHorizons\InvSee\libs\muqsit\invmenu\inventories\DoubleChestInventory object, NULL )
2018-09-03 [16:50:39] [Server thread/DEBUG]: #5 InvSee_dev-4.phar/src/BlockHorizons/InvSee/InventoryHandler(256): BlockHorizons\InvSee\libs\muqsit\invmenu\InvMenu->send(pocketmine\Player object)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #6 InvSee_dev-4.phar/src/BlockHorizons/InvSee/commands/InvSeeCommand(18): BlockHorizons\InvSee\InventoryHandler->viewInventory(pocketmine\Player object, string assoidi37)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #7 InvSee_dev-4.phar/src/BlockHorizons/InvSee/commands/BaseCommand(113): BlockHorizons\InvSee\commands\InvSeeCommand->onCommand(pocketmine\Player object, string invsee, array Array())
2018-09-03 [16:50:39] [Server thread/DEBUG]: #8 src/pocketmine/command/SimpleCommandMap(258): BlockHorizons\InvSee\commands\BaseCommand->execute(pocketmine\Player object, string invsee, array Array())
2018-09-03 [16:50:39] [Server thread/DEBUG]: #9 src/pocketmine/Server(1955): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string invsee assoidi37)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #10 src/pocketmine/Player(2191): pocketmine\Server->dispatchCommand(pocketmine\Player object, string invsee assoidi37)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(222): pocketmine\Player->chat(string /invsee assoidi37)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #16 src/pocketmine/Player(3056): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(162): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #18 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 83.200.81.89 53074, raklib\protocol\EncapsulatedPacket object, integer 0)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket()
2018-09-03 [16:50:39] [Server thread/DEBUG]: #20 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
2018-09-03 [16:50:39] [Server thread/DEBUG]: #21 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #22 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2018-09-03 [16:50:39] [Server thread/DEBUG]: #23 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
2018-09-03 [16:50:39] [Server thread/DEBUG]: #24 src/pocketmine/Server(2259): pocketmine\snooze\SleeperHandler->sleepUntil(double 1535986239.3392)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #25 src/pocketmine/Server(2134): pocketmine\Server->tickProcessor()
2018-09-03 [16:50:39] [Server thread/DEBUG]: #26 src/pocketmine/Server(1700): pocketmine\Server->start()
2018-09-03 [16:50:39] [Server thread/DEBUG]: #27 src/pocketmine/PocketMine(243): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
2018-09-03 [16:50:39] [Server thread/DEBUG]: #28 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
SoflyTtv commented 6 years ago

what the permissions

teracube commented 5 years ago

@Muqsit could you re open this issue same error today

https://poggit.pmmp.io/r/45476/InvSee_dev-11.phar https://jenkins.pmmp.io/job/PocketMine-MP/1642/artifact/PocketMine-MP.phar

2018-11-25 [12:48:20] [Server thread/CRITICAL]: Unhandled exception executing command 'invsee "DylanGaminG YTB"' in invsee: Tried to schedule task to disabled scheduler
2018-11-25 [12:48:20] [Server thread/CRITICAL]: InvalidStateException: "Tried to schedule task to disabled scheduler" (EXCEPTION) in "src/pocketmine/scheduler/TaskScheduler" at line 150
2018-11-25 [12:48:20] [Server thread/DEBUG]: #0 src/pocketmine/scheduler/TaskScheduler(80): pocketmine\scheduler\TaskScheduler->addTask(BlockHorizons\InvSee\libs\muqsit\invmenu\tasks\DelayedFakeBlockDataNotifyTask object, integer 5, integer -1)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #1 InvSee_dev-11.phar/src/BlockHorizons/InvSee/libs/muqsit/invmenu/inventories/BaseFakeInventory(119): pocketmine\scheduler\TaskScheduler->scheduleDelayedTask(BlockHorizons\InvSee\libs\muqsit\invmenu\tasks\DelayedFakeBlockDataNotifyTask object, integer 5)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #2 InvSee_dev-11.phar/src/BlockHorizons/InvSee/libs/muqsit/invmenu/inventories/DoubleChestInventory(62): BlockHorizons\InvSee\libs\muqsit\invmenu\inventories\BaseFakeInventory->onFakeBlockDataSend(pocketmine\Player object)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #3 InvSee_dev-11.phar/src/BlockHorizons/InvSee/libs/muqsit/invmenu/inventories/BaseFakeInventory(65): BlockHorizons\InvSee\libs\muqsit\invmenu\inventories\DoubleChestInventory->sendFakeBlockData(pocketmine\Player object, BlockHorizons\InvSee\libs\muqsit\invmenu\utils\HolderData object)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #4 InvSee_dev-11.phar/src/BlockHorizons/InvSee/libs/muqsit/invmenu/InvMenu(115): BlockHorizons\InvSee\libs\muqsit\invmenu\inventories\BaseFakeInventory->send(pocketmine\Player object, string DylanGaminG YTB's Inventory)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #5 InvSee_dev-11.phar/src/BlockHorizons/InvSee/InventoryHandler(92): BlockHorizons\InvSee\libs\muqsit\invmenu\InvMenu->send(pocketmine\Player object)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #6 InvSee_dev-11.phar/src/BlockHorizons/InvSee/commands/InvSeeCommand(20): BlockHorizons\InvSee\InventoryHandler->send(pocketmine\Player object, string DylanGaminG YTB, string BlockHorizons\InvSee\inventories\InvSeePlayerInventory)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #7 InvSee_dev-11.phar/src/BlockHorizons/InvSee/commands/BaseCommand(114): BlockHorizons\InvSee\commands\InvSeeCommand->onCommand(pocketmine\Player object, string invsee, array Array())
2018-11-25 [12:48:20] [Server thread/DEBUG]: #8 src/pocketmine/command/SimpleCommandMap(258): BlockHorizons\InvSee\commands\BaseCommand->execute(pocketmine\Player object, string invsee, array Array())
2018-11-25 [12:48:20] [Server thread/DEBUG]: #9 src/pocketmine/Server(1956): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string invsee "DylanGaminG YTB")
2018-11-25 [12:48:20] [Server thread/DEBUG]: #10 src/pocketmine/Player(2193): pocketmine\Server->dispatchCommand(pocketmine\Player object, string invsee "DylanGaminG YTB")
2018-11-25 [12:48:20] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(226): pocketmine\Player->chat(string /invsee "DylanGaminG YTB")
2018-11-25 [12:48:20] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(96): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(96): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #16 src/pocketmine/Player(3060): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(161): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #18 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 90.45.1.102 48270, raklib\protocol\EncapsulatedPacket object, integer 0)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(102): raklib\server\ServerHandler->handlePacket()
2018-11-25 [12:48:20] [Server thread/DEBUG]: #20 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
2018-11-25 [12:48:20] [Server thread/DEBUG]: #21 src/pocketmine/network/mcpe/RakLibInterface(92): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #22 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
2018-11-25 [12:48:20] [Server thread/DEBUG]: #23 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
2018-11-25 [12:48:20] [Server thread/DEBUG]: #24 src/pocketmine/Server(2268): pocketmine\snooze\SleeperHandler->sleepUntil(double 1543146499.2988)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #25 src/pocketmine/Server(2135): pocketmine\Server->tickProcessor()
2018-11-25 [12:48:20] [Server thread/DEBUG]: #26 src/pocketmine/Server(1701): pocketmine\Server->start()
2018-11-25 [12:48:20] [Server thread/DEBUG]: #27 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
2018-11-25 [12:48:20] [Server thread/DEBUG]: #28 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
Muqsit commented 5 years ago

@teracube this is the result of using unshaded libraries (loading InvMenu thru DEVirion) You have plugins that use InvMenu that are getting disabled. You either need to remove them or fix the issue with them that's causing them to disable.

Wertzui123 commented 5 years ago

So what to do?