Johnmacrocraft / Newspaper

Add newspapers to your server!
https://github.com/Johnmacrocraft/Newspaper
GNU Lesser General Public License v3.0
9 stars 3 forks source link

Internal server error #8

Closed ghost closed 5 years ago

ghost commented 5 years ago

Issue description

It is an error when u buy one newspaper

Steps to reproduce the issue

  1. BUY 1 NEWSPAPER
  2. Nothing else

OS and versions

3.5.8

Crashdump, backtrace or other files

[10:02:36] [Server thread/DEBUG]: #0 plugins/Newspaper.phar/src/Johnmacrocraft/Newspaper/forms/BuyItemsListForm(87): Johnmacrocraft\Newspaper\Newspaper->getPublished(string hi, string InsaneMc is good.)
[10:02:36] [Server thread/DEBUG]: #1 plugins/Newspaper.phar/src/Johnmacrocraft/Newspaper/libs/dktapps/pmforms/CustomForm(119): Johnmacrocraft\Newspaper\forms\BuyItemsListForm->Johnmacrocraft\Newspaper\forms\{closure}(pocketmine\Player object, Johnmacrocraft\Newspaper\libs\dktapps\pmforms\CustomFormResponse object)
[10:02:36] [Server thread/DEBUG]: #2 src/pocketmine/Player(3446): Johnmacrocraft\Newspaper\libs\dktapps\pmforms\CustomForm->handleResponse(pocketmine\Player object, array Array())
[10:02:36] [Server thread/DEBUG]: #3 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(258): pocketmine\Player->onFormSubmit(integer 32, array Array())
[10:02:36] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)
[10:02:36] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[10:02:36] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/BatchPacket(119): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)
[10:02:36] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[10:02:36] [Server thread/DEBUG]: #8 src/pocketmine/Player(3110): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[10:02:36] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/RakLibInterface(170): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[10:02:36] [Server thread/DEBUG]: #10 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 223.17.189.195 59391, raklib\protocol\EncapsulatedPacket object, integer 0)
[10:02:36] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(110): raklib\server\ServerHandler->handlePacket()
[10:02:36] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(100): pocketmine\network\mcpe\RakLibInterface->process()
[10:02:36] [Server thread/DEBUG]: #13 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[10:02:36] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[10:02:36] [Server thread/DEBUG]: #15 src/pocketmine/Server(2349): pocketmine\snooze\SleeperHandler->sleepUntil(double 1549465356.3244)
[10:02:36] [Server thread/DEBUG]: #16 src/pocketmine/Server(2209): pocketmine\Server->tickProcessor()
[10:02:36] [Server thread/DEBUG]: #17 src/pocketmine/Server(1785): pocketmine\Server->start()
[10:02:36] [Server thread/DEBUG]: #18 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gs-40416/, string /home/gs-40416/plugins/)
[10:02:36] [Server thread/DEBUG]: #19 (1): require(string phar:///home/gs-40416/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[10:02:36] [Server thread/INFO]: Unloading level "is-0.10693100 1547988257"
[10:02:36] [Server thread/INFO]: INSANEIRON YT left the game
[10:02:36] [Server thread/INFO]: INSANEIRON YT[/***.***.***.***:\****\*] logged out due to Internal server error
[10:02:36] [RakLibServer thread/NOTICE]: Blocked ***.***.***.*** for 5 seconds
ghost commented 5 years ago

I’m your bug tester

Johnmacrocraft commented 5 years ago

I am unable to test this right now because my client crashes when I join the server. Can you download the latest dev build of the plugin and see if it still happens?

Johnmacrocraft commented 5 years ago

I am unable to reproduce this on the latest dev build, so I'm closing the issue. If you are still able to reproduce it on the latest dev build, please tell me so that I can reopen and fix this.

ghost commented 5 years ago

Ok, cheers, just I am hiring a server dev so if u are interested, feel free and ask :)

On Thu, 14 Feb 2019 at 11:20 PM, Johnmacro notifications@github.com wrote:

I am unable to reproduce this on the latest dev build, so I'm closing the issue. If you are still able to reproduce it on it, please tell me so that I can reopen and fix this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Johnmacrocraft/Newspaper/issues/8#issuecomment-463666163, or mute the thread https://github.com/notifications/unsubscribe-auth/AqrwGkQfmc_q3tLlP8cRQGY8mDNxYrz_ks5vNX6ygaJpZM4albix .