CMS Script Runtime Error

Object reference not set to an instance of an object.

Exception Details: System.NullReferenceException

Exception Source: global_code_qukwnyui

Stack Trace:

   at Zynex.CMS.CustomCode.Modul_Veranstaltungskalender.getIcsVeranstaltung(VeranstaltungTermin termin)
   at Zynex.CMS.CustomCode.Modul_Veranstaltungskalender.exportIcs(VeranstaltungTermin termin)
   at Zynex.CMS.CustomCode.Modul_Veranstaltungskalender.Render(DataEntity objDataEntity, Dictionary`2 objCache)
   at Zynex.CMS.Web.HttpHandler.CRMPageProcessor.ProcessRequest(RequestParam rp)