pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.26k stars 1.54k forks source link

i cannot reproduce this - internal server error #3673

Closed jaylac2000 closed 4 years ago

jaylac2000 commented 4 years ago

[09:23:38] [Server thread/CRITICAL]: pocketmine\utils\AssumptionFailedError: "Position world is null" (EXCEPTION) in "src/pocketmine/level/Position" at line 83 [09:23:38] [Server thread/DEBUG]: #0 src/pocketmine/Player(3805): pocketmine\level\Position->getLevelNonNull() [09:23:38] [Server thread/DEBUG]: #1 src/pocketmine/Player(1101): pocketmine\Player->respawn() [09:23:38] [Server thread/DEBUG]: #2 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(315): pocketmine\Player->doFirstSpawn() [09:23:38] [Server thread/DEBUG]: #3 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket) [09:23:38] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [09:23:38] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket) [09:23:38] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [09:23:38] [Server thread/DEBUG]: #7 src/pocketmine/Player(3235): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [09:23:38] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [09:23:38] [Server thread/DEBUG]: #9 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 2.120.61.211 42832, object raklib\protocol\EncapsulatedPacket, integer 0) [09:23:38] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [09:23:38] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [09:23:38] [Server thread/DEBUG]: #12 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [09:23:38] [Server thread/DEBUG]: #13 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [09:23:38] [Server thread/DEBUG]: #14 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1593768218.9415) [09:23:38] [Server thread/DEBUG]: #15 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor() [09:23:38] [Server thread/DEBUG]: #16 src/pocketmine/Server(1588): pocketmine\Server->start() [09:23:38] [Server thread/DEBUG]: #17 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/) [09:23:38] [Server thread/DEBUG]: #18 src/pocketmine/PocketMine(304): pocketmine\server()

dktapps commented 4 years ago

Without knowing your PocketMine-MP version, OS, PHP, Client version, or plugins and how the issue occurred, the issue cannot begin to be solved. A pre-formatted template is provided that shows the required information to begin to find, test and solve an issue. Until the adequate template and information is provided, the issue will be closed; it may be reopened if you update the ticket with the correct template and required information.

Contribution guidelines

jaylac2000 commented 4 years ago

1.16.0 latest release to pocketmine you have done, none of it is caused by my plugins

janiiik commented 4 years ago

@dktapps May I just reopen this so not creating new one... I have same issue. I see this happening in some situations when player jump into the void. (but not all the time, some void is ok some not, not sure why), and also recently when removing slapper with /slapper remove, without ID and then hitting slapper by hand. slapper will be removed but player will be kicked of server with same error. Pocketmine-mp.phar used from default scalacube.net upgrade. const NAME = "PocketMine-MP"; const BASE_VERSION = "3.14.0"; const IS_DEVELOPMENT_BUILD = false; const BUILD_NUMBER = 1809;

slapper used https://github.com/XenoServers/Slapper/releases/tag/1.5.4

dktapps commented 4 years ago

This is not a plugin support forum.

none of it is caused by my plugins

I don't care if you think it isn't. That's my job to assess.

janiiik commented 4 years ago

When this type of error occures player is unable to login back to the server until player.dat file is removed or edited with NBTExplorer, changing Helath:0 to Health:20, player is able to log into the game again.

janiiik commented 4 years ago

oh, sorry did not ment to ask sillyquestions here, was just trying to report bug that looks like could be caused by pocketmine-mp.phar... sorry for that mate.

janiiik commented 4 years ago

maybe it is by mspawns... ok sorry once again..

jaylac2000 commented 4 years ago

well here ya go than - AutoClearLagg v3.1.0, PiggyCustomEnchants v2.3.0, ModerationSystem v1.7.1, VanillaEnchantments v4.0.1, PlayerVaults v3.2.3, EconomyAPI v5.7.2, MysteryCrate v9.1.1, WorldProtect v2.3.8, VanishV2 v1.8, BuilderTools v1.2.0-beta2, TopVoter v3.2.0, ScoreHud v5.1.1, WorldGuard v1.1.0,BurgerSpawners v0.1.1, Tebex-PMMP v2.1.0, PurePerms v1.4.2-c2a, Worlds v3.0.3, ApolloMasks v1.0.0, PiggyShopUI v2.0.3, PiggyCustomEnchantsShop v1.3.3, AdvancedKits v5.3.0, AutoRestart v1, LessIsMore v1.1.0, PCEBookShop v1.0.2, ApolloMCPE v2.1.5, PiggyFactions v1.1.0, AuctionHouse v1, PureChat v1.4.11

jaylac2000 commented 4 years ago

@dktapps ^

@janiiik its not from void, its on a factions server

janiiik commented 4 years ago

leave it jay, lets try to create new server without any plugins, reproduce issue and then report... because it really could be any plugin causing this... pinging him will not help at all :)