Home Unanswered Active Tags New Question

Scheduler: The JsonData instance has to be initialized first (5.8.1956)

Hi,

during DataBinding of a Scheduler the following exception occurs (type == None):

The JsonData instance has to be initialized first

DayPilot.DLL!DayPilot.Json.JsonData.EnsureCollection() Line 891
DayPilot.DLL!DayPilot.Json.JsonData.Count.get() Line 41
DayPilot.DLL!DayPilot.Web.Ui.DayPilotScheduler.decodeResourcesFromJson(DayPilot.Json.JsonData array = {Uninitialized JsonData}) Line 2257
DayPilot.DLL!DayPilot.Web.Ui.DayPilotScheduler.ExecuteEventJSON(string ea = ... Line 2285
DayPilot.DLL!DayPilot.Web.Ui.DayPilotScheduler.System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent(string ea

Asked by Anonymous 2 years ago.
Replies
Any word on this? I'm having the same problem. Thanks, Daniel
Comment posted by Daniel 1 year ago.

It looks like it happens when the Resources collection is empty and you fire a CallBack event. The fix will be included in the next release.

Comment posted by Dan Letecky 1 year ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java