BigBrotherTeam/BigBrother

No complex data stored for this async task

Closed this issue · 2 comments

Issue description

When 1.12.2 Java player joins, crashes server.

Prerequisite

um wha-

How to reproduce

Install plugin and run.

Server log(crash dump)

2020-04-17 [20:24:40] [Server thread/CRITICAL]: InvalidStateException: "No complex data stored for this async task" (EXCEPTION) in "src/pocketmine/scheduler/AsyncTask" at line 314
2020-04-17 [20:24:40] [Server thread/DEBUG]: #0 src/pocketmine/scheduler/AsyncTask(284): pocketmine\scheduler\AsyncTask->peekLocal()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #1 plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer(671): pocketmine\scheduler\AsyncTask->fetchLocal()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #2 src/pocketmine/scheduler/AsyncPool(304): class@anonymous C:\inetpub\ftproot\FTP\SkylineMC\javatest\plugins\BigBrother-master\src\shoghicp\BigBrother\DesktopPlayer.php000000B7AD364AEE->onCompletion(object pocketmine\Server)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #3 src/pocketmine/scheduler/AsyncPool(338): pocketmine\scheduler\AsyncPool->collectTasks()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #4 src/pocketmine/Server(1913): pocketmine\scheduler\AsyncPool->shutdown()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #5 src/pocketmine/Server(2115): pocketmine\Server->forceShutdown()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #6 src/pocketmine/Server(2040): pocketmine\Server->crashDump()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #7 src/pocketmine/Server(1586): pocketmine\Server->exceptionHandler(object UnexpectedValueException)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[42] C:\inetpub\ftproot\FTP\SkylineMC\javatest, string[50] C:\inetpub\ftproot\FTP\SkylineMC\javatest\plugins)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #9 src/pocketmine/PocketMine(296): pocketmine\server()
2020-04-17 [20:24:40] [Server thread/EMERGENCY]: Crashed while crashing, killing process

This was above the error I gave you guys:
2020-04-17 [20:24:40] [Server thread/CRITICAL]: UnexpectedValueException: "Unexpected fake NBT length 36354" (EXCEPTION) in "src/pocketmine/network/mcpe/NetworkBinaryStream" at line 166
2020-04-17 [20:24:40] [Server thread/DEBUG]: #0 plugins/TeaSpoon_dev-283.phar/src/CortexPE/network/CraftingDataPacket(61): pocketmine\network\mcpe\NetworkBinaryStream->getSlot()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #1 src/pocketmine/network/mcpe/protocol/DataPacket(92): CortexPE\network\CraftingDataPacket->decodePayload()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #2 plugins/BigBrother-master/src/shoghicp/BigBrother/network/Translator(2603): pocketmine\network\mcpe\protocol\DataPacket->decode()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #3 plugins/BigBrother-master/src/shoghicp/BigBrother/network/ProtocolInterface(237): shoghicp\BigBrother\network\Translator->serverToInterface(object shoghicp\BigBrother\DesktopPlayer, object pocketmine\network\mcpe\protocol\BatchPacket)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #4 src/pocketmine/Player(3148): shoghicp\BigBrother\network\ProtocolInterface->putPacket(object shoghicp\BigBrother\DesktopPlayer, object pocketmine\network\mcpe\protocol\BatchPacket, boolean , boolean )
2020-04-17 [20:24:40] [Server thread/DEBUG]: #5 src/pocketmine/Player(3165): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket, boolean , boolean )
2020-04-17 [20:24:40] [Server thread/DEBUG]: #6 src/pocketmine/Player(2167): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #7 src/pocketmine/Player(2070): pocketmine\Player->completeLoginSequence()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(126): pocketmine\Player->handleResourcePackClientResponse(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/ResourcePackClientResponsePacket(61): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleResourcePackClientResponse(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #10 plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer(812): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #11 plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer(438): shoghicp\BigBrother\DesktopPlayer->handleDataPacket(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #12 src/pocketmine/Player(1908): shoghicp\BigBrother\DesktopPlayer->onVerifyCompleted(object pocketmine\network\mcpe\protocol\LoginPacket, NULL , boolean 1)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(118): pocketmine\Player->handleLogin(object pocketmine\network\mcpe\protocol\LoginPacket)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/protocol/LoginPacket(147): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleLogin(object pocketmine\network\mcpe\protocol\LoginPacket)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #15 plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer(812): pocketmine\network\mcpe\protocol\LoginPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #16 plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer(582): shoghicp\BigBrother\DesktopPlayer->handleDataPacket(object pocketmine\network\mcpe\protocol\LoginPacket)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #17 plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer(673): shoghicp\BigBrother\DesktopPlayer->bigBrother_authenticate(string[32] fccf34bf466d4b1fbf673551b71aacc3, array[1])
2020-04-17 [20:24:40] [Server thread/DEBUG]: #18 src/pocketmine/scheduler/AsyncPool(304): class@anonymous C:\inetpub\ftproot\FTP\SkylineMC\javatest\plugins\BigBrother-master\src\shoghicp\BigBrother\DesktopPlayer.php000000B7AD364AEE->onCompletion(object pocketmine\Server)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #19 src/pocketmine/Server(2384): pocketmine\scheduler\AsyncPool->collectTasks()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #20 src/pocketmine/Server(2143): pocketmine\Server->tick()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #21 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #22 src/pocketmine/Server(1584): pocketmine\Server->start()
2020-04-17 [20:24:40] [Server thread/DEBUG]: #23 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[42] C:\inetpub\ftproot\FTP\SkylineMC\javatest, string[50] C:\inetpub\ftproot\FTP\SkylineMC\javatest\plugins)
2020-04-17 [20:24:40] [Server thread/DEBUG]: #24 src/pocketmine/PocketMine(296): pocketmine\server()
2020-04-17 [20:24:40] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
2020-04-17 [20:24:40] [Server thread/EMERGENCY]: Please upload the "C:\inetpub\ftproot\FTP\SkylineMC\javatest\crashdumps/Fri_Apr_17-20.24.40-UTC_2020.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.

god im an idiot