[Crash Server] NetworkBinaryStream ("NBT encoded length must be < 32768, got $nbtLen bytes")

Discussion in 'Help' started by TeraCube, Nov 25, 2018.

  1. TeraCube

    TeraCube Zombie

    Messages:
    231
    GitHub:
    teracube
    @dktapps team
    i need help
    since 2 days my server crash sometimes
    i use this build and 30 plugins
    https://jenkins.pmmp.io/job/PocketMine-MP/1642/artifact/PocketMine-MP.phar
    i think crash is caused by copy paste on book of specials characters (not sure)

    ==) see attached files of errors / crashdump and player.dat who caused crash

    do you think it's a PMMP issue ?
    sorry for my bad english

    Code:
    2018-11-25 [17:20:14] [Server thread/CRITICAL]: InvalidArgumentException: "NBT encoded length must be < 32768, got 33406 bytes" (EXCEPTION) in "src/pocketmine/network/mcpe/NetworkBinaryStream" at line 114
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #0 src/pocketmine/network/mcpe/protocol/InventorySlotPacket(50): pocketmine\network\mcpe\NetworkBinaryStream->putSlot(pocketmine\item\WritableBook object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #1 src/pocketmine/network/mcpe/protocol/DataPacket(89): pocketmine\network\mcpe\protocol\InventorySlotPacket->encodePayload()
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #2 src/pocketmine/network/mcpe/RakLibInterface(226): pocketmine\network\mcpe\protocol\DataPacket->encode()
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #3 src/pocketmine/Player(3114): pocketmine\network\mcpe\RakLibInterface->putPacket(pocketmine\Player object, pocketmine\network\mcpe\protocol\InventorySlotPacket object, boolean , boolean )
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #4 src/pocketmine/Player(3134): pocketmine\Player->sendDataPacket(pocketmine\network\mcpe\protocol\InventorySlotPacket object, boolean , boolean )
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #5 src/pocketmine/inventory/BaseInventory(470): pocketmine\Player->dataPacket(pocketmine\network\mcpe\protocol\InventorySlotPacket object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #6 src/pocketmine/inventory/BaseInventory(425): pocketmine\inventory\BaseInventory->sendSlot(integer 5, array Array())
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #7 src/pocketmine/inventory/BaseInventory(176): pocketmine\inventory\BaseInventory->onSlotChange(integer 5, pocketmine\item\WritableBook object, boolean 1)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #8 src/pocketmine/Player(3048): pocketmine\inventory\BaseInventory->setItem(integer 5, pocketmine\item\WritableBook object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(242): pocketmine\Player->handleBookEdit(pocketmine\network\mcpe\protocol\BookEditPacket object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/BookEditPacket(117): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleBookEdit(pocketmine\network\mcpe\protocol\BookEditPacket object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(96): pocketmine\network\mcpe\protocol\BookEditPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BookEditPacket object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(96): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #14 src/pocketmine/Player(3060): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(161): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #16 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 9X.X.1XX.1XX 51857, raklib\protocol\EncapsulatedPacket object, integer 0)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/RakLibInterface(102): raklib\server\ServerHandler->handlePacket()
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #18 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(92): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #20 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #21 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #22 src/pocketmine/Server(2268): pocketmine\snooze\SleeperHandler->sleepUntil(double 1543162813.6895)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #23 src/pocketmine/Server(2135): pocketmine\Server->tickProcessor()
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #24 src/pocketmine/Server(1701): pocketmine\Server->start()
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #25 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
    2018-11-25 [17:20:14] [Server thread/DEBUG]: #26 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    2018-11-25 [17:20:14] [RakLibServer thread/NOTICE]: Blocked 9X.X.1XX.1XX for 5 seconds
     

    Attached Files:

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.