[Crash Server] InvalidStateException: "Trying to get permissions of closed player"

Discussion in 'Help' started by TeraCube, Dec 1, 2018.

  1. TeraCube

    TeraCube Zombie

    Messages:
    231
    GitHub:
    teracube
    hi,

    My server run on PMMP/1642 and 30 plugins
    https://jenkins.pmmp.io/job/PocketMine-MP/1642/artifact/PocketMine-MP.phar

    today server crash with this issue
    what is the problem
    thanks you
    sorry for my bad english

    Code:
    2018-12-01 [13:11:21] [Server thread/CRITICAL]: InvalidStateException: "Trying to get permissions of closed player" (EXCEPTION) in "src/pocketmine/Player" at line 623
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #0 src/pocketmine/Player(1057): pocketmine\Player->hasPermission(string pocketmine.broadcast.admin)
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #1 src/pocketmine/Player(985): pocketmine\Player->doFirstSpawn()
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #2 src/pocketmine/level/Level(2464): pocketmine\Player->sendChunk(integer -2, integer 3, pocketmine\network\mcpe\protocol\BatchPacket object)
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #3 src/pocketmine/level/Level(2488): pocketmine\level\Level->sendChunkFromCache(integer -2, integer 3)
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(792): pocketmine\level\Level->processChunkRequest()
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #5 src/pocketmine/Server(2370): pocketmine\level\Level->doTick(integer 600655)
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #6 src/pocketmine/Server(2519): pocketmine\Server->checkTickUpdates(integer 600655, double 1543666281.5289)
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #7 src/pocketmine/Server(2265): pocketmine\Server->tick()
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #8 src/pocketmine/Server(2135): pocketmine\Server->tickProcessor()
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #9 src/pocketmine/Server(1701): pocketmine\Server->start()
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #10 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
    2018-12-01 [13:11:21] [Server thread/DEBUG]: #11 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    2018-12-01 [13:11:21] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
    2018-12-01 [13:11:21] [Server thread/EMERGENCY]: Please upload the "/home/myserver/crashdumps/Sat_Dec_1-13.11.21-CET_2018.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
    Code:
    PocketMine-MP Crash Dump Sat Dec 1 13:11:21 CET 2018
    
    Error: Trying to get permissions of closed player
    File: src/pocketmine/Player
    Line: 623
    Type: InvalidStateException
    
    Code:
    [614]     /**
    [615]      * @param permission\Permission|string $name
    [616]      *
    [617]      * @return bool
    [618]      *
    [619]      * @throws \InvalidStateException if the player is closed
    [620]      */
    [621]     public function hasPermission($name) : bool{
    [622]         if($this->closed){
    [623]             throw new \InvalidStateException("Trying to get permissions of closed player");
    [624]         }
    [625]         return $this->perm->hasPermission($name);
    [626]     }
    [627]
    [628]     /**
    [629]      * @param Plugin $plugin
    [630]      * @param string $name
    [631]      * @param bool   $value
    [632]      *
    [633]      * @return PermissionAttachment
    
    Backtrace:
    #0 src/pocketmine/Player(1057): pocketmine\Player->hasPermission(string pocketmine.broadcast.admin)
    #1 src/pocketmine/Player(985): pocketmine\Player->doFirstSpawn()
    #2 src/pocketmine/level/Level(2464): pocketmine\Player->sendChunk(integer -2, integer 3, pocketmine\network\mcpe\protocol\BatchPacket object)
    #3 src/pocketmine/level/Level(2488): pocketmine\level\Level->sendChunkFromCache(integer -2, integer 3)
    #4 src/pocketmine/level/Level(792): pocketmine\level\Level->processChunkRequest()
    #5 src/pocketmine/Server(2370): pocketmine\level\Level->doTick(integer 600655)
    #6 src/pocketmine/Server(2519): pocketmine\Server->checkTickUpdates(integer 600655, double 1543666281.5289)
    #7 src/pocketmine/Server(2265): pocketmine\Server->tick()
    #8 src/pocketmine/Server(2135): pocketmine\Server->tickProcessor()
    #9 src/pocketmine/Server(1701): pocketmine\Server->start()
    #10 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
    #11 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    
    PocketMine-MP version: 3.3.2 [Protocol 291]
    Git commit: 200de3fe8460d180a4fd9f5a0e0768bd3085fd50
    uname -a: Linux g1 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64
    PHP Version: 7.2.9
    Zend version: 3.2.0
    OS : Linux, linux
     
  2. TeraCube

    TeraCube Zombie

    Messages:
    231
    GitHub:
    teracube
  3. Destroyer57

    Destroyer57 Baby Zombie

    Messages:
    141
  4. TeraCube

    TeraCube Zombie

    Messages:
    231
    GitHub:
    teracube
    ok sorry
     

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.