PepperDash / epi-biamp-tesira

Plugin for controlling Biamp Tesira DSPs from within Essentials.
0 stars 2 forks source link

[BUG]-Hitting a null exception when restarting essentials. #67

Closed jtalborough closed 1 year ago

jtalborough commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

Stacktrace

Include a stack trace of the exception if possible.

469. Error: SimplSharpPro.exe # 2022-08-27 07:56:20  # Exception:SendProgramEventToControlSystem - System.Reflection.TargetInvocationException: TargetInvocationException ---> System.NullReferenceException: NullReferenceException
   at Tesira_DSP_EPI.TesiraDsp.CrestronEnvironment_ProgramStatusEventHandler(ePr470. Error: SimplSharpPro.exe # 2022-08-27 07:56:20  # ogramStatusEventType programEventType)
   at Crestron.SimplSharp.CrestronEnvironment.SetProgramEvent(eProgramStatusEventType programEventType)
   at System.Reflection.RuntimeMethodInfo.InternalInvoke(RuntimeMethodInfo rtmi, Object obj, BindingFlags invo471. Error: SimplSharpPro.exe # 2022-08-27 07:56:20  # keAttr, Binder binder, Object parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess, StackCrawlMark& stackMark)
   at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder472. Error: SimplSharpPro.exe # 2022-08-27 07:56:20  #  binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess, StackCrawlMark& stackMark)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Syst473. Error: SimplSharpPro.exe # 2022-08-27 07:56:20  # em.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at Crestron.SimplSharpPro.CrestronControlSystem.OnProgramEventCallback(eProgramStatusEventType programEventType)
   at Crestron.SimplSharpProInternal.SimplSharpProManager.ak(eProgramSta474. Error: SimplSharpPro.exe # 2022-08-27 07:56:20  # tusEventType A_0)
   at Crestron.SimplSharpProInternal.SimplSharpProManager.ap(Object A_0)
   at Crestron.SimplSharpProInternal.SimplSharpProManager.b()

   at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Bin475. Error: SimplSharpPro.exe # 2022-08-27 07:56:20  # der binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess, StackCrawlMark& stackMark)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at S476. Error: SimplSharpPro.exe # 2022-08-27 07:56:20  # ystem.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at Crestron.SimplSharpPro.CrestronControlSystem.OnProgramEventCallback(eProgramStatusEventType programEventType)
   at Crestron.SimplSharpProInternal.SimplSharpProManager.ak(eProgram477. Error: SimplSharpPro.exe # 2022-08-27 07:56:20  # StatusEventType A_0)
   at Crestron.SimplSharpProInternal.SimplSharpProManager.ap(Object A_0)
   at Crestron.SimplSharpProInternal.SimplSharpProManager.b()

To Reproduce Restart essentials program

TrevorPayne commented 1 year ago

Resolved in latest release (I think - I've been unable to reproduce it again )