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

Solved InvalidStateException: "Cannot schedule update on garbage entity pocketmine\Player" (EXCEPTION)

Discussion in 'Plugin Help' started by TeraCube, Oct 9, 2018.

  1. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    plugin or pmmp issue ?
    i use PMMP #1544 stable build and 30 plugins
    thanks

    Code:
    2018-10-09 [22:05:54] [Server thread/INFO]: jamy30125[/7X.XXX.XX.XX:56819] logged out due to Kicked by admin. Reason: Flying is not enabled on this server
    2018-10-09 [22:05:54] [Server thread/CRITICAL]: InvalidStateException: "Cannot schedule update on garbage entity pocketmine\Player" (EXCEPTION) in "src/pocketmine/entity/Entity" at line 1403
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #0 src/pocketmine/entity/Entity(1784): pocketmine\entity\Entity->scheduleUpdate()
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #1 src/pocketmine/Player(2228): pocketmine\entity\Entity->setRotation(double 154.84588623047, double 11.434524536133)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #2 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(120): pocketmine\Player->handleMovePlayer(pocketmine\network\mcpe\protocol\MovePlayerPacket object)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #3 src/pocketmine/network/mcpe/protocol/MovePlayerPacket(92): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleMovePlayer(pocketmine\network\mcpe\protocol\MovePlayerPacket object)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\MovePlayerPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\MovePlayerPacket object)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #7 src/pocketmine/Player(3056): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/RakLibInterface(161): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #9 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 7X.XXX.XX.XX 56819, raklib\protocol\EncapsulatedPacket object, integer 0)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/RakLibInterface(102): raklib\server\ServerHandler->handlePacket()
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #11 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(92): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #13 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #15 src/pocketmine/Server(2259): pocketmine\snooze\SleeperHandler->sleepUntil(double 1539115554.6952)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #16 src/pocketmine/Server(2134): pocketmine\Server->tickProcessor()
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #17 src/pocketmine/Server(1700): pocketmine\Server->start()
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #18 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
    2018-10-09 [22:05:54] [Server thread/DEBUG]: #19 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    2018-10-09 [22:05:54] [RakLibServer thread/NOTICE]: Blocked 7X.XXX.XX.XX.27 for 5 seconds
     
  2. artulloss

    artulloss Witch

    Messages:
    63
    GitHub:
    artulloss
    Maybe before asking try disabling the other plugins, then run the plugin by itself or with just devtools. If the plugin is indeed the issue, identify the problematic code and send it here, good luck!
     
    TeraCube likes this.
  3. Aericio

    Aericio Slime

    Messages:
    99
    GitHub:
    aericio
    According to the queries, you seem to be using TeaSpoon.

    You should disable TeaSpoon and reproduce the issue again to see if that was the cause. If so, check if there are later versions of TeaSpoon and see if it was fixed, or create an issue. I don't see anything other than TeaSpoon that could potentially cause that, but I might've missed something ¯\_(ツ)_/¯.
     
    TeraCube likes this.
  4. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    @Aericio
    Ok i will test with/without TeaSpoon
    thanks
     
  5. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    This is a core bug/oversight with the way network batches are handled. It will be fixed in the upcoming 3.2.5 release.
     
    artulloss, SleepSpace9 and TeraCube like this.
  6. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    @dktapps
    nice ; -) thanks for your job
     
  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.