Last active
November 26, 2023 21:43
-
-
Save TheNewHEROBRINEX/516193c03a66332fede4cf126f20e8cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[21:32:55.659] [Server thread/WARNING]: Non-packaged installation detected. This will degrade autoloading speed and make startup times longer. | |
[21:32:55.664] [Server thread/INFO]: Loading server configuration | |
[21:32:55.674] [Server thread/INFO]: Selected English (eng) as the base language | |
[21:32:55.674] [Server thread/WARNING]: ---------------------------------------- | |
[21:32:55.674] [Server thread/WARNING]: You are running a PocketMine-MP DEVELOPMENT build. | |
[21:32:55.674] [Server thread/WARNING]: The API for this version may not be finalized. Plugins which run on this build may not work on other builds with the same API version. | |
[21:32:55.674] [Server thread/WARNING]: The build may have bugs, crash, corrupt your data, or break your plugins. | |
[21:32:55.674] [Server thread/WARNING]: ---------------------------------------- | |
[21:32:55.676] [Server thread/INFO]: Starting Minecraft: Bedrock Edition server version v1.20.40 | |
[21:32:55.677] [Server thread/INFO]: Online mode is enabled. The server will verify that players are authenticated to Xbox Live. | |
[21:32:55.683] [Server thread/INFO]: This server is running PocketMine-MP version 5.8.3+dev | |
[21:32:55.683] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License | |
[21:32:55.889] [Server thread/INFO]: Loading resource packs... | |
[21:32:55.898] [Server thread/INFO]: Loading DevTools v1.17.1 | |
[21:32:55.901] [Server thread/INFO]: [DevTools] Registered folder plugin loader | |
[21:32:55.901] [Server thread/INFO]: Loading NullComplexDataTest v1.0.0 | |
[21:32:55.901] [Server thread/INFO]: Enabling DevTools v1.17.1 | |
[21:32:55.970] [Server thread/INFO]: Preparing world "world" | |
[21:32:55.987] [Server thread/INFO]: Enabling NullComplexDataTest v1.0.0 | |
[21:32:56.142] [Server thread/INFO]: Minecraft network interface running on 0.0.0.0:19132 | |
[21:32:56.142] [Server thread/INFO]: GS4 Query listener running on 0.0.0.0:19132 | |
[21:32:56.143] [Server thread/INFO]: Minecraft network interface running on [::]:19133 | |
[21:32:56.143] [Server thread/INFO]: GS4 Query listener running on [::]:19133 | |
[21:32:56.143] [Server thread/INFO]: Default game type: Survival Mode | |
[21:32:56.143] [Server thread/INFO]: If you find this project useful, please consider donating to support development: https://patreon.com/pocketminemp | |
[21:32:56.143] [Server thread/INFO]: Done (0.481s)! For help, type "help" or "?" | |
[21:32:56.153] [Server thread/NOTICE]: Stored value is: null | |
[21:32:56.205] [Server thread/INFO]: Disabling DevTools v1.17.1 | |
[21:32:56.205] [Server thread/INFO]: Disabling NullComplexDataTest v1.0.0 | |
[21:32:56.206] [Server thread/INFO]: Unloading world "world" | |
[21:33:00.642] [Server thread/INFO]: Stopping other threads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[21:33:14.359] [Server thread/WARNING]: Non-packaged installation detected. This will degrade autoloading speed and make startup times longer. | |
[21:33:14.363] [Server thread/INFO]: Loading server configuration | |
[21:33:14.374] [Server thread/INFO]: Selected English (eng) as the base language | |
[21:33:14.374] [Server thread/WARNING]: ---------------------------------------- | |
[21:33:14.374] [Server thread/WARNING]: You are running a PocketMine-MP DEVELOPMENT build. | |
[21:33:14.374] [Server thread/WARNING]: The API for this version may not be finalized. Plugins which run on this build may not work on other builds with the same API version. | |
[21:33:14.374] [Server thread/WARNING]: The build may have bugs, crash, corrupt your data, or break your plugins. | |
[21:33:14.374] [Server thread/WARNING]: ---------------------------------------- | |
[21:33:14.375] [Server thread/INFO]: Starting Minecraft: Bedrock Edition server version v1.20.40 | |
[21:33:14.376] [Server thread/INFO]: Online mode is enabled. The server will verify that players are authenticated to Xbox Live. | |
[21:33:14.383] [Server thread/INFO]: This server is running PocketMine-MP version 5.8.3+dev | |
[21:33:14.383] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License | |
[21:33:14.590] [Server thread/INFO]: Loading resource packs... | |
[21:33:14.599] [Server thread/INFO]: Loading DevTools v1.17.1 | |
[21:33:14.602] [Server thread/INFO]: [DevTools] Registered folder plugin loader | |
[21:33:14.602] [Server thread/INFO]: Loading NullComplexDataTest v1.0.0 | |
[21:33:14.602] [Server thread/INFO]: Enabling DevTools v1.17.1 | |
[21:33:14.670] [Server thread/INFO]: Preparing world "world" | |
[21:33:14.689] [Server thread/INFO]: Enabling NullComplexDataTest v1.0.0 | |
[21:33:14.848] [Server thread/INFO]: Minecraft network interface running on 0.0.0.0:19132 | |
[21:33:14.848] [Server thread/INFO]: GS4 Query listener running on 0.0.0.0:19132 | |
[21:33:14.849] [Server thread/INFO]: Minecraft network interface running on [::]:19133 | |
[21:33:14.849] [Server thread/INFO]: GS4 Query listener running on [::]:19133 | |
[21:33:14.849] [Server thread/INFO]: Default game type: Survival Mode | |
[21:33:14.849] [Server thread/INFO]: If you find this project useful, please consider donating to support development: https://patreon.com/pocketminemp | |
[21:33:14.849] [Server thread/INFO]: Done (0.487s)! For help, type "help" or "?" | |
[21:33:14.860] [Server thread/CRITICAL]: InvalidArgumentException: "No matching thread-local data found on this thread" (EXCEPTION) in "pmsrc/src/scheduler/AsyncTask" at line 234 | |
--- Stack trace --- | |
#0 plugins/NullComplexDataTest(28): pocketmine\scheduler\AsyncTask->fetchLocal(string[4] null) | |
#1 pmsrc/src/scheduler/AsyncPool(280): pocketmine\scheduler\AsyncTask@anonymous/home/luca/Desktop/PocketMine-MP/plugins/NullComplexDataTest.php:19$24f->onCompletion() | |
#2 pmsrc/src/timings/TimingsHandler(198): pocketmine\scheduler\AsyncPool->pocketmine\scheduler\{closure}() | |
#3 pmsrc/src/scheduler/AsyncPool(279): pocketmine\timings\TimingsHandler->time(object Closure#170837) | |
#4 pmsrc/src/scheduler/AsyncPool(241): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(int 1) | |
#5 pmsrc/src/Server(1803): pocketmine\scheduler\AsyncPool->collectTasks() | |
#6 pmsrc/src/Server(1688): pocketmine\Server->tick() | |
#7 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor() | |
#8 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[33] /home/luca/Desktop/PocketMine-MP/, string[41] /home/luca/Desktop/PocketMine-MP/plugins/) | |
#9 pmsrc/src/PocketMine(364): pocketmine\server() | |
--- End of exception information --- | |
[21:33:14.860] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump | |
[21:33:14.862] [Server thread/EMERGENCY]: Please upload the "/home/luca/Desktop/PocketMine-MP/crashdumps/Sun_Nov_26-21.33.14-UTC_2023.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can. | |
[21:33:18.708] [Server thread/EMERGENCY]: The crash dump has been automatically submitted to the Crash Archive. You can view it on https://crash.pmmp.io/view/9675663 or use the ID #9675663. | |
[21:33:18.709] [Server thread/EMERGENCY]: Forcing server shutdown | |
[21:33:18.709] [Server thread/INFO]: Disabling DevTools v1.17.1 | |
[21:33:18.709] [Server thread/INFO]: Disabling NullComplexDataTest v1.0.0 | |
[21:33:18.710] [Server thread/INFO]: Unloading world "world" | |
--- Waiting 116 seconds to throttle automatic restart (you can kill the process safely now) --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
/** | |
* @name NullComplexDataTest | |
* @author TheNewHEROBRINE | |
* @version 1.0.0 | |
* @api 5.0.0 | |
* @main TheNewHEROBRINE\NullComplexDataTest\Main | |
*/ | |
namespace TheNewHEROBRINE\NullComplexDataTest; | |
use pocketmine\Server; | |
use function get_debug_type; | |
class Main extends \pocketmine\plugin\PluginBase{ | |
public function onEnable() : void{ | |
$this->getServer()->getAsyncPool()->submitTask(new class extends \pocketmine\scheduler\AsyncTask{ | |
public function __construct(){ | |
$this->storeLocal("null", null); | |
} | |
public function onRun() : void{ | |
} | |
public function onCompletion() : void{ | |
Server::getInstance()->getLogger()->notice("Stored value is: " . get_debug_type($this->fetchLocal("null"))); | |
Server::getInstance()->shutdown(); | |
} | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment