Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank Voice Channel - VoiceStateUpdate packet assertion #49

Closed
xS91D opened this issue Dec 3, 2021 · 3 comments
Closed

Blank Voice Channel - VoiceStateUpdate packet assertion #49

xS91D opened this issue Dec 3, 2021 · 3 comments

Comments

@xS91D
Copy link

xS91D commented Dec 3, 2021

2021-12-03 [18:18:30] [Server thread/CRITICAL]: AssertionError: "Voice Channel '' not found in storage." (EXCEPTION) in "plugins/DiscordBot_v2_0_4.phar/src/JaxkDev/DiscordBot/Plugin/BotCommunicationHandler" at line 153

2021-12-03 [18:18:30] [Server thread/CRITICAL]: #0 plugins/DiscordBot_v2_0_4.phar/src/JaxkDev/DiscordBot/Plugin/BotCommunicationHandler(104): JaxkDev\DiscordBot\Plugin\BotCommunicationHandler->handleVoiceStateUpdate(object JaxkDev\DiscordBot\Communication\Packets\Discord\VoiceStateUpdate)
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #1 plugins/DiscordBot_v2_0_4.phar/src/JaxkDev/DiscordBot/Plugin/Main(254): JaxkDev\DiscordBot\Plugin\BotCommunicationHandler->handle(object JaxkDev\DiscordBot\Communication\Packets\Discord\VoiceStateUpdate)
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #2 plugins/DiscordBot_v2_0_4.phar/src/JaxkDev/DiscordBot/Plugin/Main(112): JaxkDev\DiscordBot\Plugin\Main->tick(integer 34978)
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/scheduler/ClosureTask(61): JaxkDev\DiscordBot\Plugin\Main->JaxkDev\DiscordBot\Plugin\{closure}(integer 34978)
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/scheduler/TaskHandler(137): pocketmine\scheduler\ClosureTask->onRun(integer 34978)
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 34978)
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 34978)
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/Server(2389): pocketmine\plugin\PluginManager->tickSchedulers(integer 34978)
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/PocketMine(330): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[10] /root/SDT/, string[18] /root/SDT/plugins/)
2021-12-03 [18:18:30] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/PocketMine(360): pocketmine\server()```
@JaxkDev
Copy link
Member

JaxkDev commented Dec 3, 2021

Known error this is the second time a different user has reported that assertion firing, will need looking into.

  • Note to self, potentially build a debug file on crashes and just upload that instead of copy paste errors that is close to useless and pings every damn issue.

@JaxkDev JaxkDev changed the title Error crash Blank Voice Channel - VoiceStateUpdate packet assertion Dec 3, 2021
@JaxkDev
Copy link
Member

JaxkDev commented Dec 3, 2021

Reproduced, If a member was in a voice channel before initial storage dump (plugin load) this would fire as it would have no record of the channel the member joined.

@JaxkDev JaxkDev self-assigned this Dec 3, 2021
JaxkDev added a commit that referenced this issue Dec 3, 2021
@JaxkDev
Copy link
Member

JaxkDev commented Dec 3, 2021

Fixed in v2.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants