menu
#3547673 StringTag cannot hold more than 32767 bytes, got string of length 500016

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: None
Report date: 2020-01-13 20:11:57 +0000 UTC

System Information

PHP version: 7.3.5
Operating system: linux
System banner: Linux versai-ca 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64

Error information

Message: StringTag cannot hold more than 32767 bytes, got string of length 500016
File: vendor/pocketmine/nbt/src/tag/StringTag
Line: #44
Error level: InvalidArgumentException
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
	private $value;

/**
* @param string $name
* @param string $value
*/
public function __construct(string $name = "", string $value = ""){
parent::__construct($name);
if(strlen($value) > 32767){
throw new \InvalidArgumentException("StringTag cannot hold more than 32767 bytes, got string of length " . strlen($value));
}
$this->value = $value;
}

public function getType() : int{
return NBT::TAG_String;
}

public function read(NBTStream $nbt, ReaderTracker $tracker) : void{
$this->value = $nbt->getString();
#0 src/pocketmine/entity/Human(833): pocketmine\nbt\tag\StringTag->__construct(string[4] Name, string[500016] 0feb56c0-af85-4ec7-bb25-7ebed055a668.ZombieWingAndCape2009MineConsEventCapePack1)
#1 src/pocketmine/Player(3620): pocketmine\entity\Human->saveNBT()
#2 src/pocketmine/Player(3538): pocketmine\Player->save()
#3 src/pocketmine/network/mcpe/RakLibInterface(122): pocketmine\Player->close(object pocketmine\lang\TranslationContainer, string[17] client disconnect)
#4 vendor/pocketmine/raklib/src/server/ServerHandler(131): pocketmine\network\mcpe\RakLibInterface->closeSession(string[21] 112.163.198.178 52941, string[17] client disconnect)
#5 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
#6 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
#7 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
#8 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#9 src/pocketmine/Server(2349): pocketmine\snooze\SleeperHandler->sleepUntil(double 1578946317.9007)
#10 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#11 src/pocketmine/Server(1785): pocketmine\Server->start()
#12 src/pocketmine/PocketMine(268): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] /home/versai/redo/, string[26] /home/versai/redo/plugins/)
#13 src/pocketmine/PocketMine(291): pocketmine\server()
#14 (1): require(string[73] phar:///home/versai/redo/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show