PocketMine / PocketMine-MP

Legacy PocketMine-MP repository. Head to https://github.com/pmmp for up to date software.
https://www.pocketmine.net/
GNU Lesser General Public License v3.0
1.25k stars 660 forks source link

server crashes #3234

Closed Creeperface01 closed 9 years ago

Creeperface01 commented 9 years ago

PocketMine-MP Crash Dump Sun Jun 28 09:21:06 UTC 2015

Error: Call to a member function setHeldItemSlot() on null File: /src/pocketmine/Player__64bit Line: 1775 Type: E_ERROR

Code: [1766] if($ev->isCancelled()){ [1767] $this->close($this->getLeaveMessage(), $ev->getKickMessage()); [1768] [1769] break; [1770] } [1771] [1772] if($this->isCreative()){ [1773] $this->inventory->setHeldItemSlot(0); [1774] }else{ [1775] $this->inventory->setHeldItemSlot(0); [1776] } [1777] [1778] $pk = new PlayStatusPacket(); [1779] $pk->status = PlayStatusPacket::LOGIN_SUCCESS; [1780] $this->dataPacket($pk->setChannel(Network::CHANNEL_PRIORITY)); [1781] [1782] if($this->spawnPosition === \null and isset($this->namedtag->SpawnLevel) and ($level = $this->server->getLevelByName($this->namedtag["SpawnLevel"])) instanceof Level){ [1783] $this->spawnPosition = new Position($this->namedtag["SpawnX"], $this->namedtag["SpawnY"], $this->namedtag["SpawnZ"], $level); [1784] } [1785]

Backtrace:

0 (): pocketmine\Server->crashDump()

PocketMine-MP version: 1.5dev #1254 [Protocol 27; API 1.12.0] Git commit: 0000000000000000000000000000000000000000 uname -a: Linux sith 3.2.1-aafh #2 SMP Mon Dec 10 18:10:40 CET 2012 x86_64 PHP Version: 5.6.4 Zend version: 2.6.0 OS : Linux, linux

Loaded plugins: SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0 SafeCreative 1 by CreeperFace for API(s) 1.12.0 EssentialsPE 1.1.0 by LegendsOfMCPE Team for API(s) 1.12.0 KeepInventory 1.2.0 by boybook for API(s) 1.0.0 PocketGuard 2.1.1 by MinecrafterJPN for API(s) 1.10.0 PurePerms 1.1.1 by 64FF00 for API(s) 1.12.0 PocketMoney 4.0.1 by MinecrafterJPN, MinecrafterJPN for API(s) 1.10.0 SignPortal 1.1.2 by 99leonchang for API(s) 1.3.1 WorldEditArt 1.0.0_betadev#048 by PEMapModder for API(s) 1.0.0 VoteReward 2.1 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.0 iProtector 3.0 by LDX for API(s) 1.9.0 FC_Core 1.1 by CreeperFace for API(s) 1.12.0 ReasonWL 1 by CreeperFace for API(s) 1.12.0 SimpleMessages 1.2 by Dutok for API(s) 1.0.0 playerHack 1.0.0 by aliuly for API(s) 1.12.0 ChestShop 2.0.1 by MinecrafterJPN, MinecrafterJPN for API(s) 1.10.0 PocketJobs 2 by MinecrafterJPN for API(s) 1.10.0 PureChat 1.2.6 by 64FF00 for API(s) 1.11.0

ghost commented 9 years ago

It is already been reported. (#3229)