pjz9n-pm-pl / Mission

Give the player a mission!
GNU General Public License v3.0
15 stars 8 forks source link

"Progresses for "DragonfireHD98" not found" #2

Closed ghost closed 4 years ago

ghost commented 4 years ago

Server thread/CRITICAL]: pjz9n\mission\exception\NotFoundException: "Progresses for "DragonfireHD98" not found" (EXCEPTION) in "plugins/Mission_dev-15.phar/src/pjz9n/mission/mission/progress/ProgressList" at line 44

PJZ9n commented 4 years ago

Thank you for using this plugin. Sorry, I tried to fix the problem but couldn't determine the cause. can you provide me with a stack trace of the error?

Example:

[00:00:00] [Server thread/CRITICAL]: pjz9n\mission\exception\NotFoundException: "Progresses for "foo" not found" (EXCEPTION) in "path/to/plugin/src/pjz9n/mission/mission/progress/ProgressList" at line 44
↓
[00:00:00] [Server thread/CRITICAL]: #0 plugins/Mission/src/pjz9n/mission/Main(109): pjz9n\mission\mission\progress\ProgressList::getAll(string[3] foo)
[00:00:00] [Server thread/CRITICAL]: #1 src/pocketmine/plugin/PluginBase(116): pjz9n\mission\Main->onEnable()
[00:00:00] [Server thread/CRITICAL]: #2 src/pocketmine/plugin/PluginManager(552): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[00:00:00] [Server thread/CRITICAL]: #3 src/pocketmine/Server(1787): pocketmine\plugin\PluginManager->enablePlugin(object pjz9n\mission\Main)
[00:00:00] [Server thread/CRITICAL]: #4 src/pocketmine/Server(1773): pocketmine\Server->enablePlugin(object pjz9n\mission\Main)
[00:00:00] [Server thread/CRITICAL]: #5 src/pocketmine/Server(1586): pocketmine\Server->enablePlugins(integer 1)
[00:00:00] [Server thread/CRITICAL]: #6 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /path/to/server/root/, string[24] /path/to/plugins/)
[00:00:00] [Server thread/CRITICAL]: #7 src/pocketmine/PocketMine(304): pocketmine\server()
[00:00:00] [Server thread/CRITICAL]: #8 (11): require(string[64] phar://path/to/server/src/pocketmine/PocketMine.php)
↑
Adam1609 commented 4 years ago

What he means is, when you remove a mission, it will cause crash like this

PJZ9n commented 4 years ago

For the time being, the exception was deleted by this commit, so I'll close it. If you continue to have problems, reopen it.