PocketMine Crash Archive

#29777024 Invalid argument error

Submitted by PocketMine-MP 1.4-916

General information

Version: 1.4-916
API version: 1.10.0
Caused by a Plugin: Not directly
Report date: Monday 04/04/2022 20:58:07
Attached Issue: None

System Information

PHP version: 5.6.4
Operating system: win
System banner: Windows NT MARIXLIVE-DESKT 6.2 build 9200 (Windows 8 Business Edition) i586

Error information

Argument 1 passed to pocketmine/network/protocol/DataPacket::putSlot() must be an instance of pocketmine/item/Item, null given, called in src/pocketmine/network/protocol/AddItemEntityPacket.php on line 59 and defined
File: /src/pocketmine/network/protocol/DataPacket
Line: #163
Error level: notice

[154] 		$cnt = \ord($this->get(1));
[155] 
[156] 		return Item::get(
[157] 			$id,
[158] 			\unpack("n", $this->get(2))[1],
[159] 			$cnt
[160] 		);
[161] 	}
[162] 
[163] 	protected function putSlot(Item $item){
[164] 		$this->buffer .= \pack("n", $item->getId());
[165] 		$this->buffer .= \chr($item->getCount());
[166] 		$this->buffer .= \pack("n", $item->getDamage());
[167] 	}
[168] 
[169] 	protected function getString(){
[170] 		return $this->get(\unpack("n", $this->get(2))[1]);
[171] 	}
[172] 
[173] 	protected function putString($v){
#0 /src/pocketmine/network/protocol/AddItemEntityPacket(59): pocketmine\network\protocol\DataPacket->putSlot(NULL )
#1 /src/pocketmine/network/RakLibInterface(244): pocketmine\network\protocol\AddItemEntityPacket->encode()
#2 /src/pocketmine/Player(754): pocketmine\network\RakLibInterface->putPacket(pocketmine\Player Player(1), pocketmine\network\protocol\AddItemEntityPacket object, boolean , boolean )
#3 /src/pocketmine/entity/Item(237): pocketmine\Player->dataPacket(pocketmine\network\protocol\AddItemEntityPacket object)
#4 /src/pocketmine/Player(573): pocketmine\entity\Item->spawnTo(pocketmine\Player Player(1))
#5 /src/pocketmine/network/RakLibInterface(211): pocketmine\Player->handleACK(integer 36)
#6 /src/raklib/server/ServerHandler(134): pocketmine\network\RakLibInterface->notifyACK(string 192.168.1.112:47130, integer 36)
#7 /src/pocketmine/network/RakLibInterface(133): raklib\server\ServerHandler->handlePacket()
#8 /src/pocketmine/Server(2193): pocketmine\network\RakLibInterface->process()
#9 /src/pocketmine/Server(2087): pocketmine\Server->tick()
#10 /src/pocketmine/Server(1958): pocketmine\Server->tickProcessor()
#11 /src/pocketmine/Server(1677): pocketmine\Server->start()
#12 /src/pocketmine/PocketMine(440): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar://D:/PocketMine-MP/PocketMine-MP.phar/, string D:\PocketMine-MP\, string D:\PocketMine-MP\plugins\)
#13 (1): require(string phar://D:/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)
essentialsTP1.0.9Enabled
GrabBag2.0.1Enabledaliuly
ItemCasePE1.0.5Enabledaliuly
ManyWorlds1.1.0Enabledaliuly
TapToDo2.1.2EnabledFalk
ToyBox1.1.0Enabledaliuly

Server Settings [toggle]

NameValue
motdMinecraft: PE Server
server-port19132
memory-limit256M
white-listoff
announce-player-achievementson
spawn-protection16
max-players20
allow-flightoff
spawn-animalson
spawn-mobson
gamemode0
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
enable-queryon
enable-rconoff
rcon.password******
auto-saveon
settings.shutdown-messageServer closed
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.advanced-cachefalse
settings.upnp-forwardingfalse
settings.send-usagetrue
settings.async-workers4
debug.level1
debug.commandsfalse
level-settings.default-formatmcregion
level-settings.convert-formatfalse
chunk-sending.per-tick4
chunk-sending.compression-level8
chunk-sending.max-chunks256
chunk-ticking.per-tick260
chunk-ticking.tick-radius4
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listfalse
chunk-generation.use-asyncfalse
chunk-generation.per-tick1
chunk-gc.period-in-ticks600
ticks-per.animal-spawns400
ticks-per.monster-spawns1
ticks-per.autosave6000
ticks-per.cache-cleanup900
spawn-limits.monsters70
spawn-limits.animals15
spawn-limits.water-animals5
spawn-limits.ambient15
auto-report.enabledtrue
auto-report.send-codetrue
auto-report.send-settingstrue
auto-report.send-phpinfotrue
auto-report.hostcrash.pocketmine.net
auto-updater.enabledtrue
auto-updater.on-update.warn-consoletrue
auto-updater.on-update.warn-opstrue
auto-updater.preferred-channelstable
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
aliases
worlds
Find duplicates  |   Download