So, I uploaded my server as a zip onto the cloud, to be run on my new machine when I got it.
I get the machine, download the zip, extract it, then attempt to run it, then get a crash. No idea why.
Error output:
at VellumZero.DiscordBot.SendMessage(String text)
at VellumZero.VellumZero.<Initialize>b__24_4(Object sender, EventArgs e)
at Vellum.Automation.ProcessManager.ProcessExited(Object sender, EventArgs e)
at System.Diagnostics.Process.OnExited()
at System.Diagnostics.Process.RaiseOnExited()
at System.Diagnostics.Process.CompletionCallback(Object waitHandleContext, Boolean wasSignaled)
at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context(Object state, Boolean timedOut)
at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context_f(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(_ThreadPoolWaitOrTimerCallback helper, Boolean timedOut)
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at VellumZero.DiscordBot.SendMessage(String text)
at VellumZero.VellumZero.<Initialize>b__24_4(Object sender, EventArgs e)
at Vellum.Automation.ProcessManager.ProcessExited(Object sender, EventArgs e)
at System.Diagnostics.Process.OnExited()
at System.Diagnostics.Process.RaiseOnExited()
at System.Diagnostics.Process.CompletionCallback(Object waitHandleContext, Boolean wasSignaled)
at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context(Object state, Boolean timedOut)
at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context_f(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(_ThreadPoolWaitOrTimerCallback helper, Boolean timedOut)```
So, I uploaded my server as a zip onto the cloud, to be run on my new machine when I got it. I get the machine, download the zip, extract it, then attempt to run it, then get a crash. No idea why. Error output: