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

Asked by Anonymous
16 years ago.

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

Comment posted by Daniel
16 years ago.
Any word on this? I'm having the same problem. Thanks, Daniel
Comment posted by Dan Letecky
16 years 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.

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.