Closed TukangM closed 1 year ago
2022-11-07 [11:28:03.773] [Server thread/CRITICAL]: InvalidArgumentException: "Enchantment does not have a mapped ID" (EXCEPTION) in "pmsrc/src/data/bedrock/EnchantmentIdMap" at line 91 --- Stack trace --- #0 pmsrc/src/item/Item(349): pocketmine\data\bedrock\EnchantmentIdMap->toId(object CLADevs\VanillaX\enchantments\types\SharpnessEnchantment#97492) #1 pmsrc/src/item/Durable(132): pocketmine\item\Item->serializeCompoundTag(object pocketmine\nbt\tag\CompoundTag#134234) #2 pmsrc/src/item/Item(237): pocketmine\item\Durable->serializeCompoundTag(object pocketmine\nbt\tag\CompoundTag#134234) #3 pmsrc/src/item/Item(573): pocketmine\item\Item->getNamedTag() #4 plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/EventListener(210): pocketmine\item\Item->equals(object CLADevs\VanillaX\items\types\netherite\NetheriteSword#135464, true) #5 pmsrc/src/inventory/CallbackInventoryListener(65): DaPigGuy\PiggyCustomEnchants\EventListener->DaPigGuy\PiggyCustomEnchants\{closure}(object pocketmine\inventory\PlayerInventory#135753, int 1, object CLADevs\VanillaX\items\types\netherite\NetheriteSword#135888) #6 pmsrc/src/inventory/BaseInventory(342): pocketmine\inventory\CallbackInventoryListener->onSlotChange(object pocketmine\inventory\PlayerInventory#135753, int 1, object CLADevs\VanillaX\items\types\netherite\NetheriteSword#135888) #7 pmsrc/src/inventory/BaseInventory(74): pocketmine\inventory\BaseInventory->onSlotChange(int 1, object CLADevs\VanillaX\items\types\netherite\NetheriteSword#135888) #8 pmsrc/src/inventory/PlayerInventory(116): pocketmine\inventory\BaseInventory->setItem(int 1, object CLADevs\VanillaX\items\types\netherite\NetheriteSword#126112) #9 plugins/MaxEnchants.phar/src/Xenophilicy/MaxEnchants/MaxEnchants(204): pocketmine\inventory\PlayerInventory->setItemInHand(object CLADevs\VanillaX\items\types\netherite\NetheriteSword#137686) #10 plugins/MaxEnchants.phar/src/Xenophilicy/MaxEnchants/MaxEnchants(152): Xenophilicy\MaxEnchants\MaxEnchants->enchantItem(object CLADevs\VanillaX\player\VanillaPlayer#141643, array[3]) #11 pmsrc/src/command/PluginCommand(50): Xenophilicy\MaxEnchants\MaxEnchants->onCommand(object CLADevs\VanillaX\player\VanillaPlayer#141643, object pocketmine\command\PluginCommand#100024, string[7] enchant, array[3]) #12 pmsrc/src/command/SimpleCommandMap(205): pocketmine\command\PluginCommand->execute(object CLADevs\VanillaX\player\VanillaPlayer#141643, string[7] enchant, array[3]) #13 pmsrc/src/Server(1448): pocketmine\command\SimpleCommandMap->dispatch(object CLADevs\VanillaX\player\VanillaPlayer#141643, string[23] enchant t sharpness 400) #14 pmsrc/src/player/Player(1437): pocketmine\Server->dispatchCommand(object CLADevs\VanillaX\player\VanillaPlayer#141643, string[23] enchant t sharpness 400) #15 pmsrc/src/network/mcpe/handler/InGamePacketHandler(754): pocketmine\player\Player->chat(string[24] /enchant t sharpness 400) #16 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#131524) #17 pmsrc/src/network/mcpe/NetworkSession(410): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object CLADevs\VanillaX\network\InGamePacketHandlerX#142476) #18 pmsrc/src/network/mcpe/NetworkSession(373): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#131524, string[45] M./enchant t sharpness 400..K .u...D]...|....) #19 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[91] ....O.K.H.+Q(Q(.H,*.K-.V010`... W...*..E?.k.le`0.......M...C.z..l[.d......$....4) #20 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[92] .....O.K.H.+Q(Q(.H,*.K-.V010`... W...*..E?.k.le`0.......M...C.z..l[.d......$....) #21 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#120099) #22 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}() #23 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() #24 pmsrc/src/Server(1707): pocketmine\snooze\SleeperHandler->sleepUntil(float 1667820483.7362) #25 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor() #26 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[13] /home/aep/pm/, string[21] /home/aep/pm/plugins/) #27 pmsrc/src/PocketMine(328): pocketmine\server() #28 pmsrc(11): require(string[57] phar:///home/aep/pm/PocketMine-MP.phar/src/PocketMine.php) --- End of exception information --- 2022-11-07 [11:28:03.781] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump 2022-11-07 [11:28:03.910] [Server thread/EMERGENCY]: Please upload the "/home/aep/pm/crashdumps/Mon_Nov_7-11.28.03-UTC_2022.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can. 2022-11-07 [11:28:08.976] [Server thread/EMERGENCY]: Failed to communicate with crash archive: Could not resolve host: crash.pmmp.io 2022-11-07 [11:28:08.984] [Server thread/EMERGENCY]: Forcing server shutdown 2022-11-07 [11:28:08.988] [Server thread/INFO]: Disabling ServerTools v0.5.1 2022-11-07 [11:28:08.993] [Server thread/INFO]: Disabling InvSee v2.2.3 2022-11-07 [11:28:08.995] [Server thread/INFO]: Disabling WFT v1.3.5 2022-11-07 [11:28:08.996] [Server thread/INFO]: Disabling MaxEnchants v1.2.4 2022-11-07 [11:28:09.000] [Server thread/INFO]: Disabling VanishV2 v3.1.0 2022-11-07 [11:28:09.005] [Server thread/INFO]: Disabling PurePerms v2.0.2 2022-11-07 [11:28:09.011] [Server thread/INFO]: Disabling Netherite v2.3 2022-11-07 [11:28:09.013] [Server thread/INFO]: Disabling OpList v2.0.2 2022-11-07 [11:28:09.016] [Server thread/INFO]: Disabling DevTools v1.16.0 2022-11-07 [11:28:09.017] [Server thread/INFO]: Disabling GetPing v0.1.0 2022-11-07 [11:28:09.017] [Server thread/INFO]: Disabling RedstoneCircuit v3.0.6 2022-11-07 [11:28:09.018] [Server thread/INFO]: Disabling AntiInstaBreak v1.0.0 2022-11-07 [11:28:09.018] [Server thread/INFO]: Disabling Disguise v1.0.0 2022-11-07 [11:28:09.018] [Server thread/INFO]: Disabling BetterWarps v1.0.0 2022-11-07 [11:28:09.019] [Server thread/INFO]: Disabling PlayerSelectors v2.0.0 2022-11-07 [11:28:09.019] [Server thread/INFO]: Disabling DeviceACM v2.0.0 2022-11-07 [11:28:09.019] [Server thread/INFO]: Disabling ClearLag v2.1.0 2022-11-07 [11:28:09.020] [Server thread/INFO]: Disabling KeepInventory v2.1.4 2022-11-07 [11:28:09.020] [Server thread/INFO]: Disabling KeepExp v0.0.1 2022-11-07 [11:28:09.020] [Server thread/INFO]: Disabling minereset38 v0.0.1 2022-11-07 [11:28:09.029] [Server thread/INFO]: Disabling CustomJoinSound v1.0.3 2022-11-07 [11:28:09.040] [Server thread/INFO]: Disabling Shield v1.12.0 2022-11-07 [11:28:09.041] [Server thread/INFO]: Disabling Sudo v1.2.1 2022-11-07 [11:28:09.041] [Server thread/INFO]: Disabling BlockLagFix v1.7.0 2022-11-07 [11:28:09.042] [Server thread/INFO]: Disabling EasyCommandAutofill v3.0.2 2022-11-07 [11:28:09.042] [Server thread/INFO]: Disabling EasyEdit v2.1.1 2022-11-07 [11:28:09.043] [Server thread/INFO]: Disabling InvCrashFix v0.0.1 2022-11-07 [11:28:09.043] [Server thread/INFO]: Disabling AutoDisableWorlds v1.0.0 2022-11-07 [11:28:09.043] [Server thread/INFO]: Disabling SeeDevice v1.2.0 2022-11-07 [11:28:09.044] [Server thread/INFO]: Disabling VanillaEC v0.0.2 2022-11-07 [11:28:09.044] [Server thread/INFO]: Disabling Spyglass v1.1.0 2022-11-07 [11:28:09.045] [Server thread/INFO]: Disabling SellAll v1.3.0-PM4 2022-11-07 [11:28:09.045] [Server thread/INFO]: Disabling SimpleHubDelay v0.3 2022-11-07 [11:28:09.045] [Server thread/INFO]: Disabling BedrockEconomy v2.0.8 2022-11-07 [11:28:09.046] [Server thread/INFO]: Disabling Freedom v1.0.0 2022-11-07 [11:28:09.046] [Server thread/INFO]: Disabling PiggyCustomEnchants v3.0.8 2022-11-07 [11:28:09.049] [Server thread/INFO]: Disabling MultiWorld v2.0.0-beta1 2022-11-07 [11:28:09.050] [Server thread/INFO]: Disabling SimpleNPC v4.0.1 2022-11-07 [11:28:09.050] [Server thread/INFO]: Disabling RegionProtect v1.1.1 2022-11-07 [11:28:09.051] [Server thread/INFO]: Disabling ScoreHud v7.0.1 2022-11-07 [11:28:09.052] [Server thread/INFO]: Disabling BasicScore v1.2.2 2022-11-07 [11:28:09.052] [Server thread/INFO]: Disabling PiggyCrates v3.0.3 2022-11-07 [11:28:09.052] [Server thread/INFO]: Disabling PurePermsScore v2.0.0 2022-11-07 [11:28:09.053] [Server thread/INFO]: Disabling MultiProtocol v1.0.0-API4beta 2022-11-07 [11:28:09.053] [Server thread/INFO]: Disabling VanillaX v3.5.0 2022-11-07 [11:28:09.054] [Server thread/INFO]: Disabling ChestShop v5.3.5 2022-11-07 [11:28:09.359] [Server thread/INFO]: Disabling PureChat v2.0.2 2022-11-07 [11:28:09.360] [Server thread/INFO]: Disabling SellMe v1.1.0 2022-11-07 [11:28:09.360] [Server thread/INFO]: Disabling EconomyEnchant v1.0.3 2022-11-07 [11:28:09.361] [Server thread/INFO]: TrialShip171896 left the game 2022-11-07 [11:28:09.363] [Server thread/CRITICAL]: InvalidArgumentException: "Enchantment does not have a mapped ID" (EXCEPTION) in "pmsrc/src/data/bedrock/EnchantmentIdMap" at line 91 --- Stack trace --- #0 pmsrc/src/item/Item(349): pocketmine\data\bedrock\EnchantmentIdMap->toId(object CLADevs\VanillaX\enchantments\types\SharpnessEnchantment#97492) #1 pmsrc/src/item/Durable(132): pocketmine\item\Item->serializeCompoundTag(object pocketmine\nbt\tag\CompoundTag#119965) #2 pmsrc/src/item/Item(237): pocketmine\item\Durable->serializeCompoundTag(object pocketmine\nbt\tag\CompoundTag#119965) #3 pmsrc/src/item/Item(662): pocketmine\item\Item->getNamedTag() #4 pmsrc/src/entity/Human(418): pocketmine\item\Item->nbtSerialize(int 10) #5 pmsrc/src/player/Player(2204): pocketmine\entity\Human->saveNBT() #6 pmsrc/src/player/Player(2231): pocketmine\player\Player->getSaveData() #7 pmsrc/src/player/Player(2131): pocketmine\player\Player->save() #8 pmsrc/src/network/mcpe/NetworkSession(555): pocketmine\player\Player->onPostDisconnect(string[133] Server ditutup ato gak crash sih(kalo crash ato restart bilang ke admin di grup , object pocketmine\lang\Translatable#120083) #9 pmsrc/src/network/mcpe/NetworkSession(534): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe\{closure}() #10 pmsrc/src/network/mcpe/NetworkSession(558): pocketmine\network\mcpe\NetworkSession->tryDisconnect(object Closure#120087, string[133] Server ditutup ato gak crash sih(kalo crash ato restart bilang ke admin di grup ) #11 pmsrc/src/network/NetworkSessionManager(79): pocketmine\network\mcpe\NetworkSession->disconnect(string[133] Server ditutup ato gak crash sih(kalo crash ato restart bilang ke admin di grup ) #12 pmsrc/src/Server(1493): pocketmine\network\NetworkSessionManager->close(string[133] Server ditutup ato gak crash sih(kalo crash ato restart bilang ke admin di grup ) #13 pmsrc/src/Server(1676): pocketmine\Server->forceShutdown() #14 pmsrc/src/Server(1573): pocketmine\Server->crashDump() #15 pmsrc/src/Server(1068): pocketmine\Server->exceptionHandler(object InvalidArgumentException#134469) #16 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[13] /home/aep/pm/, string[21] /home/aep/pm/plugins/) #17 pmsrc/src/PocketMine(328): pocketmine\server() #18 pmsrc(11): require(string[57] phar:///home/aep/pm/PocketMine-MP.phar/src/PocketMine.php) --- End of exception information --- 2022-11-07 [11:28:09.367] [Server thread/EMERGENCY]: Crashed while crashing, killing process
OS: Ubuntu 22.04 Linux Deploy (inside android) php: 8.0.24 (compiled https://github.com/TukangM/php-build-scripts-auto/releases/tag/php8) php jit: disabled (not supported)
to reproduce bugs: when i am want enchant sword getting error
/enchant T sharpness 400 (why 400? i used plugin https://poggit.pmmp.io/p/MaxEnchants/1.2.4 to make sword OP)
might be overwrite with VanillaEC
this bug shouldnt occur anymore
OS: Ubuntu 22.04 Linux Deploy (inside android) php: 8.0.24 (compiled https://github.com/TukangM/php-build-scripts-auto/releases/tag/php8) php jit: disabled (not supported)
to reproduce bugs: when i am want enchant sword getting error