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

Plugin-sided crash #16

Open
Adam1609 opened this issue Mar 21, 2020 · 7 comments
Open

Plugin-sided crash #16

Adam1609 opened this issue Mar 21, 2020 · 7 comments

Comments

@Adam1609
Copy link

PureEntitiesX is causing crash because of this:

Return value of pocketmine\entity\Living::getArmorInventory() must be an instance of pocketmine\inventory\ArmorInventory, null returned

Can you try to fix it in order to work properly? Plugin is great btw

@Adam1609
Copy link
Author

Adam1609 commented Mar 23, 2020

Crashdump

[23:26:27] [Server thread/CRITICAL]: Error: "Call to a member function getContents() on null" (EXCEPTION) in "src/pocketmine/entity/Living" at line 402
[23:26:27] [Server thread/DEBUG]: #0 src/pocketmine/entity/Living(436): pocketmine\entity\Living->getArmorPoints()
[23:26:27] [Server thread/DEBUG]: #1 src/pocketmine/entity/Human(677): pocketmine\entity\Living->applyDamageModifiers(object pocketmine\event\entity\EntityDamageByEntityEvent)
[23:26:27] [Server thread/DEBUG]: #2 src/pocketmine/entity/Living(528): pocketmine\entity\Human->applyDamageModifiers(object pocketmine\event\entity\EntityDamageByEntityEvent)
[23:26:27] [Server thread/DEBUG]: #3 src/pocketmine/Player(3685): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
[23:26:27] [Server thread/DEBUG]: #4 plugins/BossPlugin.phar/src/hmmhmmmm/boss/entity/walk/BossZombie(39): pocketmine\Player->attack(object pocketmine\event\entity\EntityDamageByEntityEvent)
[23:26:27] [Server thread/DEBUG]: #5 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(72): hmmhmmmm\boss\entity\walk\BossZombie->attackEntity(object pocketmine\Player)
[23:26:27] [Server thread/DEBUG]: #6 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(198): revivalpmmp\pureentities\entity\monster\WalkingMonster->checkAndAttackEntity(object pocketmine\Player)
[23:26:27] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(841): revivalpmmp\pureentities\entity\monster\WalkingMonster->onUpdate(integer 3881)
[23:26:27] [Server thread/DEBUG]: #8 src/pocketmine/level/Level(774): pocketmine\level\Level->actuallyDoTick(integer 3881)
[23:26:27] [Server thread/DEBUG]: #9 src/pocketmine/Server(2255): pocketmine\level\Level->doTick(integer 3881)
[23:26:27] [Server thread/DEBUG]: #10 src/pocketmine/Server(2386): pocketmine\Server->checkTickUpdates(integer 3881, double 1584948387.6077)
[23:26:27] [Server thread/DEBUG]: #11 src/pocketmine/Server(2142): pocketmine\Server->tick()
[23:26:27] [Server thread/DEBUG]: #12 src/pocketmine/Server(1989): pocketmine\Server->tickProcessor()
[23:26:27] [Server thread/DEBUG]: #13 src/pocketmine/Server(1583): pocketmine\Server->start()
[23:26:27] [Server thread/DEBUG]: #14 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[42] C:\Users\Administrator\Desktop\Skyblock 2\, string[50] C:\Users\Administrator\Desktop\Skyblock 2\plugins\)
[23:26:27] [Server thread/DEBUG]: #15 src/pocketmine/PocketMine(297): pocketmine\server()

@HmmHmmmm still this error

@HmmHmmmm
Copy link
Owner

Does this bug occur often?

@Adam1609
Copy link
Author

I ran for about 2 hours straight and suddenly get this crash. I don't know how but when i reopened it again, it crash after 15 min with the same crash

@HmmHmmmm
Copy link
Owner

@Adam1609 you use what version bossplugin and pocketmine and bug many times or not?

@Adam1609
Copy link
Author

I am using 3.20, and pocketmine 3.11.5

@HmmHmmmm
Copy link
Owner

I'm not sure if it has real bugs or not. If someone reports a bug like you I will fix this bug.

@Adam1609
Copy link
Author

It seems that the plugin's fault. I spawn the monster spawner too and it affects a lot. So I remove the monster spawner farm and it's fine. We should wait until they actually fix this plugin or you should fix the PureEntitiesX plugin to compatible with your plugin

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

No branches or pull requests

2 participants