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

Solved Error while unloading a chunk: Call to a member function contains() on null

Discussion in 'Help' started by TeraCube, Oct 30, 2017.

  1. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    map error or pmm or plugin issue
    thanks

    Code:
    2017-10-30 [19:39:54] [Server thread/ERROR]: Error while unloading a chunk: Call to a member function contains() on null
    2017-10-30 [19:39:54] [Server thread/CRITICAL]: Error: "Call to a member function contains() on null" (EXCEPTION) in "src/pocketmine/Player" at line 3810
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #0 src/pocketmine/inventory/BaseInventory(375): pocketmine\Player->removeWindow(pocketmine\inventory\DoubleChestInventory object, boolean 1)
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #1 src/pocketmine/tile/Chest(60): pocketmine\inventory\BaseInventory->removeAllViewers(boolean 1)
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #2 src/pocketmine/level/format/Chunk(714): pocketmine\tile\Chest->close()
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #3 src/pocketmine/level/format/io/region/McRegion(364): pocketmine\level\format\Chunk->unload(boolean 1)
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(2646): pocketmine\level\format\io\region\McRegion->unloadChunk(integer 8, integer -1, boolean 1)
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #5 src/pocketmine/level/Level(2938): pocketmine\level\Level->unloadChunk(integer 8, integer -1, boolean 1)
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(692): pocketmine\level\Level->unloadChunks()
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #7 src/pocketmine/Server(2377): pocketmine\level\Level->doTick(integer 899551)
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #8 src/pocketmine/Server(2530): pocketmine\Server->checkTickUpdates(integer 899551, double 1509388794.6216)
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #9 src/pocketmine/Server(2274): pocketmine\Server->tick()
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #10 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor()
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #11 src/pocketmine/Server(1731): pocketmine\Server->start()
    2017-10-30 [19:39:54] [Server thread/DEBUG]: #12 src/pocketmine/PocketMine(564): 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-10-30 [19:39:54] [Server thread/DEBUG]: #13 /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 1.7dev-344: AllSigns 1.0.5; iProtector 3.1.0-3; ChatToDiscord 1.1.0; VoteReward 3.0.2-3; essentialsTP 1.2.0-2; Parkour 1.5.6-3; Slapper 1.3.7; BanItem 2.3.2-2.alpha8; xyz 1.0.4; AlwaysSpawn 2.2.3-3; BadWordBlocker 1.2.0; PurePerms 1.4.1-2; ItemCasePE 1.2.1; EconomyAPI 5.7.1-3; MagicTelePortal 1.3.2-3; CustomAlerts 1.7.2-1; EconomyShop 2.0.8-5; FactionsPro 1.4.5-5; PureChat 1.4.10-3
     
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    looks like a PM bug; maybe update to latest PM. I think there was recently something done to chests.
     
  3. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    @robske_110 (Tim)
    this issue came back with PocketMine-MP_1.7dev-436_589ca458


    Code:
    2017-11-22 [16:50:19] [Server thread/ERROR]: Error while unloading a chunk: Value 56481 is too large!
    2017-11-22 [16:50:19] [Server thread/CRITICAL]: InvalidArgumentException: "Value 56481 is too large!" (EXCEPTION) in "src/pocketmine/nbt/tag/ShortTag" at line 70
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #0 src/pocketmine/nbt/tag/CompoundTag(303): pocketmine\nbt\tag\ShortTag->setValue(integer 56481)
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #1 src/pocketmine/nbt/tag/CompoundTag(328): pocketmine\nbt\tag\CompoundTag->setTagValue(string Age, string pocketmine\nbt\tag\ShortTag, integer 56481, boolean )
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #2 src/pocketmine/entity/projectile/Projectile(107): pocketmine\nbt\tag\CompoundTag->setShort(string Age, integer 56481)
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #3 src/pocketmine/level/format/io/region/Anvil(70): pocketmine\entity\projectile\Projectile->saveNBT()
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #4 src/pocketmine/level/format/io/region/RegionLoader(184): pocketmine\level\format\io\region\Anvil->nbtSerialize(pocketmine\level\format\Chunk object)
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #5 src/pocketmine/level/format/io/region/McRegion(317): pocketmine\level\format\io\region\RegionLoader->writeChunk(pocketmine\level\format\Chunk object)
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(2645): pocketmine\level\format\io\region\McRegion->saveChunk(integer -5, integer -2)
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(2939): pocketmine\level\Level->unloadChunk(integer -5, integer -2, boolean 1)
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #8 src/pocketmine/level/Level(693): pocketmine\level\Level->unloadChunks()
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #9 src/pocketmine/Server(2374): pocketmine\level\Level->doTick(integer 339102)
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #10 src/pocketmine/Server(2527): pocketmine\Server->checkTickUpdates(integer 339102, double 1511365819.1408)
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #11 src/pocketmine/Server(2271): pocketmine\Server->tick()
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #12 src/pocketmine/Server(2146): pocketmine\Server->tickProcessor()
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #13 src/pocketmine/Server(1734): pocketmine\Server->start()
    2017-11-22 [16:50:19] [Server thread/DEBUG]: #14 src/pocketmine/PocketMine(552): 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-22 [16:50:19] [Server thread/DEBUG]: #15 /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)
    Code:
    2017-11-22 [16:50:49] [Server thread/CRITICAL]: InvalidArgumentException: "Value 57082 is too large!" (EXCEPTION) in "src/pocketmine/nbt/tag/ShortTag" at line 70
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #0 src/pocketmine/nbt/tag/CompoundTag(303): pocketmine\nbt\tag\ShortTag->setValue(integer 57082)
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #1 src/pocketmine/nbt/tag/CompoundTag(328): pocketmine\nbt\tag\CompoundTag->setTagValue(string Age, string pocketmine\nbt\tag\ShortTag, integer 57082, boolean )
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #2 src/pocketmine/entity/projectile/Projectile(107): pocketmine\nbt\tag\CompoundTag->setShort(string Age, integer 57082)
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #3 src/pocketmine/level/format/io/region/Anvil(70): pocketmine\entity\projectile\Projectile->saveNBT()
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #4 src/pocketmine/level/format/io/region/RegionLoader(184): pocketmine\level\format\io\region\Anvil->nbtSerialize(pocketmine\level\format\Chunk object)
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #5 src/pocketmine/level/format/io/region/McRegion(317): pocketmine\level\format\io\region\RegionLoader->writeChunk(pocketmine\level\format\Chunk object)
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(2645): pocketmine\level\format\io\region\McRegion->saveChunk(integer -5, integer -2)
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(2939): pocketmine\level\Level->unloadChunk(integer -5, integer -2, boolean 1)
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #8 src/pocketmine/level/Level(693): pocketmine\level\Level->unloadChunks()
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #9 src/pocketmine/Server(2374): pocketmine\level\Level->doTick(integer 339703)
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #10 src/pocketmine/Server(2527): pocketmine\Server->checkTickUpdates(integer 339703, double 1511365849.1801)
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #11 src/pocketmine/Server(2271): pocketmine\Server->tick()
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #12 src/pocketmine/Server(2146): pocketmine\Server->tickProcessor()
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #13 src/pocketmine/Server(1734): pocketmine\Server->start()
    2017-11-22 [16:50:49] [Server thread/DEBUG]: #14 src/pocketmine/PocketMine(552): 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-22 [16:50:49] [Server thread/DEBUG]: #15 /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)
    Code:
    2017-11-22 [16:51:19] [Server thread/ERROR]: Error while unloading a chunk: Value 57683 is too large!
    2017-11-22 [16:51:19] [Server thread/CRITICAL]: InvalidArgumentException: "Value 57683 is too large!" (EXCEPTION) in "src/pocketmine/nbt/tag/ShortTag" at line 70
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #0 src/pocketmine/nbt/tag/CompoundTag(303): pocketmine\nbt\tag\ShortTag->setValue(integer 57683)
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #1 src/pocketmine/nbt/tag/CompoundTag(328): pocketmine\nbt\tag\CompoundTag->setTagValue(string Age, string pocketmine\nbt\tag\ShortTag, integer 57683, boolean )
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #2 src/pocketmine/entity/projectile/Projectile(107): pocketmine\nbt\tag\CompoundTag->setShort(string Age, integer 57683)
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #3 src/pocketmine/level/format/io/region/Anvil(70): pocketmine\entity\projectile\Projectile->saveNBT()
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #4 src/pocketmine/level/format/io/region/RegionLoader(184): pocketmine\level\format\io\region\Anvil->nbtSerialize(pocketmine\level\format\Chunk object)
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #5 src/pocketmine/level/format/io/region/McRegion(317): pocketmine\level\format\io\region\RegionLoader->writeChunk(pocketmine\level\format\Chunk object)
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(2645): pocketmine\level\format\io\region\McRegion->saveChunk(integer -5, integer -2)
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(2939): pocketmine\level\Level->unloadChunk(integer -5, integer -2, boolean 1)
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #8 src/pocketmine/level/Level(693): pocketmine\level\Level->unloadChunks()
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #9 src/pocketmine/Server(2374): pocketmine\level\Level->doTick(integer 340304)
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #10 src/pocketmine/Server(2527): pocketmine\Server->checkTickUpdates(integer 340304, double 1511365879.23)
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #11 src/pocketmine/Server(2271): pocketmine\Server->tick()
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #12 src/pocketmine/Server(2146): pocketmine\Server->tickProcessor()
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #13 src/pocketmine/Server(1734): pocketmine\Server->start()
    2017-11-22 [16:51:19] [Server thread/DEBUG]: #14 src/pocketmine/PocketMine(552): 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-22 [16:51:19] [Server thread/DEBUG]: #15 /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)
     
  4. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    Value XXXX does not stop to increase on the log file

    Code:
    17-11-22 [18:30:18] [Server thread/CRITICAL]: InvalidArgumentException: "Value 174188 is too large!" (EXCEPTION) in "src/pocketmine/nbt/tag/ShortTag" at line 70
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #0 src/pocketmine/nbt/tag/CompoundTag(303): pocketmine\nbt\tag\ShortTag->setValue(integer 174188)
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #1 src/pocketmine/nbt/tag/CompoundTag(328): pocketmine\nbt\tag\CompoundTag->setTagValue(string Age, string pocketmine\nbt\tag\ShortTag, integer 174188, boolean )
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #2 src/pocketmine/entity/projectile/Projectile(107): pocketmine\nbt\tag\CompoundTag->setShort(string Age, integer 174188)
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #3 src/pocketmine/level/format/io/region/Anvil(70): pocketmine\entity\projectile\Projectile->saveNBT()
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #4 src/pocketmine/level/format/io/region/RegionLoader(184): pocketmine\level\format\io\region\Anvil->nbtSerialize(pocketmine\level\format\Chunk object)
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #5 src/pocketmine/level/format/io/region/McRegion(317): pocketmine\level\format\io\region\RegionLoader->writeChunk(pocketmine\level\format\Chunk object)
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(2645): pocketmine\level\format\io\region\McRegion->saveChunk(integer -5, integer -2)
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(2939): pocketmine\level\Level->unloadChunk(integer -5, integer -2, boolean 1)
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #8 src/pocketmine/level/Level(693): pocketmine\level\Level->unloadChunks()
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #9 src/pocketmine/Server(2374): pocketmine\level\Level->doTick(integer 456809)
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #10 src/pocketmine/Server(2527): pocketmine\Server->checkTickUpdates(integer 456809, double 1511371818.0468)
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #11 src/pocketmine/Server(2271): pocketmine\Server->tick()
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #12 src/pocketmine/Server(2146): pocketmine\Server->tickProcessor()
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #13 src/pocketmine/Server(1734): pocketmine\Server->start()
    2017-11-22 [18:30:18] [Server thread/DEBUG]: #14 src/pocketmine/PocketMine(552): 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-22 [18:30:18] [Server thread/DEBUG]: #15 /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)
     
  5. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    This is now a projectile instead of a chest. I remeber some other thread about the same error, and i think it was a plugin.
     
  6. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    @robske_110 (Tim)
    here a crashdump report
    many an many errors Error while unloading a chunk: Value XXXXX is too large!
    value error XXXXX increase, then server crash
    witch plugins issue do you think it is ?
    thanks
    sorry for my bad english


    Code:
    2017-11-25 [15:31:07] [Server thread/CRITICAL]: InvalidArgumentException: "Value 237461 is too large!" (EXCEPTION) in "src/pocketmine/nbt/tag/ShortTag" at line 70
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #0 src/pocketmine/nbt/tag/CompoundTag(303): pocketmine\nbt\tag\ShortTag->setValue(integer 237461)
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #1 src/pocketmine/nbt/tag/CompoundTag(328): pocketmine\nbt\tag\CompoundTag->setTagValue(string Age, string pocketmine\nbt\tag\ShortTag, integer 237461, boolean )
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #2 src/pocketmine/entity/projectile/Projectile(107): pocketmine\nbt\tag\CompoundTag->setShort(string Age, integer 237461)
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #3 src/pocketmine/level/format/io/region/Anvil(70): pocketmine\entity\projectile\Projectile->saveNBT()
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #4 src/pocketmine/level/format/io/region/RegionLoader(184): pocketmine\level\format\io\region\Anvil->nbtSerialize(pocketmine\level\format\Chunk object)
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #5 src/pocketmine/level/format/io/region/McRegion(317): pocketmine\level\format\io\region\RegionLoader->writeChunk(pocketmine\level\format\Chunk object)
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(1023): pocketmine\level\format\io\region\McRegion->saveChunk(integer -5, integer -2)
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(1011): pocketmine\level\Level->saveChunks()
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #8 src/pocketmine/Server(2416): pocketmine\level\Level->save(boolean )
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #9 src/pocketmine/Server(2558): pocketmine\Server->doAutoSave()
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #10 src/pocketmine/Server(2272): pocketmine\Server->tick()
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #11 src/pocketmine/Server(2147): pocketmine\Server->tickProcessor()
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #12 src/pocketmine/Server(1735): pocketmine\Server->start()
    2017-11-25 [15:31:07] [Server thread/DEBUG]: #13 src/pocketmine/PocketMine(552): 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-25 [15:31:07] [Server thread/DEBUG]: #14 /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-25 [15:31:07] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
    2017-11-25 [15:31:07] [Server thread/EMERGENCY]: Please upload the "/home/gsp_1485/g3.hmserv.eu-19144/crashdumps/Sat_Nov_25-15.31.07-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 Sat Nov 25 15:31:07 CET 2017
    
    Error: Value 237461 is too large!
    File: src/pocketmine/nbt/tag/ShortTag
    Line: 70
    Type: notice
    
    Code:
    [61]     /**
    [62]      * @param int $value
    [63]      *
    [64]      * @throws \TypeError
    [65]      */
    [66]     public function setValue($value) : void{
    [67]         if(!\is_int($value)){
    [68]             throw new \TypeError("ShortTag value must be of type int, " . \gettype($value) . " given");
    [69]         }elseif($value < -(2 ** 15) or $value > ((2 ** 15) - 1)){
    [70]             throw new \InvalidArgumentException("Value $value is too large!");
    [71]         }
    [72]         parent::setValue($value);
    [73]     }
    [74] }
    [75]
    [76]
    [77]
    [78]
    [79]
    [80]
    
    Backtrace:
    #0 src/pocketmine/nbt/tag/CompoundTag(303): pocketmine\nbt\tag\ShortTag->setValue(integer 237461)
    #1 src/pocketmine/nbt/tag/CompoundTag(328): pocketmine\nbt\tag\CompoundTag->setTagValue(string Age, string pocketmine\nbt\tag\ShortTag, integer 237461, boolean )
    #2 src/pocketmine/entity/projectile/Projectile(107): pocketmine\nbt\tag\CompoundTag->setShort(string Age, integer 237461)
    #3 src/pocketmine/level/format/io/region/Anvil(70): pocketmine\entity\projectile\Projectile->saveNBT()
    #4 src/pocketmine/level/format/io/region/RegionLoader(184): pocketmine\level\format\io\region\Anvil->nbtSerialize(pocketmine\level\format\Chunk object)
    #5 src/pocketmine/level/format/io/region/McRegion(317): pocketmine\level\format\io\region\RegionLoader->writeChunk(pocketmine\level\format\Chunk object)
    #6 src/pocketmine/level/Level(1023): pocketmine\level\format\io\region\McRegion->saveChunk(integer -5, integer -2)
    #7 src/pocketmine/level/Level(1011): pocketmine\level\Level->saveChunks()
    #8 src/pocketmine/Server(2416): pocketmine\level\Level->save(boolean )
    #9 src/pocketmine/Server(2558): pocketmine\Server->doAutoSave()
    #10 src/pocketmine/Server(2272): pocketmine\Server->tick()
    #11 src/pocketmine/Server(2147): pocketmine\Server->tickProcessor()
    #12 src/pocketmine/Server(1735): pocketmine\Server->start()
    #13 src/pocketmine/PocketMine(552): 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/)
    #14 /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 #451 [Protocol 141; 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:
    MagicWE2 4.2.1 by XenialDan for API(s) 3.0.0-ALPHA9
    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
    PlayerPing 1.1 by dirouc for API(s) 3.0.0-ALPHA9
    Worlds 1.0.12 by  for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    LiveXYZ 0.6.0.4-beta by dktapps 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
    BadWordBlocker 1.2.0 by  for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9
    PiggyCustomEnchants 1.0.6 by DaPigGuy for API(s) 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
    EconomyAPI 5.7.1-3 by onebone 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
    TeaSpoon 1.0.0 by CortexPE for API(s) 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
    
     
  7. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    Is the issue caused by Given fonction ?
    show this log
    thanks

    Code:
    2017-11-25 [12:40:58] [Server thread/INFO]: [Player01: Given Speed (ID 1) * 8 to Player01 for 99999 seconds]
    2017-11-25 [12:41:04] [Server thread/INFO]: [12:41:04] Player01: s'est déplacé du monde nether vers le monde faction
    2017-11-25 [12:41:04] [Server thread/INFO]: [Player02: Set the time to 0]
    2017-11-25 [12:41:13] [Server thread/ERROR]: Error while unloading a chunk: Value 33633 is too large!
    2017-11-25 [12:41:13] [Server thread/CRITICAL]: InvalidArgumentException: "Value 33633 is too large!" (EXCEPTION) in "src/pocketmine/nbt/tag/ShortTag" at line 70
     
    Last edited: Nov 25, 2017
  8. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
  9. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    I suspect TeaSpoon is causing this. You can try what @Awzaw recommended.
     
  10. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    @Awzaw @robske_110 (Tim)
    i try changing shortag L70 and it's OK
    no Error while unloading a chunk: Value xxxxx is too large!
    thanks you
     
    Awzaw 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.