Closed teracube closed 5 years ago
another crash today but on PMMP 3.5.1 but i don't know why
https://poggit.pmmp.io/r/47375/TeaSpoon_dev-262.phar https://jenkins.pmmp.io/job/PocketMine-MP/1722/artifact/PocketMine-MP.phar
2018-12-15 [14:45:53] [Server thread/CRITICAL]: Error: "Call to a member function getBlock() on null" (EXCEPTION) in "TeaSpoon_dev-262.phar/src/CortexPE/utils/EntityUtils" at line 82
2018-12-15 [14:45:53] [Server thread/DEBUG]: #0 TeaSpoon_dev-262.phar/src/CortexPE/Utils(148): CortexPE\utils\EntityUtils::isInsideOfEndPortal(pocketmine\Player object)
2018-12-15 [14:45:53] [Server thread/DEBUG]: #1 TeaSpoon_dev-262.phar/src/CortexPE/task/DelayedCrossDimensionTeleportTask(69): CortexPE\Utils::isDelayedTeleportCancellable(pocketmine\Player object, integer 0)
2018-12-15 [14:45:53] [Server thread/DEBUG]: #2 src/pocketmine/scheduler/TaskHandler(159): CortexPE\task\DelayedCrossDimensionTeleportTask->onRun(integer 766487)
2018-12-15 [14:45:53] [Server thread/DEBUG]: #3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 766487)
2018-12-15 [14:45:53] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(665): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 766487)
2018-12-15 [14:45:53] [Server thread/DEBUG]: #5 src/pocketmine/Server(2522): pocketmine\plugin\PluginManager->tickSchedulers(integer 766487)
2018-12-15 [14:45:53] [Server thread/DEBUG]: #6 src/pocketmine/Server(2275): pocketmine\Server->tick()
2018-12-15 [14:45:53] [Server thread/DEBUG]: #7 src/pocketmine/Server(2139): pocketmine\Server->tickProcessor()
2018-12-15 [14:45:53] [Server thread/DEBUG]: #8 src/pocketmine/Server(1715): pocketmine\Server->start()
2018-12-15 [14:45:53] [Server thread/DEBUG]: #9 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
2018-12-15 [14:45:53] [Server thread/DEBUG]: #10 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2018-12-15 [14:45:53] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
2018-12-15 [14:45:53] [Server thread/EMERGENCY]: Please upload the "/home/myserver/crashdumps/Sat_Dec_15-14.45.53-CET_2018.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
PocketMine-MP Crash Dump Sat Dec 15 14:45:53 CET 2018
Error: Call to a member function getBlock() on null
File: TeaSpoon_dev-262.phar/src/CortexPE/utils/EntityUtils
Line: 82
Type: Error
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: TeaSpoon v1.0.1
Code:
[73] $block = $entity->getLevel()->getBlock($entity->floor());
[74] if($block instanceof Portal){
[75] return true;
[76] }
[77]
[78] return false;
[79] }
[80]
[81] public static function isInsideOfEndPortal(Entity $entity): bool{
[82] $block = $entity->getLevel()->getBlock($entity);
[83] if($block instanceof EndPortal){
[84] return true;
[85] }
[86]
[87] return false;
[88] }
[89]
[90] // Creds: Altay
[91] public static function mountEntity(Entity $vehicle, Entity $entity, int $type = EntityLink::TYPE_RIDER, bool $send = true): void{
[92] if(!isset(self::$ridingEntity[$entity->getId()]) and $entity !== $vehicle){
Backtrace:
#0 TeaSpoon_dev-262.phar/src/CortexPE/Utils(148): CortexPE\utils\EntityUtils::isInsideOfEndPortal(pocketmine\Player object)
#1 TeaSpoon_dev-262.phar/src/CortexPE/task/DelayedCrossDimensionTeleportTask(69): CortexPE\Utils::isDelayedTeleportCancellable(pocketmine\Player object, integer 0)
#2 src/pocketmine/scheduler/TaskHandler(159): CortexPE\task\DelayedCrossDimensionTeleportTask->onRun(integer 766487)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 766487)
#4 src/pocketmine/plugin/PluginManager(665): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 766487)
#5 src/pocketmine/Server(2522): pocketmine\plugin\PluginManager->tickSchedulers(integer 766487)
#6 src/pocketmine/Server(2275): pocketmine\Server->tick()
#7 src/pocketmine/Server(2139): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1715): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver4/, string /home/myserver4/plugins/)
#10 /home/myserver4/PocketMine-MP.phar(1): require(string phar:///home/myserver4/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
PocketMine-MP version: 3.5.1 [Protocol 313]
Git commit: b42132a7c36903608008697b38d96ed026db3ab3
uname -a: Linux g1 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64
PHP Version: 7.2.9
Zend version: 3.2.0
OS : Linux, linux
@CortexPE
see commandlook log . crash occured after tp accept
https://jenkins.pmmp.io/job/PocketMine-MP/1738/artifact/PocketMine-MP.phar https://poggit.pmmp.io/r/48054/TeaSpoon_dev-265.phar
2019-01-29 [21:27:27] [Server thread/INFO]: [Commandlook] Ghowra> /tpa zNaPsL
2019-01-29 [21:27:29] [Server thread/INFO]: [Commandlook] zNaPsL> /tpaccept
2019-01-29 [21:27:29] [Server thread/CRITICAL]: Error: "Call to a member function getBlock() on null" (EXCEPTION) in "plugins/TeaSpoon_dev-265.phar/src/CortexPE/utils/EntityUtils" at line 82
2019-01-29 [21:27:29] [Server thread/DEBUG]: #0 plugins/TeaSpoon_dev-265.phar/src/CortexPE/Utils(148): CortexPE\utils\EntityUtils::isInsideOfEndPortal(pocketmine\Player object)
2019-01-29 [21:27:29] [Server thread/DEBUG]: #1 plugins/TeaSpoon_dev-265.phar/src/CortexPE/task/DelayedCrossDimensionTeleportTask(69): CortexPE\Utils::isDelayedTeleportCancellable(pocketmine\Player object, integer 0)
2019-01-29 [21:27:29] [Server thread/DEBUG]: #2 src/pocketmine/scheduler/TaskHandler(159): CortexPE\task\DelayedCrossDimensionTeleportTask->onRun(integer 1084684)
2019-01-29 [21:27:29] [Server thread/DEBUG]: #3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1084684)
2019-01-29 [21:27:29] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1084684)
2019-01-29 [21:27:29] [Server thread/DEBUG]: #5 src/pocketmine/Server(2591): pocketmine\plugin\PluginManager->tickSchedulers(integer 1084684)
2019-01-29 [21:27:29] [Server thread/DEBUG]: #6 src/pocketmine/Server(2346): pocketmine\Server->tick()
2019-01-29 [21:27:29] [Server thread/DEBUG]: #7 src/pocketmine/Server(2209): pocketmine\Server->tickProcessor()
2019-01-29 [21:27:29] [Server thread/DEBUG]: #8 src/pocketmine/Server(1785): pocketmine\Server->start()
2019-01-29 [21:27:29] [Server thread/DEBUG]: #9 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
2019-01-29 [21:27:29] [Server thread/DEBUG]: #10 (1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2019-01-29 [21:27:29] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
2019-01-29 [21:27:29] [Server thread/EMERGENCY]: Please upload the "/home/myserver/crashdumps/Tue_Jan_29-21.27.29-CET_2019.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
PocketMine-MP Crash Dump Tue Jan 29 21:27:29 CET 2019
Error: Call to a member function getBlock() on null
File: plugins/TeaSpoon_dev-265.phar/src/CortexPE/utils/EntityUtils
Line: 82
Type: Error
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: TeaSpoon v1.0.1
Code:
[73] $block = $entity->getLevel()->getBlock($entity->floor());
[74] if($block instanceof Portal){
[75] return true;
[76] }
[77]
[78] return false;
[79] }
[80]
[81] public static function isInsideOfEndPortal(Entity $entity): bool{
[82] $block = $entity->getLevel()->getBlock($entity);
[83] if($block instanceof EndPortal){
[84] return true;
[85] }
[86]
[87] return false;
[88] }
[89]
[90] // Creds: Altay
[91] public static function mountEntity(Entity $vehicle, Entity $entity, int $type = EntityLink::TYPE_RIDER, bool $send = true): void{
[92] if(!isset(self::$ridingEntity[$entity->getId()]) and $entity !== $vehicle){
Backtrace:
#0 plugins/TeaSpoon_dev-265.phar/src/CortexPE/Utils(148): CortexPE\utils\EntityUtils::isInsideOfEndPortal(pocketmine\Player object)
#1 plugins/TeaSpoon_dev-265.phar/src/CortexPE/task/DelayedCrossDimensionTeleportTask(69): CortexPE\Utils::isDelayedTeleportCancellable(pocketmine\Player object, integer 0)
#2 src/pocketmine/scheduler/TaskHandler(159): CortexPE\task\DelayedCrossDimensionTeleportTask->onRun(integer 1084684)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1084684)
#4 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1084684)
#5 src/pocketmine/Server(2591): pocketmine\plugin\PluginManager->tickSchedulers(integer 1084684)
#6 src/pocketmine/Server(2346): pocketmine\Server->tick()
#7 src/pocketmine/Server(2209): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1785): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/)
#10 (1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
PocketMine-MP version: 3.5.7 [Protocol 313]
Git commit: 4b8e4123afb7ab0b0a9798c23a45e18d2a51c1c0
uname -a: Linux g1 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64
PHP Version: 7.2.9
Zend version: 3.2.0
OS : Linux, linux
crash server after player01 use sethome then player02 use /tpa player 01
2019-02-09 [18:37:28] [Server thread/INFO]: [Commandlook] ElPouulpy> /sethome o
2019-02-09 [18:37:29] [Server thread/INFO]: [Commandlook] Swaypii> /tpa elpouulpy
2019-02-09 [18:37:30] [Server thread/CRITICAL]: Error: "Call to a member function getBlock() on null" (EXCEPTION) in "plugins/TeaSpoon_dev-265.phar/src/CortexPE/utils/EntityUtils" at line 82
2019-02-09 [18:37:30] [Server thread/DEBUG]: #0 plugins/TeaSpoon_dev-265.phar/src/CortexPE/Utils(148): CortexPE\utils\EntityUtils::isInsideOfEndPortal(pocketmine\Player object)
2019-02-09 [18:37:30] [Server thread/DEBUG]: #1 plugins/TeaSpoon_dev-265.phar/src/CortexPE/task/DelayedCrossDimensionTeleportTask(69): CortexPE\Utils::isDelayedTeleportCancellable(pocketmine\Player object, integer 0)
2019-02-09 [18:37:30] [Server thread/DEBUG]: #2 src/pocketmine/scheduler/TaskHandler(159): CortexPE\task\DelayedCrossDimensionTeleportTask->onRun(integer 140833)
2019-02-09 [18:37:30] [Server thread/DEBUG]: #3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 140833)
2019-02-09 [18:37:30] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 140833)
2019-02-09 [18:37:30] [Server thread/DEBUG]: #5 src/pocketmine/Server(2591): pocketmine\plugin\PluginManager->tickSchedulers(integer 140833)
2019-02-09 [18:37:30] [Server thread/DEBUG]: #6 src/pocketmine/Server(2346): pocketmine\Server->tick()
2019-02-09 [18:37:30] [Server thread/DEBUG]: #7 src/pocketmine/Server(2209): pocketmine\Server->tickProcessor()
2019-02-09 [18:37:30] [Server thread/DEBUG]: #8 src/pocketmine/Server(1785): pocketmine\Server->start()
2019-02-09 [18:37:30] [Server thread/DEBUG]: #9 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/teracube/, string /home/teracube/plugins/)
2019-02-09 [18:37:30] [Server thread/DEBUG]: #10 (1): require(string phar:///home/teracube/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2019-02-09 [18:37:30] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
2019-02-09 [18:37:30] [Server thread/EMERGENCY]: Please upload the "/home/teracube/crashdumps/
PocketMine-MP Crash Dump Sat Feb 9 18:37:30 CET 2019
Error: Call to a member function getBlock() on null
File: plugins/TeaSpoon_dev-265.phar/src/CortexPE/utils/EntityUtils
Line: 82
Type: Error
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: TeaSpoon v1.0.1
Code:
[73] $block = $entity->getLevel()->getBlock($entity->floor());
[74] if($block instanceof Portal){
[75] return true;
[76] }
[77]
[78] return false;
[79] }
[80]
[81] public static function isInsideOfEndPortal(Entity $entity): bool{
[82] $block = $entity->getLevel()->getBlock($entity);
[83] if($block instanceof EndPortal){
[84] return true;
[85] }
[86]
[87] return false;
[88] }
[89]
[90] // Creds: Altay
[91] public static function mountEntity(Entity $vehicle, Entity $entity, int $type = EntityLink::TYPE_RIDER, bool $send = true): void{
[92] if(!isset(self::$ridingEntity[$entity->getId()]) and $entity !== $vehicle){
Backtrace:
#0 plugins/TeaSpoon_dev-265.phar/src/CortexPE/Utils(148): CortexPE\utils\EntityUtils::isInsideOfEndPortal(pocketmine\Player object)
#1 plugins/TeaSpoon_dev-265.phar/src/CortexPE/task/DelayedCrossDimensionTeleportTask(69): CortexPE\Utils::isDelayedTeleportCancellable(pocketmine\Player object, integer 0)
#2 src/pocketmine/scheduler/TaskHandler(159): CortexPE\task\DelayedCrossDimensionTeleportTask->onRun(integer 140833)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 140833)
#4 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 140833)
#5 src/pocketmine/Server(2591): pocketmine\plugin\PluginManager->tickSchedulers(integer 140833)
#6 src/pocketmine/Server(2346): pocketmine\Server->tick()
#7 src/pocketmine/Server(2209): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1785): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/teracube/, string /home/teracube/plugins/)
#10 (1): require(string phar:///home/teracube/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
PocketMine-MP version: 3.6.1 [Protocol 332]
Git commit: 51934614bc227a70a2d9630a4e7118412be85af3
uname -a: Linux g1 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64
PHP Version: 7.2.9
Zend version: 3.2.0
OS : Linux, linux
@CortexPE thanks
https://poggit.pmmp.io/r/46900/TeaSpoon_dev-259.phar and PMMP stable version 1.7.0 API 3.4.0 https://jenkins.pmmp.io/job/PocketMine-MP/1702/artifact/PocketMine-MP.phar