octgn / OCTGN

Online Card and Tabletop Gaming Network

Home Page:http://www.octgn.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord Wrapper crash upon launching deck editor

opened this issue · comments

When launching the deck editor, a styled crash window is displayed containing this trace:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Octgn.Core.DiscordIntegration.DiscordWrapper.Dispose(Boolean disposing) in K:\OCTGN\octgnFX\Octgn.Core\DiscordIntegration\DiscordWrapper.cs:line 164
   at Octgn.Core.DiscordIntegration.DiscordWrapper.Finalize() in K:\OCTGN\octgnFX\Octgn.Core\DiscordIntegration\DiscordWrapper.cs:line 172

The cause of the crash is an attempt to dispose the null _discord value. The constructor call to create a Discord object fails on this machine with the helpful result "InternalError". It may be because I do not have the electron Discord client installed.