menu
#4583455 Return value of core\player\NexusPlayer::getDataSession() must be an instance of core\player\DataSession, null returned

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-10-18 02:17:51 +0000 UTC

System Information

PHP version: 7.3.23
Operating system: linux
System banner: Linux ns556347 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64

Error information

Warning: the NexusPrison plugin was directly involved in this crash. Please contact the plugin author.
Message: Return value of core\player\NexusPlayer::getDataSession() must be an instance of core\player\DataSession, null returned
File: plugins/NexusPrison.phar/src/core/player/NexusPlayer
Line: #171
Error level: TypeError
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
     */
public function isLoaded(): bool {
return $this->ceSession !== null and $this->dataSession !== null and $this->dataSession->isLoaded();
}

/**
* @return DataSession
*/
public function getDataSession(): DataSession {
return $this->dataSession;
}

/**
* @return Nexus
*/
public function getCore(): Nexus {
return $this->core;
}

/**
#0 plugins/NexusPrison.phar/src/core/player/PlayerListener(93): core\player\NexusPlayer->getDataSession()
#1 src/pocketmine/plugin/MethodEventExecutor(42): core\player\PlayerListener->onPlayerQuit(object pocketmine\event\player\PlayerQuitEvent)
#2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object core\player\PlayerListener, object pocketmine\event\player\PlayerQuitEvent)
#3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerQuitEvent)
#4 src/pocketmine/Player(3643): pocketmine\event\Event->call()
#5 src/pocketmine/network/mcpe/RakLibInterface(176): pocketmine\Player->close(object pocketmine\lang\TranslationContainer, string[21] Internal server error)
#6 vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 24.60.200.60 54601, object raklib\protocol\EncapsulatedPacket, integer 0)
#7 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
#8 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
#9 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
#10 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#11 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1602987471.7956)
#12 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#13 src/pocketmine/Server(1588): pocketmine\Server->start()
#14 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[21] /home/servers/prison/, string[29] /home/servers/prison/plugins/)
#15 src/pocketmine/PocketMine(304): pocketmine\server()
#16 (11): require(string[76] phar:///home/servers/prison/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies