Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashdump #12

Closed
GamakCZ opened this issue Jul 15, 2019 · 0 comments
Closed

Crashdump #12

GamakCZ opened this issue Jul 15, 2019 · 0 comments

Comments

@GamakCZ
Copy link

GamakCZ commented Jul 15, 2019

PocketMine-MP` Crash Dump Mon Jul 15 21:13:07 CEST 2019

Error: Return value of pocketmine\entity\Entity::getId() must be of the type integer, null returned
File: src/pocketmine/entity/Entity
Line: 2014
Type: TypeError

A PLUGIN WAS INVOLVED IN THIS CRASH
BAD PLUGIN: SynapsePM v1.1.0

Code:
[2005]
[2006] $this->setLevel($targetLevel);
[2007] $this->level->addEntity($this);
[2008] $this->chunk = null;
[2009]
[2010] return true;
[2011] }
[2012]
[2013] public function getId() : int{
[2014] return $this->id;
[2015] }
[2016]
[2017] /**
[2018] * @return Player[]
[2019] /
[2020] public function getViewers() : array{
[2021] return $this->hasSpawned;
[2022] }
[2023]
[2024] /
*

Backtrace:
#0 src/pocketmine/Player(2951): pocketmine\entity\Entity->getId()
#1 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(198): pocketmine\Player->handleAdventureSettings(object pocketmine\network\mcpe\protocol\AdventureSettingsPacket)
#2 src/pocketmine/network/mcpe/protocol/AdventureSettingsPacket(120): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleAdventureSettings(object pocketmine\network\mcpe\protocol\AdventureSettingsPacket)
#3 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\AdventureSettingsPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
#4 src/pocketmine/Player(3124): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\AdventureSettingsPacket)
#5 plugins/SynapsePM/src/synapsepm/Player(95): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\AdventureSettingsPacket)
#6 plugins/SynapsePM/src/synapsepm/Synapse(285): synapsepm\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\AdventureSettingsPacket)
#7 plugins/SynapsePM/src/synapsepm/network/SynapseInterface(93): synapsepm\Synapse->handleDataPacket(object synapsepm\network\protocol\spp\RedirectPacket)
#8 plugins/SynapsePM/src/synapsepm/network/SynapseInterface(62): synapsepm\network\SynapseInterface->handlePacket(string[35] ..2p<........lHl...7...............)
#9 plugins/SynapsePM/src/synapsepm/Synapse(155): synapsepm\network\SynapseInterface->process()
#10 plugins/SynapsePM/src/synapsepm/Synapse(82): synapsepm\Synapse->tick()
#11 src/pocketmine/scheduler/TaskHandler(159): class@anonymous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants