1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

OutOfBoundsException: "Not enough bytes left in buffer: need 6, have 0"

Discussion in 'Plugin Help' started by TeraCube, Jan 19, 2019.

  1. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    plugin issue i suppose ?
    i use PMMP #1736 and 30 plugins
    https://jenkins.pmmp.io/job/PocketM...ocketMine-MP/1736/artifact/PocketMine-MP.phar

    Code:
    2019-01-18 [23:29:05] [Server thread/CRITICAL]: OutOfBoundsException: "Not enough bytes left in buffer: need 6, have 0" (EXCEPTION) in "vendor/pocketmine/binaryutils/src/BinaryStream" at line 94
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #0 src/pocketmine/network/mcpe/NetworkBinaryStream(43): pocketmine\utils\BinaryStream->get(integer 6)
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #1 src/pocketmine/network/mcpe/protocol/BatchPacket(95): pocketmine\network\mcpe\NetworkBinaryStream->getString()
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #2 src/pocketmine/network/mcpe/protocol/BatchPacket(112): pocketmine\network\mcpe\protocol\BatchPacket->getPackets()
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #3 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #4 src/pocketmine/Player(3097): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/RakLibInterface(170): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #6 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 37.XXX.XXX.56 41603, raklib\protocol\EncapsulatedPacket object, integer 0)
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/RakLibInterface(110): raklib\server\ServerHandler->handlePacket()
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/RakLibInterface(100): pocketmine\network\mcpe\RakLibInterface->process()
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #9 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #10 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #11 src/pocketmine/Server(2347): pocketmine\snooze\SleeperHandler->sleepUntil(double 1547850545.8554)
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #12 src/pocketmine/Server(2207): pocketmine\Server->tickProcessor()
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #13 src/pocketmine/Server(1783): pocketmine\Server->start()
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #14 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /homemyserver/, string /homemyserver/plugins/)
    2019-01-18 [23:29:05] [Server thread/DEBUG]: #15 (1): require(string phar:///homemyserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    2019-01-18 [23:29:05] [Server thread/INFO]: playerzzzzzytb [-]
    2019-01-18 [23:29:05] [Server thread/INFO]: playerzzzzzytb[/37.XXX.XXX.56:41603] logged out due to Internal server error
    2019-01-18 [23:29:05] [RakLibServer thread/NOTICE]: Blocked 37.XXX.XXX.56 for 5 seconds
     
  2. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    It's a packet error. Someone sent your server a broken packet.
     
    corytortoise and TeraCube like this.
  3. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
  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.