menu
#6719082 Tried to calculate permissions on lenohhgg using null attachment

Submitted by PocketMine-MP 4.3.2

General information

Version: 4.3.2
Git commit: 755ca1af
Plugin involvement: Direct
Report date: 2022-05-14 08:03:51 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 2 seconds

System Information

PHP version: 8.0.17
Operating system: linux
System banner: Linux 151-248-125-231.cloudvps.regruhosting.ru 4.15.0-173-generic #182-Ubuntu SMP Fri Mar 18 15:53:46 UTC 2022 x86_64

Error information

Warning: the PurePerms plugin was directly involved in this crash. Please contact the plugin author.
Message: Tried to calculate permissions on lenohhgg using null attachment
File: plugins/PurePerms.phar/src/_64FF00/PurePerms/PurePerms
Line: #192
Error level: RuntimeException
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202

/**
* @param Player $player
* @return null|\pocketmine\permission\PermissionAttachment
*/
public function getAttachment(Player $player)
{
$uniqueId = $this->getValidUUID($player);
if(!isset($this->attachments[$uniqueId]))
throw new RuntimeException("Tried to calculate permissions on " . $player->getName() . " using null attachment");
return $this->attachments[$uniqueId];
}

/**
* @param $key
* @return null
*/
public function getConfigValue($key)
{
$value = $this->getConfig()->getNested($key);
#0 plugins/PurePerms.phar/src/_64FF00/PurePerms/PurePerms(558): _64FF00\PurePerms\PurePerms->getAttachment(object pocketmine\player\Player#126215)
#1 plugins/PurePerms.phar/src/_64FF00/PurePerms/PPListener(60): _64FF00\PurePerms\PurePerms->updatePermissions(object pocketmine\player\Player#126215, NULL )
#2 pmsrc/src/event/RegisteredListener(75): _64FF00\PurePerms\PPListener->onLevelChange(object pocketmine\event\entity\EntityTeleportEvent#144161)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\entity\EntityTeleportEvent#144161)
#4 pmsrc/src/entity/Entity(1424): pocketmine\event\Event->call()
#5 pmsrc/src/player/Player(2373): pocketmine\entity\Entity->teleport(object pocketmine\world\Position#144157, NULL , NULL )
#6 plugins/Npc/src/Nikson/Npc/Main(15526): pocketmine\player\Player->teleport(object pocketmine\world\Position#144157)
#7 pmsrc/src/event/RegisteredListener(75): Nikson\Npc\Main->joiG(object pocketmine\event\player\PlayerJoinEvent#126770)
#8 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent#126770)
#9 pmsrc/src/player/Player(831): pocketmine\event\Event->call()
#10 pmsrc/src/network/mcpe/NetworkSession(714): pocketmine\player\Player->doFirstSpawn()
#11 pmsrc/src/network/mcpe/NetworkSession(707): pocketmine\network\mcpe\NetworkSession->onClientSpawnResponse()
#12 pmsrc/src/network/mcpe/handler/SpawnResponsePacketHandler(44): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe\{closure}()
#13 pmsrc/vendor/pocketmine/bedrock-protocol/src/SetLocalPlayerAsInitializedPacket(42): pocketmine\network\mcpe\handler\SpawnResponsePacketHandler->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket#122085)
#14 pmsrc/src/network/mcpe/NetworkSession(398): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\handler\SpawnResponsePacketHandler#157351)
#15 pmsrc/src/network/mcpe/NetworkSession(361): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket#122085, string[2] q.)
#16 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[5] c*...)
#17 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 1, string[14] ...........:..)
#18 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#111001)
#19 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#20 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#21 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1652515431.9888)
#22 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#23 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[10] /root/pm4/, string[18] /root/pm4/plugins/)
#24 pmsrc/src/PocketMine(327): pocketmine\server()
#25 pmsrc(11): require(string[54] phar:///root/pm4/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show