PocketMine Crash Archive

#29765280 Invalid argument error

Submitted by PocketMine-MP 1.4.1-980

General information

Version: 1.4.1-980
API version: 1.11.0
Caused by a Plugin: Not directly
Report date: Tuesday 18/05/2021 11:57:03
Attached Issue: None

System Information

PHP version: 5.6.6
Operating system: win
System banner: Windows NT NICESPRITE-PC 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(254): pocketmine\network\protocol\AddItemEntityPacket->encode()
#2 /src/pocketmine/Player(767): 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(586): pocketmine\entity\Item->spawnTo(pocketmine\Player Player(1))
#5 /src/pocketmine/network/RakLibInterface(221): pocketmine\Player->handleACK(integer 277)
#6 /src/raklib/server/ServerHandler(134): pocketmine\network\RakLibInterface->notifyACK(string 127.0.0.1:50790, integer 277)
#7 /src/pocketmine/network/RakLibInterface(139): raklib\server\ServerHandler->handlePacket()
#8 /src/pocketmine/Server(2216): pocketmine\network\RakLibInterface->process()
#9 /src/pocketmine/Server(2110): pocketmine\Server->tick()
#10 /src/pocketmine/Server(1986): pocketmine\Server->tickProcessor()
#11 /src/pocketmine/Server(1703): pocketmine\Server->start()
#12 /src/pocketmine/PocketMine(442): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar://F:/PM/PocketMine-MP/PocketMine-MP.phar/, string F:\PM\PocketMine-MP\, string F:\PM\PocketMine-MP\plugins\)
#13 (1): require(string phar://F:/PM/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)
AshMan1.0.1EnabledFENGberd,Alcatraz_Du
bianjiqi21.0.3EnabledKagehis4
bianshen1.1.ch 汉化creEnabledFalkirks
biedianbaikuai0.1.2EnabledMUedsa
bolirongqiDeBe.ch 汉化creEnabledDeBe
cangku1.1.ch 汉化creDisabledonebone
chenghao21.3.3.11.ch 汉化creEnabledArray
chumozhilingpai1.1.Alpha2.k 修改creEnabledMarcus, Marcus
chushengbaohu2.4.ch 汉化creEnabledLDX
dingshigonggao1.1Enabledzzx
ditubianjiqi1.0.0.047.ch 汉化creEnabledPEMapModder
duoshijie1.1.1.chEnabled18WYJ2 & boybook
gonghui21.2.0.ch 汉化creEnabledTethered_
jianyu1.1.1 修改creEnabledBOX
jichuchajian1.1.0.0205 汉化creEnabledLegendsOfMCPE Team
jinbaozha1.0.0EnabledMUedsa
jinliudong1.0.0EnabledMUedsa
jinmingling1.0.0 修改creEnabled18wyj2
jinpohuai21.0.k 修改creEnabledFENGberd
jinqian2.0.5.ch 汉化creEnabledonebone1
jinwupin21.2.1.k 修改creEnabledzzx
lingdi2.0.6.ch 汉化creEnabledonebone
meirifuli1.0.0Enabled
quanxianzu1.1.0.ch 汉化creEnabled64FF00
sharenkouqian1.1.0EnabledTopic
shengmingzhixianshi1.1.1.ch 汉化creEnabledStriker209_MPE
shijiankongzhi2.1.ch 汉化creEnabledGuillaume351
SimpleAuth1.7.0.ch0118 汉化creEnabledPocketMine Team, shoghicp
siwangbudiaoluo1.1.0Enabledboybook
suoxiangzi2.1.1.ch 汉化creEnabledMinecrafterJPN
vip1.0.0.k 修改creEnabledFENGberd
xitongchushoudian2.0.4.ch.all 汉化creEnabledonebone
xitonghuishoudian2.0.4.chall 汉化creEnabledonebone
xitongtishi1.2 修改creEnabledEvolSoft
zhilingchaxun1.0.0Enabled18wyj2
zhiye2.0.3.ch 汉化creEnabledonebone
chuansongmen1.1.2Enabledljyloo, TTS XiaoDu
feixingpai2.0.3.ch 汉化creEnabledonebone
gerenshangdian2.0.0 汉化creEnabledonebone
lingdichushou2.0.3.ch 汉化creEnabledonebone

Server Settings [toggle]

NameValue
motdMinecraft: PE Server
server-port19132
memory-limit-1
white-listoff
announce-player-achievementson
spawn-protection16
max-players200
allow-flightoff
spawn-animalson
spawn-mobson
gamemode0
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-namezc1
level-seed
level-typeFLAT
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-workers1
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-asynctrue
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