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

Solved Error RuntimeException: "Index invalid or out of range"

Discussion in 'Help' started by TeraCube, Sep 23, 2017.

  1. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    Hi,

    What do you think about this error ?
    thanks

    PocketMine-MP version: 1.7dev #66 [Protocol 137; API 3.0.0-ALPHA8]
    2017-09-23 [18:36:30] [Server thread/CRITICAL]: RuntimeException: "Index invalid or out of range" (EXCEPTION) in "src/pocketmine/inventory/BaseInventory" at line 95
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #0 src/pocketmine/inventory/transaction/action/SlotChangeAction(78): pocketmine\inventory\BaseInventory->getItem(integer 6)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #1 src/pocketmine/inventory/transaction/InventoryTransaction(124): pocketmine\inventory\transaction\action\SlotChangeAction->isValid(pocketmine\Player object)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #2 src/pocketmine/inventory/transaction/InventoryTransaction(237): pocketmine\inventory\transaction\InventoryTransaction->matchItems(array Array(), array Array())
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #3 src/pocketmine/inventory/transaction/InventoryTransaction(250): pocketmine\inventory\transaction\InventoryTransaction->canExecute()
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #4 src/pocketmine/Player(2196): pocketmine\inventory\transaction\InventoryTransaction->execute()
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(131): pocketmine\Player->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(143): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #10 src/pocketmine/Player(3097): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #12 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 78.187.126.16:43134, raklib\protocol\EncapsulatedPacket object, integer 0)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket()
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #14 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #15 src/pocketmine/Server(2485): pocketmine\network\Network->processInterfaces()
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #16 src/pocketmine/Server(2238): pocketmine\Server->tick()
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #17 src/pocketmine/Server(2117): pocketmine\Server->tickProcessor()
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #18 src/pocketmine/Server(1699): pocketmine\Server->start()
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(553): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/gsp_1585/g7.hmserv.eu-19132/PocketMine-MP.phar/, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/)
    2017-09-23 [18:36:30] [Server thread/DEBUG]: #20 /home/gsp_1585/g7.hmserv.eu-19132/PocketMine-MP.phar(1): require(string phar:///home/gsp_1585/g7.hmserv.eu-19132/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    2017-09-23 [18:36:30] [RakLibServer thread/NOTICE]: Blocked 78.187.126.16 for 5 seconds
     
    Last edited: Sep 23, 2017
  2. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    Are you trying to do crafting? If yes, see this, it's a known problem.
     
  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.