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

[BUG:] Crash when trying to go to warp #46

Closed
MrBlasyMSK opened this issue Apr 4, 2022 · 1 comment
Closed

[BUG:] Crash when trying to go to warp #46

MrBlasyMSK opened this issue Apr 4, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@MrBlasyMSK
Copy link
Contributor

MrBlasyMSK commented Apr 4, 2022

Bug: Crash when trying to go to warp

Informations

theSpawn Version: [1.8.0-dev]
Server-OS: [linux
PHP Version: [8.0.17]
PocketMine-MP Version: [4.2.6]

Error

PocketMine-MP Crash Dump Mon Apr 4 13:09:25 UTC 2022

PocketMine-MP version: 4.2.6 [Protocol 486]
Git commit: 26aee7ff73a982dd45abf8184c715f290ce23fdb
PHP version: 8.0.17
OS: Linux, linux

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: FormAPI

Error: jojoe77777\FormAPI\SimpleForm::addButton(): Argument #3 ($imagePath) must be of type string, null given, called in /home/container/plugins/theSpawn-development/src/supercrafter333/theSpawn/Forms/WarpForms.php on line 47
File: plugins/FormAPI_dev-1.phar/src/jojoe77777/FormAPI/SimpleForm
Line: 77
Type: TypeError
Backtrace:
#0 plugins/theSpawn-development/src/supercrafter333/theSpawn/Forms/WarpForms(47): jojoe77777\FormAPI\SimpleForm->addButton(string[39] ..b....r...7clic para teletransportarse, integer -1, NULL , string[2] ..)
#1 plugins/theSpawn-development/src/supercrafter333/theSpawn/Commands/WarpCommand(54): supercrafter333\theSpawn\Forms\WarpForms->open(object pocketmine\player\Player#645653)
#2 pmsrc/src/command/SimpleCommandMap(220): supercrafter333\theSpawn\Commands\WarpCommand->execute(object pocketmine\player\Player#645653, string[4] warp, array[0])
#3 pmsrc/src/Server(1408): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#645653, string[4] warp)
#4 pmsrc/src/player/Player(1396): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#645653, string[4] warp)
#5 pmsrc/src/network/mcpe/handler/InGamePacketHandler(760): pocketmine\player\Player->chat(string[5] /warp)
#6 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#671649)
#7 pmsrc/src/network/mcpe/NetworkSession(397): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object CLADevs\VanillaX\network\InGamePacketHandlerX#664451)
#8 pmsrc/src/network/mcpe/NetworkSession(360): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#671649, string[26] M./warp..G.k..u9..........)
#9 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[30] ..e./O,*`...;...R...}....v30..)
#10 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[39] ...8\_P.........N.Y.-......u<|......?..)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#579657)
#12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#13 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#14 pmsrc/src/Server(1660): pocketmine\snooze\SleeperHandler->sleepUntil(double 1649077765.0804)
#15 pmsrc/src/Server(1046): pocketmine\Server->tickProcessor()
#16 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#17 pmsrc/src/PocketMine(327): pocketmine\server()
#18 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

readjustment instructions

[I've done...]
[1. Create 2 warps]
[2. Then rename them (in my case, ñ and ññ)]
[3. Use /warp]
[4. Crash]

fix suggestions [optional]

X

@MrBlasyMSK MrBlasyMSK added the bug Something isn't working label Apr 4, 2022
@MrBlasyMSK
Copy link
Contributor Author

No need to rename it, if u create it and then use /warp it crash

supercrafter333 added a commit that referenced this issue Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants