SOF3 / Capital

An extensible economy API for PocketMine-MP.
Apache License 2.0
36 stars 6 forks source link

Capital does not work with libasynql 4.1.1 #56

Open Nerahikada opened 2 years ago

Nerahikada commented 2 years ago

The development build from the 156th in poggit does not work

 [Server thread/CRITICAL]: SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\AwaitException: "Unhandled async exception: SOFe\Capital\Loader\Loader took more than 5 seconds to initialize (blocking classes: SOFe\Capital\Loader\Loader, SOFe\Capital\Transfer\Mod, SOFe\Capital\Capital, SOFe\Capital\Database\Database, SOFe\Capital\Analytics\Mod, SOFe\Capital\Analytics\Single\Mod, SOFe\Capital\Analytics\Top\Mod, SOFe\Capital\Analytics\Top\DatabaseUtils, SOFe\Capital\Migration\Mod, SOFe\Capital\Migration\DatabaseUtils)" (EXCEPTION) in "plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_58655cc4/SOFe/AwaitGenerator/Await" at line 497
--- Stack trace ---
  #0 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_58655cc4/SOFe/AwaitGenerator/Await(244): SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\Await->reject(object RuntimeException#26410)
  #1 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_58655cc4/SOFe/AwaitGenerator/Await(227): SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\Await->wakeup(object Closure#26400)
  #2 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_58655cc4/SOFe/AwaitGenerator/Await(454): SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#26400)
  #3 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_58655cc4/SOFe/AwaitGenerator/AwaitChild(63): SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\AwaitChild#26327)
  #4 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/Mutex(42): SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\AwaitChild->reject(object RuntimeException#26410)
  #5 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(461): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\Mutex->SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\{closure}(object RuntimeException#26410)
  #6 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(217): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->reject(object RuntimeException#26410)
  #7 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(200): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->wakeup(object Closure#21895)
  #8 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(403): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#21895)
  #9 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/AwaitChild(52): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\AwaitChild#26414)
  #10 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(189): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\AwaitChild->resolve(array[2])
  #11 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(472): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await::SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\{closure}(null)
  #12 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(247): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->resolve(null)
  #13 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(224): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->wakeup(object Closure#25171)
  #14 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(456): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#25171)
  #15 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/AwaitChild(52): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\AwaitChild#26420)
  #16 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/AwaitStd(38): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\AwaitChild->resolve()
  #17 pmsrc/src/scheduler/ClosureTask(57): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\AwaitStd->SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\{closure}()
  #18 pmsrc/src/scheduler/TaskHandler(123): pocketmine\scheduler\ClosureTask->onRun()
  #19 pmsrc/src/scheduler/TaskScheduler(141): pocketmine\scheduler\TaskHandler->run()
  #20 pmsrc/src/plugin/PluginManager(498): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(int 101)
  #21 pmsrc/src/Server(1815): pocketmine\plugin\PluginManager->tickSchedulers(int 101)
  #22 pmsrc/src/Server(1704): pocketmine\Server->tick()
  #23 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
  #24 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[8] C:\pmmp\, string[16] C:\pmmp\plugins\)
  #25 pmsrc/src/PocketMine(328): pocketmine\server()
  #26 pmsrc(11): require(string[52] phar://C:/pmmp/PocketMine-MP.phar/src/PocketMine.)
--- Previous ---
RuntimeException: "SOFe\Capital\Loader\Loader took more than 5 seconds to initialize (blocking classes: SOFe\Capital\Loader\Loader, SOFe\Capital\Transfer\Mod, SOFe\Capital\Capital, SOFe\Capital\Database\Database, SOFe\Capital\Analytics\Mod, SOFe\Capital\Analytics\Single\Mod, SOFe\Capital\Analytics\Top\Mod, SOFe\Capital\Analytics\Top\DatabaseUtils, SOFe\Capital\Migration\Mod, SOFe\Capital\Migration\DatabaseUtils)" (EXCEPTION) in "plugins/Capital_dev-156.phar/src/SOFe/Capital/Di/Context" at line 78
  #0 (): SOFe\Capital\Di\Context->SOFe\Capital\Di\{closure}()
  #1 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(402): Generator->send(array[2])
  #2 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(215): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\{closure}()
  #3 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(200): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->wakeup(object Closure#21895)
  #4 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(403): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#21895)
  #5 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/AwaitChild(52): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\AwaitChild#26414)
  #6 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(189): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\AwaitChild->resolve(array[2])
  #7 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(472): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await::SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\{closure}(null)
  #8 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(247): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->resolve(null)
  #9 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(224): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->wakeup(object Closure#25171)
  #10 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(456): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#25171)
  #11 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/AwaitChild(52): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\AwaitChild#26420)
  #12 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/AwaitStd(38): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\AwaitChild->resolve()
  #13 pmsrc/src/scheduler/ClosureTask(57): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\AwaitStd->SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\{closure}()
  #14 pmsrc/src/scheduler/TaskHandler(123): pocketmine\scheduler\ClosureTask->onRun()
  #15 pmsrc/src/scheduler/TaskScheduler(141): pocketmine\scheduler\TaskHandler->run()
  #16 pmsrc/src/plugin/PluginManager(498): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(int 101)
  #17 pmsrc/src/Server(1815): pocketmine\plugin\PluginManager->tickSchedulers(int 101)
  #18 pmsrc/src/Server(1704): pocketmine\Server->tick()
  #19 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
  #20 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[8] C:\pmmp\, string[16] C:\pmmp\plugins\)
  #21 pmsrc/src/PocketMine(328): pocketmine\server()
  #22 pmsrc(11): require(string[52] phar://C:/pmmp/PocketMine-MP.phar/src/PocketMine.)
--- End of exception information ---
SOF3 commented 2 years ago

Can you enable debug logging? Set debug.level to 2 in pocketmine.yml

Nerahikada commented 2 years ago
[00:49:59.540] [Server thread/INFO]: Loading server configuration
[00:49:59.562] [Server thread/INFO]: Selected English (eng) as the base language
[00:49:59.567] [Server thread/INFO]: Starting Minecraft: Bedrock Edition server version v1.19.30
[00:49:59.573] [Server thread/INFO]: Online mode is enabled. The server will verify that players are authenticated to Xbox Live.
[00:49:59.668] [Server thread/DEBUG]: Server unique id: 1c8edbb1-861b-375c-912e-21fea8f7cd74
[00:49:59.724] [Server thread/DEBUG]: Machine unique id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[00:49:59.726] [Server thread/INFO]: This server is running PocketMine-MP version 4.9.1
[00:49:59.726] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
[00:50:00.015] [Server thread/INFO]: Loading resource packs...
[00:50:00.015] [Server thread/DEBUG]: Successfully loaded 0 resource packs
[00:50:00.054] [AsyncWorker#0 thread/DEBUG]: Set memory limit to 256 MB
[00:50:00.074] [Server thread/INFO]: Loading InfoAPI v1.2.0
[00:50:00.079] [Server thread/DEBUG]: Successfully resolved hard dependency "InfoAPI" for plugin "Capital"
[00:50:00.079] [Server thread/INFO]: Loading Capital v0.1.2
[00:50:00.081] [Server thread/INFO]: Enabling Capital v0.1.2
[00:50:00.085] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Di\Context
[00:50:00.087] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\AwaitStd
[00:50:00.087] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Plugin\MainClass
[00:50:00.131] [Server thread/INFO]: Preparing world "world"
[00:50:00.148] [Server thread/INFO]: Enabling InfoAPI v1.2.0
[00:50:00.171] [Server thread/DEBUG]: Waiting for RakLib to start...
[00:50:00.195] [Server thread/DEBUG]: RakLib booted successfully
[00:50:00.202] [Server thread/INFO]: Minecraft network interface running on 0.0.0.0:19132
[00:50:00.202] [Server thread/INFO]: Default game type: Survival Mode
[00:50:00.202] [Server thread/INFO]: If you find this project useful, please consider donating to support development: https://patreon.com/pocketminemp
[00:50:00.203] [Server thread/INFO]: Done (0.665s)! For help, type "help" or "?"
[00:50:00.211] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Loader\Loader
[00:50:00.212] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Config\Mod
[00:50:00.212] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Config\Mod
[00:50:00.213] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Schema\Mod
[00:50:00.214] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Schema\TypeRegistry
[00:50:00.214] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Schema\TypeRegistry
[00:50:00.214] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Schema\Mod
[00:50:00.215] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Database\Mod
[00:50:00.215] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Database\Mod
[00:50:00.217] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Transfer\Mod
[00:50:00.218] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Transfer\Config
[00:50:00.220] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Config\Raw
[00:50:00.223] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Config\Raw
[00:50:00.225] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Config\Raw] Start loading configs
[00:50:00.226] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Config\Raw] Loaded config SOFe\Capital\Database\Config
[00:50:00.228] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Config\Raw] Loaded config SOFe\Capital\Schema\Config
[00:50:00.237] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Config\Raw] Loaded config SOFe\Capital\Analytics\Config
[00:50:00.240] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Config\Raw] Loaded config SOFe\Capital\Transfer\Config
[00:50:00.242] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Config\Raw] Loaded config SOFe\Capital\Migration\Config
[00:50:00.245] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Transfer\Config
[00:50:00.247] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Capital
[00:50:00.252] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Database\Database
[00:50:00.252] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Database\Config
[00:50:00.253] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Database\Config
[00:50:00.292] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Initializing SQlite database
[00:50:00.292] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE TABLE IF NOT EXISTS capital_acc (\n id TEXT PRIMARY KEY,\n value INTEGER NOT NULL,\n touch TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP\n ); | Args: []
[00:50:00.292] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE INDEX IF NOT EXISTS capital_acc_touch ON capital_acc(touch); | Args: []
[00:50:00.293] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE TABLE IF NOT EXISTS capital_acc_label (\n id TEXT NOT NULL,\n name TEXT NOT NULL,\n value TEXT NOT NULL,\n PRIMARY KEY (id, name),\n FOREIGN KEY (id) REFERENCES capital_acc(id) ON DELETE CASCADE\n ); | Args: []
[00:50:00.293] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE INDEX IF NOT EXISTS capital_acc_label_kv ON capital_acc_label(name, value); | Args: []
[00:50:00.293] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE TABLE IF NOT EXISTS capital_tran (\n id TEXT PRIMARY KEY,\n src TEXT NULL,\n dest TEXT NULL,\n value INTEGER NOT NULL,\n created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n FOREIGN KEY (src) REFERENCES capital_acc(id) ON DELETE SET NULL,\n FOREIGN KEY (dest) REFERENCES capital_acc(id) ON DELETE SET NULL\n ); | Args: []
[00:50:00.294] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE INDEX IF NOT EXISTS capital_tran_created ON capital_tran(created); | Args: []
[00:50:00.294] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE TABLE IF NOT EXISTS capital_tran_label (\n id CHAR(36) NOT NULL,\n name VARCHAR(255) NOT NULL,\n value VARCHAR(255) NOT NULL,\n PRIMARY KEY (id, name),\n FOREIGN KEY (id) REFERENCES capital_tran(id) ON DELETE CASCADE\n ); | Args: []
[00:50:00.294] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE INDEX IF NOT EXISTS capital_tran_label_kv ON capital_tran_label(name, value); | Args: []
[00:50:00.295] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE TABLE IF NOT EXISTS capital_analytics_top_cache (\n query CHAR(32) NOT NULL,\n group_value VARCHAR(255) NOT NULL,\n metric DOUBLE NULL,\n last_updated TIMESTAMP NOT NULL,\n last_updated_with CHAR(32) NOT NULL,\n PRIMARY KEY (query, group_value)\n ); | Args: []
[00:50:00.295] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE INDEX IF NOT EXISTS capital_analytics_top_cache_top_query ON capital_analytics_top_cache (query, metric); | Args: []
[00:50:00.295] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-0 query: CREATE INDEX IF NOT EXISTS capital_analytics_top_cache_collection ON capital_analytics_top_cache (query, last_updated); -- Used for selecting rows to recompute. | Args: []
[00:50:00.295] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Database\Database] Queuing mode-1 query: CREATE INDEX IF NOT EXISTS capital_analytics_top_cache_updater ON capital_analytics_top_cache (last_updated_with); -- Used in the actual recomputation query. | Args: []
[00:50:00.296] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Schema\Config
[00:50:00.296] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Schema\Config
[00:50:00.297] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Analytics\Mod
[00:50:00.297] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Analytics\Config
[00:50:00.297] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Analytics\Config
[00:50:00.299] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Analytics\Single\Mod
[00:50:00.300] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Analytics\Top\Mod
[00:50:00.303] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Analytics\Top\DatabaseUtils
[00:50:00.304] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Migration\Mod
[00:50:00.304] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Migration\Config
[00:50:00.304] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Initialized SOFe\Capital\Migration\Config
[00:50:00.305] [Server thread/DEBUG]: [Capital] [SOFe\Capital\Di\Context] Loading SOFe\Capital\Migration\DatabaseUtils
[00:50:00.571] [Server thread/DEBUG]: [Update Checker] API reported version is an older version or the same version (4.9.1), not showing notification
[00:50:05.210] [Server thread/CRITICAL]: SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\AwaitException: "Unhandled async exception: SOFe\Capital\Loader\Loader took more than 5 seconds to initialize (blocking classes: SOFe\Capital\Loader\Loader, SOFe\Capital\Transfer\Mod, SOFe\Capital\Capital, SOFe\Capital\Database\Database, SOFe\Capital\Analytics\Mod, SOFe\Capital\Analytics\Single\Mod, SOFe\Capital\Analytics\Top\Mod, SOFe\Capital\Analytics\Top\DatabaseUtils, SOFe\Capital\Migration\Mod, SOFe\Capital\Migration\DatabaseUtils)" (EXCEPTION) in "plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_58655cc4/SOFe/AwaitGenerator/Await" at line 497
--- Stack trace ---
  #0 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_58655cc4/SOFe/AwaitGenerator/Await(244): SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\Await->reject(object RuntimeException#26204)
  #1 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_58655cc4/SOFe/AwaitGenerator/Await(227): SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\Await->wakeup(object Closure#26194)
  #2 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_58655cc4/SOFe/AwaitGenerator/Await(454): SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#26194)
  #3 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_58655cc4/SOFe/AwaitGenerator/AwaitChild(63): SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\AwaitChild#26135)
  #4 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/Mutex(42): SOFe\Capital\Plugin\_58655cc4\SOFe\AwaitGenerator\AwaitChild->reject(object RuntimeException#26204)
  #5 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(461): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\Mutex->SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\{closure}(object RuntimeException#26204)
  #6 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(217): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->reject(object RuntimeException#26204)
  #7 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(200): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->wakeup(object Closure#21895)
  #8 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(403): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#21895)
  #9 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/AwaitChild(52): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\AwaitChild#26208)
  #10 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(189): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\AwaitChild->resolve(array[2])
  #11 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(472): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await::SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\{closure}(null)
  #12 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(247): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->resolve(null)
  #13 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(224): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->wakeup(object Closure#21886)
  #14 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(456): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#21886)
  #15 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/AwaitChild(52): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\AwaitChild#26214)
  #16 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/AwaitStd(38): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\AwaitChild->resolve()
  #17 pmsrc/src/scheduler/ClosureTask(57): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\AwaitStd->SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\{closure}()
  #18 pmsrc/src/scheduler/TaskHandler(123): pocketmine\scheduler\ClosureTask->onRun()
  #19 pmsrc/src/scheduler/TaskScheduler(141): pocketmine\scheduler\TaskHandler->run()
  #20 pmsrc/src/plugin/PluginManager(498): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(int 101)
  #21 pmsrc/src/Server(1815): pocketmine\plugin\PluginManager->tickSchedulers(int 101)
  #22 pmsrc/src/Server(1704): pocketmine\Server->tick()
  #23 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
  #24 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[8] C:\pmmp\, string[16] C:\pmmp\plugins\)
  #25 pmsrc/src/PocketMine(328): pocketmine\server()
  #26 pmsrc(11): require(string[52] phar://C:/pmmp/PocketMine-MP.phar/src/PocketMine.)
--- Previous ---
RuntimeException: "SOFe\Capital\Loader\Loader took more than 5 seconds to initialize (blocking classes: SOFe\Capital\Loader\Loader, SOFe\Capital\Transfer\Mod, SOFe\Capital\Capital, SOFe\Capital\Database\Database, SOFe\Capital\Analytics\Mod, SOFe\Capital\Analytics\Single\Mod, SOFe\Capital\Analytics\Top\Mod, SOFe\Capital\Analytics\Top\DatabaseUtils, SOFe\Capital\Migration\Mod, SOFe\Capital\Migration\DatabaseUtils)" (EXCEPTION) in "plugins/Capital_dev-156.phar/src/SOFe/Capital/Di/Context" at line 78
  #0 (): SOFe\Capital\Di\Context->SOFe\Capital\Di\{closure}()
  #1 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(402): Generator->send(array[2])
  #2 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(215): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\{closure}()
  #3 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(200): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->wakeup(object Closure#21895)
  #4 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/Await(403): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#21895)
  #5 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_469338e7/SOFe/RwLock/_29f5ac4d/SOFe/AwaitGenerator/AwaitChild(52): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\AwaitChild#26208)
  #6 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(189): SOFe\Capital\Plugin\_469338e7\SOFe\RwLock\_29f5ac4d\SOFe\AwaitGenerator\AwaitChild->resolve(array[2])
  #7 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(472): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await::SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\{closure}(null)
  #8 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(247): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->resolve(null)
  #9 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(224): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->wakeup(object Closure#21886)
  #10 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/Await(456): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->wakeupFlat(object Closure#21886)
  #11 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/_7b46c874/SOFe/AwaitGenerator/AwaitChild(52): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\Await->recheckPromiseQueue(object SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\AwaitChild#26214)
  #12 plugins/Capital_dev-156.phar/src/SOFe/Capital/Plugin/_a903796d/SOFe/AwaitStd/AwaitStd(38): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\_7b46c874\SOFe\AwaitGenerator\AwaitChild->resolve()
  #13 pmsrc/src/scheduler/ClosureTask(57): SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\AwaitStd->SOFe\Capital\Plugin\_a903796d\SOFe\AwaitStd\{closure}()
  #14 pmsrc/src/scheduler/TaskHandler(123): pocketmine\scheduler\ClosureTask->onRun()
  #15 pmsrc/src/scheduler/TaskScheduler(141): pocketmine\scheduler\TaskHandler->run()
  #16 pmsrc/src/plugin/PluginManager(498): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(int 101)
  #17 pmsrc/src/Server(1815): pocketmine\plugin\PluginManager->tickSchedulers(int 101)
  #18 pmsrc/src/Server(1704): pocketmine\Server->tick()
  #19 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
  #20 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[8] C:\pmmp\, string[16] C:\pmmp\plugins\)
  #21 pmsrc/src/PocketMine(328): pocketmine\server()
  #22 pmsrc(11): require(string[52] phar://C:/pmmp/PocketMine-MP.phar/src/PocketMine.)
--- End of exception information ---
[00:50:05.214] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[00:50:05.221] [Server thread/EMERGENCY]: Please upload the "C:/pmmp/crashdumps/Mon_Oct_24-23.50.05-AWST_2022.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
[00:50:05.222] [Server thread/EMERGENCY]: Forcing server shutdown
[00:50:05.223] [Server thread/DEBUG]: Disabling all plugins
[00:50:05.223] [Server thread/INFO]: Disabling InfoAPI v1.2.0
[00:50:05.226] [Server thread/INFO]: Disabling Capital v0.1.2
[00:50:05.227] [Server thread/DEBUG]: Unloading all worlds
[00:50:05.227] [Server thread/INFO]: Unloading world "world"
[00:50:05.228] [Server thread/DEBUG]: [World: world] Cancelling unfulfilled generation requests
[00:50:05.230] [Server thread/DEBUG]: Removing event handlers
[00:50:05.231] [Server thread/DEBUG]: Shutting down async task worker pool
[00:50:05.234] [Server thread/DEBUG]: Saving properties
[00:50:05.234] [Server thread/DEBUG]: Closing console
[00:50:05.910] [Server thread/DEBUG]: Stopping network interfaces
[00:50:05.910] [Server thread/DEBUG]: Stopping network interface pocketmine\network\mcpe\raklib\RakLibInterface
[00:50:05.924] [RakLib thread/DEBUG]: Graceful shutdown complete
--- Waiting 114 seconds to throttle automatic restart (you can kill the process safely now) ---