menu
#2471416 Call to a member function getString() on null

Submitted by PocketMine-MP 3.8.0

General information

Version: 3.8.0
Git commit: 088fbf65
Plugin involvement: Indirect
Report date: 2019-06-12 15:22:31 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: linux
System banner: Linux v1762.prohosting24.de 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1 (2019-04-12) x86_64

Error information

Warning: the SynapsePM plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Call to a member function getString() on null
File: src/pocketmine/Player
Line: #2116
Error level: Error
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
		$ev = new PlayerLoginEvent($this, "Plugin reason");
$ev->call();
if($ev->isCancelled()){
$this->close($this->getLeaveMessage(), $ev->getKickMessage());

return;
}

if(!$this->hasValidSpawnPosition()){
if(($level = $this->server->getLevelByName($this->namedtag->getString("SpawnLevel", ""))) instanceof Level){
$this->spawnPosition = new Position($this->namedtag->getInt("SpawnX"), $this->namedtag->getInt("SpawnY"), $this->namedtag->getInt("SpawnZ"), $level);
}else{
$this->spawnPosition = $this->level->getSafeSpawn();
}
}

$spawnPosition = $this->getSpawn();

$pk = new StartGamePacket();
$pk->entityUniqueId = $this->id;
#0 plugins/SynapsePM-master/src/synapsepm/Player(224): pocketmine\Player->completeLoginSequence()
#1 src/pocketmine/Player(2091): synapsepm\Player->completeLoginSequence()
#2 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(125): pocketmine\Player->handleResourcePackClientResponse(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object)
#3 src/pocketmine/network/mcpe/protocol/ResourcePackClientResponsePacket(62): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleResourcePackClientResponse(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object)
#4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
#5 src/pocketmine/Player(3115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object)
#6 plugins/SynapsePM-master/src/synapsepm/Player(90): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object)
#7 plugins/SynapsePM-master/src/synapsepm/Synapse(285): synapsepm\Player->handleDataPacket(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object)
#8 plugins/SynapsePM-master/src/synapsepm/network/SynapseInterface(93): synapsepm\Synapse->handleDataPacket(synapsepm\network\protocol\spp\RedirectPacket object)
#9 plugins/SynapsePM-master/src/synapsepm/network/SynapseInterface(62): synapsepm\network\SynapseInterface->handlePacket(string ..6..c...S...n.V.......)
#10 plugins/SynapsePM-master/src/synapsepm/Synapse(155): synapsepm\network\SynapseInterface->process()
#11 plugins/SynapsePM-master/src/synapsepm/Synapse(82): synapsepm\Synapse->tick()
#12 src/pocketmine/scheduler/TaskHandler(159): [email protected]�/home/Lobby/plugins/SynapsePM-master/src/synapsepm/Synapse.php0x7fc03f81d8f9->onRun(integer 1260770)
#13 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1260770)
#14 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1260770)
#15 src/pocketmine/Server(2559): pocketmine\plugin\PluginManager->tickSchedulers(integer 1260770)
#16 src/pocketmine/Server(2335): pocketmine\Server->tick()
#17 src/pocketmine/Server(2196): pocketmine\Server->tickProcessor()
#18 src/pocketmine/Server(1775): pocketmine\Server->start()
#19 src/pocketmine/PocketMine(258): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/Lobby/, string /home/Lobby/plugins/)
#20 (1): require(string phar:///home/Lobby/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show