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

PocketMine-MP version: 1.7dev #399 / Error: ListTag members must be NamedTags, got integer in given

Discussion in 'Help' started by TeraCube, Nov 17, 2017.

  1. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    My server crash

    PMMP dev 399 issue or Plugin issue incompatibility with PMMP ?
    thanks

    Code:
    2017-11-17 [15:47:38] [Server thread/CRITICAL]: TypeError: "ListTag members must be NamedTags, got integer in given array" (EXCEPTION) in "src/pocketmine/nbt/tag/ListTag" at line 72
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #0 src/pocketmine/nbt/tag/NamedTag(38): pocketmine\nbt\tag\ListTag->setValue(array Array())
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #1 src/pocketmine/nbt/tag/ListTag(43): pocketmine\nbt\tag\NamedTag->__construct(string Pos, array Array())
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #2 src/pocketmine/Player(1921): pocketmine\nbt\tag\ListTag->__construct(string Pos, array Array())
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #3 src/pocketmine/Player(1888): pocketmine\Player->processLogin()
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/VerifyLoginTask(146): pocketmine\Player->onVerifyCompleted(pocketmine\network\mcpe\protocol\LoginPacket object, boolean 1, boolean 1)
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #5 src/pocketmine/scheduler/AsyncPool(164): pocketmine\network\mcpe\VerifyLoginTask->onCompletion(pocketmine\Server object)
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #6 src/pocketmine/scheduler/ServerScheduler(342): pocketmine\scheduler\AsyncPool->collectTasks()
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #7 src/pocketmine/Server(2522): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(integer 103240)
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #8 src/pocketmine/Server(2269): pocketmine\Server->tick()
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #9 src/pocketmine/Server(2144): pocketmine\Server->tickProcessor()
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #10 src/pocketmine/Server(1734): pocketmine\Server->start()
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #11 src/pocketmine/PocketMine(550): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/)
    2017-11-17 [15:47:38] [Server thread/DEBUG]: #12 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    2017-11-17 [15:47:38] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
    2017-11-17 [15:47:38] [Server thread/EMERGENCY]: Please upload the "/home/gsp_1485/g3.hmserv.eu-19144/crashdumps/Fri_Nov_17-15.47.38-CET_2017.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 Fri Nov 17 15:47:38 CET 2017
    
    Error: ListTag members must be NamedTags, got integer in given array
    File: src/pocketmine/nbt/tag/ListTag
    Line: 72
    Type: notice
    
    Code:
    [63]      *
    [64]      * @throws \TypeError
    [65]      */
    [66]     public function setValue($value) : void{
    [67]         if(\is_array($value)){
    [68]             foreach($value as $name => $tag){
    [69]                 if($tag instanceof NamedTag){
    [70]                     $this->{$name} = $tag;
    [71]                 }else{
    [72]                     throw new \TypeError("ListTag members must be NamedTags, got " . \gettype($tag) . " in given array");
    [73]                 }
    [74]             }
    [75]         }else{
    [76]             throw new \TypeError("ListTag value must be NamedTag[], " . \gettype($value) . " given");
    [77]         }
    [78]     }
    [79]
    [80]     public function getCount(){
    [81]         $count = 0;
    [82]         foreach($this as $tag){
    
    Backtrace:
    #0 src/pocketmine/nbt/tag/NamedTag(38): pocketmine\nbt\tag\ListTag->setValue(array Array())
    #1 src/pocketmine/nbt/tag/ListTag(43): pocketmine\nbt\tag\NamedTag->__construct(string Pos, array Array())
    #2 src/pocketmine/Player(1921): pocketmine\nbt\tag\ListTag->__construct(string Pos, array Array())
    #3 src/pocketmine/Player(1888): pocketmine\Player->processLogin()
    #4 src/pocketmine/network/mcpe/VerifyLoginTask(146): pocketmine\Player->onVerifyCompleted(pocketmine\network\mcpe\protocol\LoginPacket object, boolean 1, boolean 1)
    #5 src/pocketmine/scheduler/AsyncPool(164): pocketmine\network\mcpe\VerifyLoginTask->onCompletion(pocketmine\Server object)
    #6 src/pocketmine/scheduler/ServerScheduler(342): pocketmine\scheduler\AsyncPool->collectTasks()
    #7 src/pocketmine/Server(2522): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(integer 103240)
    #8 src/pocketmine/Server(2269): pocketmine\Server->tick()
    #9 src/pocketmine/Server(2144): pocketmine\Server->tickProcessor()
    #10 src/pocketmine/Server(1734): pocketmine\Server->start()
    #11 src/pocketmine/PocketMine(550): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/)
    #12 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    
    PocketMine-MP version: 1.7dev #399 [Protocol 137; API 3.0.0-ALPHA9]
    Git commit: 0000000000000000000000000000000000000000
    uname -a: Linux game01 4.4.19-mod-std-ipv6-64 #1 SMP Mon Aug 22 13:05:01 CEST 2016 x86_64
    PHP Version: 7.2.0RC4
    Zend version: 3.2.0-dev
    OS : Linux, linux
    
    Loaded plugins:
    AllSigns 1.0.5 by  for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    AlwaysSpawn 2.2.3-3 by Philip Shilling for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    ChatToDiscord 1.1.0 by eDroid for API(s) 3.0.0, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    VoteReward 3.0.2-3 by LDX for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    essentialsTP 1.2.0-2 by  for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    PiggyCustomEnchants 1.0.5 by DaPigGuy for API(s) 3.0.0-ALPHA9
    Parkour 1.5.6-3 by awzaw for API(s) 3.0.0-ALPHA8, 3.0.0-ALPHA9
    Worlds 1.0.12 by  for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    Slapper 1.3.7 by jojoe77777 for API(s) 3.0.0-ALPHA9
    iProtector 3.1.0-5 by LDX for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    xyz 1.0.4 by unerds for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    BadWordBlocker 1.2.0 by  for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    CustomAlerts 1.7.2-2 by EvolSoft for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    PurePerms 1.4.1-2 by 64FF00 & ProjectInfinity for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    ItemCasePE 1.2.1 by aliuly for API(s) 3.0.0-ALPHA8, 3.0.0-ALPHA9
    EconomyAPI 5.7.1-3 by onebone for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    MagicTelePortal 1.3.2-3 by aliuly for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    BanItem 2.3.2-2.alpha8 by LDX for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    EconomyShop 2.0.8-5 by onebone for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    FactionsPro 1.4.5-8 by Tethered_, HostingItAll.com for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    PureChat 1.4.10-3 by 64FF00 for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    

    PocketMine-MP 1.7dev-403: AllSigns 1.0.5; AlwaysSpawn 2.2.3-3; ChatToDiscord 1.1.0; VoteReward 3.0.2-3; essentialsTP 1.2.0-2; PiggyCustomEnchants 1.0.5; Parkour 1.5.6-3; Worlds 1.0.12; Slapper 1.3.7; iProtector 3.1.0-5; BadWordBlocker 1.2.0; xyz 1.0.4; CustomAlerts 1.7.2-2; PurePerms 1.4.1-2; ItemCasePE 1.2.1; EconomyAPI 5.7.1-3; MagicTelePortal 1.3.2-3; BanItem 2.3.2-2.alpha8; EconomyShop 2.0.8-5; FactionsPro 1.4.5-8; PureChat 1.4.10-3
     
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    plugin compatibility issue probably
     
    TeraCube likes this.
  3. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
  4. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    probably one of these three: PiggyCustomEnchants or Slapper, ItemCasePE
     
    TeraCube likes this.
  5. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    the server crash when a particular player tries to connect to the server.
    no problem when another player tries to connect
    I delete the player.dat file of this player and since no problem
    i think player.dat of this player was corrupted by a plugin

    sorry for my bad english
     
  6. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    It's a core bug. I'm working on fixing it now.

    It will happen when a player joins the server after the level they quit on is not loaded.
     
    TeraCube likes this.
  7. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    @dktapps
    thanks you for this information
    teracube
     
  8. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    Should be fixed as of build #404.
     
    TeraCube likes this.
  9. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Hmm, I somehow can't find that one...

    I know where the door is
     
    Thunder33345 likes this.
  10. TeraCube

    TeraCube Zombie

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