PocketMine Crash Archive

#29757706 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: Friday 26/06/2020 21:44:11
Attached Issue: None

System Information

PHP version: 5.6.6
Operating system: win
System banner: Windows NT DESKTOP-MIKAN 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(2), 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(2))
#5 /src/pocketmine/network/RakLibInterface(221): pocketmine\Player->handleACK(integer 819)
#6 /src/raklib/server/ServerHandler(134): pocketmine\network\RakLibInterface->notifyACK(string 192.168.1.6:58379, integer 819)
#7 /src/pocketmine/network/RakLibInterface(137): 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://E:/Users/Mikan/Desktop/PocketMine-MP/PocketMine-MP.phar/, string E:\Users\Mikan\Desktop\PocketMine-MP\, string E:\Users\Mikan\Desktop\PocketMine-MP\plugins\)
#13 (1): require(string phar://E:/Users/Mikan/Desktop/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)
WorldMonitor2.0.0.000.0EnabledSteven
WRB1.0.0EnabledKichigai_G
SignWarp1.5.1Enabledaliuly

Server Settings [toggle]

NameValue
type0
motd§l§fシロクマ§bサーバー
server-port19132
white-list0
announce-player-achievementson
spawn-protection0
max-players60
allow-flightoff
spawn-animalsoff
spawn-mobsoff
gamemode0
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-namespawn
level-seed
level-typeDEFAULT
enable-queryon
enable-rconoff
rcon.password******
auto-saveon
online-mode0
memory-limit-1
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